Skip to main content
Resource / Definition

What are Claude Code managed settings?

The policy layer that sits above every other Claude Code setting: how it stacks, how it reaches each machine, what to enforce with it, and where it stops.

Scroll for definition
Nolan Sullivan headshotBy Nolan Sullivan, Founding Growth Engineer
Published
Definition

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.json file
  • Arrive from the claude.ai admin console, an MDM profile, the registry, or a managed-settings.json file

Claude Code governanceDefinitionSpeakeasy

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.

How Claude Code decides which setting appliesTwo orderings. The five settings 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. Managed settings come from four sources, ranked: server-managed (claude.ai console) highest, macOS plist or Windows HKLM registry policy high, file-based managed-settings.json medium, and Windows user registry (HKCU) lowest. By default (first-wins), Claude Code uses the highest-ranked source that delivers a policy key and ignores the rest, apart from a set of keys it reads from every admin source.CLAUDE CODE MANAGED SETTINGSHow Claude Code decides which setting appliesFIVE LEVELS, HIGHEST FIRSTMANAGED SOURCES, HIGHEST FIRST01Managed settings02Command line03Project local04Shared project05UserServer-managed (claude.ai console)HIGHESTmacOS plist or Windows HKLM registry policyHIGHFile-based managed-settings.jsonMEDIUMWindows user registry (HKCU)LOWESTBy default (first-wins), Claude Code uses thehighest-ranked source that delivers a policy keyand ignores the rest, apart from a set of keys itreads from every admin source.A key set at a higher level overridesthe same key set lower down.How Claude Code decides which setting appliesTwo orderings. The five settings 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. Managed settings come from four sources, ranked: server-managed (claude.ai console) highest, macOS plist or Windows HKLM registry policy high, file-based managed-settings.json medium, and Windows user registry (HKCU) lowest. By default (first-wins), Claude Code uses the highest-ranked source that delivers a policy key and ignores the rest, apart from a set of keys it reads from every admin source.CLAUDE CODE MANAGED SETTINGSHow Claude Code decideswhich setting appliesFIVE LEVELS, HIGHEST FIRST01Managed settings02Command line03Project local04Shared project05UserA key set at a higher level overridesthe same key set lower down.MANAGED SOURCES, HIGHEST FIRSTHIGHESTServer-managed (claude.ai console)HIGHmacOS plist or Windows HKLMregistry policyMEDIUMFile-based managed-settings.jsonLOWESTWindows user registry (HKCU)By default (first-wins), Claude Code usesthe highest-ranked source that delivers apolicy key and ignores the rest, apartfrom a set of keys it reads from everyadmin source.

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.allow and permissions.deny merge entries from every source, “so developers can extend managed lists but not remove from them.” For fallbackModel, availableModels, and modelPicker, 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 disableClaudeAiConnectors to true keeps connectors disabled even when a managed source sets false.
  • A managed model is a default. A managed model “is a starting default, not a lock; the locks are availableModels and deniedModels.”

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 sourcePriorityPlatforms
Server-managed (claude.ai console)HighestAll
macOS plist or Windows HKLM registry policyHighmacOS, Windows
File-based managed-settings.jsonMediumAll
Windows user registry (HKCU)LowestWindows 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 settingsEndpoint-managed settings
Where you configure themclaude.ai consoleMDM profile, Windows registry, or a managed-settings.json file
How often they updateFetched at startup, refreshed hourlyMDM policy checked every 30 minutes; files reloaded when they change
Tamper resistanceClient-side; on unmanaged devices users don’t need admin rights to bypass themplist and HKLM need admin rights to write; HKCU doesn’t
Reaches cloud sessionsYes, apart from Claude Tag and remote Cowork sessionsNot in Anthropic-hosted environments
Best fitOrganizations without MDM, or users on unmanaged devicesOrganizations 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:

PatternWhat users getHow
Fixed deploymentThe same servers, with no way to add othersmanaged-mcp.json
Provided serversThe remote servers you list, plus their ownmanagedMcpServers
Approved catalogThe approved servers they choose to add; anything else is blockedallowedMcpServers with allowManagedMcpServersOnly: true
Denylist onlyEverything except known-bad serversdeniedMcpServers

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-default ANTHROPIC_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.

Frequently asked questions

What are Claude Code managed settings?

Claude Code managed settings are the settings an organization deploys to every developer's machine. Claude Code applies them above every other level, so no user, project, local, or --settings value overrides them, apart from a few security-sensitive exceptions where a stricter value from a lower level still counts. They carry the same keys as a settings.json file. Organization Owners on Claude for Teams or Claude for Enterprise can set them in the claude.ai console, and IT teams can also deliver them through MDM, the registry, or a managed-settings.json file.

Where is the managed-settings.json file?

The file-based managed-settings.json lives at /Library/Application Support/ClaudeCode/managed-settings.json on macOS, /etc/claude-code/managed-settings.json on Linux and WSL, and C:\Program Files\ClaudeCode\managed-settings.json on Windows. It ranks below server-managed settings and below macOS plist or Windows HKLM registry policy. To confirm a machine is using it, run /status inside Claude Code. The Setting sources line then shows Enterprise managed settings (file).

Can developers override Claude Code managed settings?

For most keys, no. Managed settings sit above the command line, project local, shared project, and user levels, and a higher level overrides the same key set lower down. List settings such as permissions.allow and permissions.deny merge across levels, so developers can add entries to managed lists but can't remove them. For a few restrictive keys, a stricter value from a lower level is still honored. MCP server allowlists from user settings also merge in unless managed settings set allowManagedMcpServersOnly to true.

What is the difference between server-managed and endpoint-managed settings?

Organization Owners configure server-managed settings in the claude.ai console, and Claude Code fetches them at startup and refreshes them hourly. They suit organizations without MDM or users on unmanaged devices, and they also reach cloud sessions in Anthropic-hosted environments, apart from Claude Tag and remote Cowork sessions. Endpoint-managed settings don't reach those environments; they are deployed onto the device through MDM, the registry, or a managed-settings.json file. On MDM-enrolled devices they give stronger guarantees, because the operating system can protect the settings from user modification.

How do you restrict which MCP servers Claude Code can use?

Anthropic documents eight patterns, from disabling MCP to no restrictions. Four cover most needs. A managed-mcp.json file deploys a fixed set of servers that users can't add to. The managedMcpServers key provides remote servers alongside users' own. The allowedMcpServers key with allowManagedMcpServersOnly set to true publishes an approved catalog and blocks everything else. The deniedMcpServers key blocks known-bad servers. A managed-mcp.json file can't be delivered through server-managed settings, so console-based policies use the allowedMcpServers, deniedMcpServers, and managedMcpServers keys instead.

Why aren't my Claude Code managed settings applying?

Anthropic documents several causes. By default Claude Code uses only the highest-ranked managed source that delivers a policy key and silently ignores the rest, apart from a set of keys it reads from every admin source. Server-managed settings are skipped when a session uses a third-party model provider or a non-default ANTHROPIC_BASE_URL, and don't reach sessions authenticated with a Console API key. Cowork and Claude Tag sessions don't receive server-managed settings. Running /status shows which source a session used and which it skipped.

AI everywhere.

Control here.