Claude Code allowedMcpServers no longer filters managed MCP servers
From Claude Code 2.1.259, the allowedMcpServers managed setting governs only servers users add. A server in managed-mcp.json that an allowlist used to keep out now loads on upgrade; administrators who relied on that must list it in deniedMcpServers instead.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Action neededIf your organization used allowedMcpServers as the only gate on Claude Code MCP servers, any server in managed-mcp.json that the allowlist kept off will load for every user on upgrade to 2.1.259, with no flag to prevent it. Have an admin audit managed-mcp.json before that version rolls out.
Engineer
What to change, what breaks, what to test Action neededFrom 2.1.259, allowedMcpServers filters only user-added servers. To keep a managed-mcp.json server off, add it to deniedMcpServers. The new managedMcpServers managed setting pushes HTTP and SSE servers to every user using the .mcp.json entry shape; command-based entries are skipped.
General consumer
Using the Claude apps, not the API No impactNothing to do. This is a Claude Code administration change and does not affect the Claude apps.
Claude Code 2.1.259 narrows allowedMcpServers to user-added servers. Previously an allowlist also filtered the organization’s own managed-mcp.json, so a literal server entry there that was absent from allowedMcpServers stayed off. After upgrading, that server loads. To keep it off, add it to deniedMcpServers.
The same release adds the managedMcpServers managed setting, which lets an organization provide HTTP and SSE MCP servers to every user using the same entry shape as .mcp.json; entries that name a command to run are skipped. Together the two changes mean managed servers are governed by the managed configuration and its deny list, while allowedMcpServers is only about what users bring.
This is an upgrade-time change with no flag to restore the old behaviour, so organizations that used allowedMcpServers as the single gate should audit managed-mcp.json before 2.1.259 rolls out to their users.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
allowedMcpServers | changed | yes | |
deniedMcpServers | changed | no | |
managedMcpServers | added | no |
Topics: Agents and tool use, Coding tools