Claude Code managed settings
Claude Code managed settings are the settings an organization deploys to every developer’s machine. They:
- Apply above every user, project, local, and command-line setting
- Carry the same keys as a
settings.jsonfile - Arrive from the claude.ai admin console, an MDM profile, the registry, or a
managed-settings.jsonfile
Claude Code managed settings are where a platform or IT team sets Claude Code policy for the organization: which tools Claude may run, which Model Context Protocol (MCP) servers and plugins it may load, which hooks run, how developers sign in, which models they can pick, and where telemetry goes. Anthropic’s managed settings documentation covers how to deploy them and how Claude Code combines them.
Public GitHub issues about managed settings report console policies that never reach a session, a precedence order that reads as inconsistent, and requests for stronger enforcement. Most of that confusion traces back to three questions:
- In what order do the settings levels override each other?
- In what order do the managed sources override each other?
- Which sessions does each delivery channel reach?
Managed settings configure one client, Claude Code, one machine at a time. They don’t show what happens across Claude Code, Cursor, and Codex, they don’t say who called which tool, and their MCP lists aren’t tied to directory roles. The Speakeasy AI Control Plane sits on top of them: it uses managed settings to deliver role-based MCP servers and its observability plugin to Claude Code, authorizes each tool call against the caller’s roles, and logs each call with the person and client behind it.
What do Claude Code managed settings cover?
Managed settings use the format developers already know. In Anthropic’s words, every delivery mechanism “carries the same policy keys as a settings.json file, so the settings reference applies to all of them.” Anthropic’s admin setup guide summarizes the scope: managed settings “can lock down tools, sandbox execution, restrict MCP servers and plugin sources, and control which hooks run.”
In practice, that covers:
- Permissions. Which tools Claude may use, whether developers can skip permission prompts, and whether commands run in a sandbox.
- MCP servers. Which servers every user gets, which they may add, and which are blocked.
- Plugins. Which marketplaces plugins may come from, and which plugins every machine installs.
- Hooks. Which hooks run and which URLs HTTP hooks may call.
- Login, providers, and models. Which sign-in method and organization developers must use, which API providers they may use, and which models they can pick.
- Telemetry. Whether Claude Code exports OpenTelemetry data and how much detail it includes.
Some keys only work in managed settings. Anthropic notes that “a handful of keys are only read from managed settings and have no effect when placed in user or project settings files.”
Who edits managed settings depends on the channel. Server-managed settings live in the claude.ai console under Organization settings > Claude Code > Managed settings. They require a Claude for Teams or Claude for Enterprise plan, and the Owner or Primary Owner role to view and edit them. Endpoint-managed settings are deployed by whoever runs the device fleet, as an MDM profile pushed “through Jamf, Intune, Group Policy, or a similar tool,” or as a managed-settings.json file on each machine.
How do managed settings override user and project settings?
Two orderings decide what a session ends up with: the order of the five settings levels, and the order of the managed sources inside the top level.
Across the five levels
Anthropic’s settings documentation lists the levels, highest first: managed settings, command line, project local, shared project, and user. “A key set at a higher level overrides the same key set lower down.”
Three details change what “overrides” means in practice:
- Lists merge. Array settings such as
permissions.allowandpermissions.denymerge entries from every source, “so developers can extend managed lists but not remove from them.” ForfallbackModel,availableModels, andmodelPicker, the managed value replaces lower layers instead of merging. - Some restrictive values win from below. For a few keys whose values restrict a session, Claude Code honors a restrictive value from a lower scope. A project that sets
disableClaudeAiConnectorstotruekeeps connectors disabled even when a managed source setsfalse. - A managed model is a default. A managed
model“is a starting default, not a lock; the locks areavailableModelsanddeniedModels.”
For list keys, then, managed settings define entries every developer gets, and developers can add their own. Two keys close that gap: allowManagedPermissionRulesOnly makes managed settings the only source of permission rules, and allowManagedMcpServersOnly keeps user, project, and local allowlists out of the MCP allowlist.
Within the managed tier
An organization can deliver managed settings from four sources. The admin setup guide ranks them:
| Managed source | Priority | Platforms |
|---|---|---|
| Server-managed (claude.ai console) | Highest | All |
| macOS plist or Windows HKLM registry policy | High | macOS, Windows |
File-based managed-settings.json | Medium | All |
| Windows user registry (HKCU) | Lowest | Windows only |
By default, Claude Code resolves these with “first-wins.” It uses the highest-ranked source that delivers at least one policy key and ignores the rest instead of merging them. The exception is a set of keys it reads from every admin source. It shows no warning for the sources it skips, although /status names the source it used and the ones it skipped. An organization that sets a console policy and an MDM profile and expects the two to combine gets the console policy for most keys.
Claude Code v2.1.242 and later offer an opt-in "merge" mode instead, turned on by setting managedSourcesBehavior to "merge" in the highest-ranked source the organization deploys. It applies every admin source that delivers a policy key and combines them by kind of key:
- On most keys, the higher-ranked source’s value applies.
- Lists union.
- Locks take the strictest value.
How are managed settings delivered: admin console or MDM?
Anthropic describes two delivery channels.
| Server-managed settings | Endpoint-managed settings | |
|---|---|---|
| Where you configure them | claude.ai console | MDM profile, Windows registry, or a managed-settings.json file |
| How often they update | Fetched at startup, refreshed hourly | MDM policy checked every 30 minutes; files reloaded when they change |
| Tamper resistance | Client-side; on unmanaged devices users don’t need admin rights to bypass them | plist and HKLM need admin rights to write; HKCU doesn’t |
| Reaches cloud sessions | Yes, apart from Claude Tag and remote Cowork sessions | Not in Anthropic-hosted environments |
| Best fit | Organizations without MDM, or users on unmanaged devices | Organizations with MDM or endpoint management |
Anthropic recommends endpoint-managed settings where devices are enrolled. They “provide stronger security guarantees because the settings file can be protected from user modification at the OS level.” They “don’t reach cloud sessions in Anthropic-hosted environments,” though, so organizations whose developers run cloud sessions should configure server-managed settings as well.
The file-based managed-settings.json sits at a fixed path on each operating system:
- macOS:
/Library/Application Support/ClaudeCode/managed-settings.json - Linux and WSL:
/etc/claude-code/managed-settings.json - Windows:
C:\Program Files\ClaudeCode\managed-settings.json
Anthropic warns against relying on the Windows user registry (HKCU), which “is writable without elevation, so treat it as a convenience default rather than an enforcement channel.” The plist and HKLM locations, by contrast, “work with any provider and resist tampering because they require admin privileges to write.”
Organizations that mix model providers need both channels. Anthropic’s guidance is to “configure server-managed settings for claude.ai users plus a file-based or plist/registry fallback so other users still receive managed policy.”
On the developer’s machine, the terminal, the VS Code and JetBrains extensions, the desktop app’s Code tab, and Agent SDK sessions read all of the managed sources. To check what a machine received, run /status. Its Setting sources line shows, for example, Enterprise managed settings (file).
Audit log events for console settings changes come through the compliance API or audit log export. The Anthropic account team provides access to both.
What should enterprises control with Claude Code managed settings?
The admin setup guide’s “Decide what to enforce” table lists the controls. The main groups are below, along with telemetry.
Permissions
allowManagedPermissionRulesOnly makes managed settings the only source of Claude Code permission rules, and permissions.disableBypassPermissionsMode disables --dangerously-skip-permissions.
Permission rules alone leave a gap: “Denying WebFetch blocks Claude’s fetch tool, but if Bash is allowed, curl and wget can still reach any URL.” Sandboxing closes it with a network domain allowlist enforced at the OS level, through sandbox.enabled and sandbox.network.allowedDomains.
MCP servers
“By default, anyone running Claude Code can connect any MCP server they choose.” Anthropic’s managed MCP documentation lists eight patterns for changing that, from disabling MCP to no restrictions. Four cover most needs:
| Pattern | What users get | How |
|---|---|---|
| Fixed deployment | The same servers, with no way to add others | managed-mcp.json |
| Provided servers | The remote servers you list, plus their own | managedMcpServers |
| Approved catalog | The approved servers they choose to add; anything else is blocked | allowedMcpServers with allowManagedMcpServersOnly: true |
| Denylist only | Everything except known-bad servers | deniedMcpServers |
The approved catalog needs both keys. “Without allowManagedMcpServersOnly, allowlists from every settings scope merge, including a user’s own ~/.claude/settings.json, so a user can broaden what your allowlist permits.”
A managed-mcp.json file can’t be distributed through server-managed settings, so console policies use the allowedMcpServers, deniedMcpServers, and managedMcpServers keys instead.
These lists decide which servers load but not which tool calls a given person may make. That is the difference between MCP tool allowlists and per-call authorization.
Plugins
A plugin can bundle MCP servers and skills, so plugin sources need the same control as MCP servers. In Anthropic’s plugin documentation, the managed strictKnownMarketplaces allowlist and blockedMarketplaces blocklist “decide which marketplace sources plugins may come from.”
To install plugins across a fleet, extraKnownMarketplaces registers a marketplace on each machine and enabledPlugins names the plugins to install and enable from it.
Hooks
allowManagedHooksOnly restricts which hooks run, and allowedHttpHookUrls restricts the URLs HTTP hooks may call. For a tighter lock, strictPluginOnlyCustomization blocks skills, agents, hooks, and MCP servers from user and project sources, “so they can only come from plugins or managed settings.”
Login and models
forceLoginMethod and forceLoginOrgUUID restrict sign-in to a specific method or Anthropic organization. allowedProviders restricts API providers and availableModels restricts models. minimumVersion sets a version floor for auto-update, and requiredMinimumVersion and requiredMaximumVersion set the version range Claude Code may start in.
Telemetry
Managed settings can turn on OpenTelemetry export for every user. With OTEL_LOG_TOOL_DETAILS=1, tool events include MCP server and tool names, which an organization can aggregate in its collector “to see which servers your users actually connect to.”
What are the limits of managed settings?
Managed settings decide what Claude Code may load and run on each machine. That control has six limits.
Client-side enforcement
Server-managed settings “operate as a client-side control, not a security boundary. On unmanaged devices, a user doesn’t need admin or sudo access to bypass them.” More broadly, “a user who can run a modified client can bypass any client-side control.” Endpoint-managed settings on MDM-enrolled devices are harder for a user to change, but the client still reads and applies them.
One policy per organization
“Settings apply uniformly to all users in the organization. Per-group configurations are not yet supported” in the console. The same applies to plugins: “every plugin key applies to every user who receives the settings.” To give one group a different policy, Anthropic suggests deploying a different file or profile to that group, or running a self-hosted Claude apps gateway, which delivers managed settings per identity provider group.
No MCP registry
“Claude Code doesn’t have a built-in MCP server registry that users can browse and install from.” Allowlists and denylists aren’t one either: “a server still has to be added by a user, a plugin, or your organization before either list applies to it.” Anthropic reviews connectors but “doesn’t security-audit or manage any MCP server.” Recording which servers employees may install, who owns each one, and which environments see them is the job of a central MCP registry.
Uneven reach
Server-managed settings don’t reach every session:
- Sessions bypass them when they use a third-party model provider (through variables such as
CLAUDE_CODE_USE_BEDROCK) or a non-defaultANTHROPIC_BASE_URL. - Sessions authenticated with a Console API key, such as “a CI job that uses your company’s Console API key,” belong to a separate Console organization, so claude.ai settings don’t reach them.
- Cowork sessions never fetch server-managed settings from the console, and Claude Tag sessions don’t receive them.
For the first case, Anthropic’s answer is the file-based or plist/registry fallback described above. On Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry, a self-hosted Claude apps gateway provides the equivalent remote delivery.
Silent blocks
When policy blocks an MCP server, it disappears from /mcp. “When a server silently disappears, the user gets no signal that policy is the reason, so tell affected users which servers are blocked when you roll out a new restriction.”
One client, no per-person access
Managed settings govern Claude Code only. Developers who also use Cursor or Codex need separate controls in each tool, and the OpenTelemetry export covers Claude Code sessions and lands in a collector the organization has to run. The MCP lists decide which servers load, not which tools a given person may call once a server is loaded.
How does Speakeasy work with Claude Code managed settings?
While managed settings control what Claude Code may load and run on each machine, the Speakeasy AI Control Plane decides which MCP servers each role gets, keeps that list current, and records what gets called.
Instead of handing every teammate a server URL and a credential, Speakeasy gives each role one managed bundle. Plugins package MCP servers and skills, are assigned to roles, and publish to a GitHub-backed marketplace that the platform creates and manages. Granting a role access to a server adds the server to that role’s plugin and publishes the update. When directory sync creates a role, Speakeasy creates a matching plugin for it. OAuth servers prompt each person to sign in.
For Claude Code, Speakeasy generates settings that register the marketplace, enable the plugin, and turn on automatic updates. Its “My organization” option applies them to everyone through Claude Code managed settings.
Later access changes flow through the same marketplace. Removing a role’s access removes the server from its plugin, and tool calls are refused right away, even from clients that still hold the older plugin. Authorization happens per call, so a teammate who installs another role’s plugin is refused on tool calls their own roles don’t allow.
The same marketplace serves Cursor, Codex, and Claude Cowork, and Speakeasy’s device agent enforces the observability plugin and MCP configuration for Cursor, Codex, and other coding assistants on each machine. One set of role grants then covers every client, where managed settings cover Claude Code alone.
The same managed settings can carry Speakeasy’s observability plugin and Claude’s OpenTelemetry exporter, which the platform uses to associate Claude sessions with users. Together they are the prerequisite for observability of AI usage across the company: tokens, cost, clients, MCP, and skills. For MCP servers and tools, Speakeasy reports call volumes, failures, and the most used servers, tools, clients, and skills, and its tool logs show each call with the member’s identity and client.
The setup steps are in rolling out MCP servers with plugins and the Anthropic plugin guide. Pushing the observability plugin and telemetry settings through managed settings is covered in tracking Claude Code usage. To see role-based MCP access and per-person tool logs running on top of your own managed settings, talk to us.