Skip to content
BENIBIX Learn

allowManagedMcpServersOnly

AI⌨️ Claude CodeConfiguration

Also known as allowManagedMcpServersOnly setting

The key that makes IT's MCP allow list the only one.

Think of it like

It is like only the head of the house writing the guest list. Others may still say who stays out.

Example

Lucy's company lists two servers, but people kept adding more to their own allow lists. IT turns this key on, and only its list counts.

Why it matters

Without it, allow lists from all files join, so anyone can add to the list.

Definition

allowManagedMcpServersOnly is a key for managed settings. With it on, only IT's allow list counts. Claude Code reads that list from managed settings alone. It skips the allow lists in user, project and local files. Deny lists still join from all files. So people can still block a server for themselves.

Example code

json
{
  "allowManagedMcpServersOnly": true,
  "allowedMcpServers": [{ "serverName": "github" }]
}
Only IT's list decides which servers may load.

Common mistake

Expecting it to block people's own deny lists. Those still apply, since they only take away.

Key takeaways

  1. 1
    One allow list. The company's.
  2. 2
    Others skipped. User, project.
  3. 3
    Deny lists still join. From everyone.