MCPAdvancedClaude Code
Close off the MCP risk class with a single key
allowManagedMcpServersOnly blocks every MCP server the admin has not defined, without going server by server.
allowedMcpServers is a list of approved servers; empty means no MCP at all. allowManagedMcpServersOnly goes one level up: only the ones defined by the admin run, and any a developer adds are blocked. OAuth connections have an extra gate: they require Owner approval before enabling per-user access to resources. The list says which servers can exist; consent says what data can be touched.
Example
// managed-settings.json
{
"allowManagedMcpServersOnly": true
}