# allowManagedMcpServersOnly

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** allowManagedMcpServersOnly setting

## Think of it like

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

## 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

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.

## Example code

```json
{
  "allowManagedMcpServersOnly": true,
  "allowedMcpServers": [{ "serverName": "github" }]
}
```

Only IT's list decides which servers may load.

## Why it matters

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

## Common mistake

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

## Three principles

- **One allow list.** The company's.
- **Others skipped.** User, project.
- **Deny lists still join.** From everyone.

## Related terms

- [allowedMcpServers](https://learn.benibix.com/term/ai/allowed-mcp-servers-setting)
- [deniedMcpServers](https://learn.benibix.com/term/ai/denied-mcp-servers-setting)
- [Managed Settings File](https://learn.benibix.com/term/ai/managed-settings-file)

---

Source: https://learn.benibix.com/term/ai/allow-managed-mcp-servers-only-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
