Claude Code managed settings and admin controls

How admins enforce Claude Code policy centrally through server-managed or endpoint-managed settings, control MCP servers and monitor usage, with the gaps a security reviewer must close.

On this page

Can admins enforce Claude Code policy centrally, and on which plan?

An admin who must apply one policy across many developer machines has two routes for centrally enforced settings in Claude Code. The first is server-managed settings, which Owners or Primary Owners configure under Organization settings, Claude Code, Managed settings in the claude.ai console. These are available on Claude for Teams and Claude for Enterprise, so an organization on the Claude Console with API billing or on a third-party cloud platform should confirm which controls it can actually reach before assuming any of them apply. The second route is endpoint-managed settings, delivered through MDM profiles, registry policies or managed settings files. The server-managed settings documentation states that these give stronger guarantees because the operating system can protect the file from user modification.

The decision is which route carries which policy. Server-managed settings are simple to roll out from the console and reach every member of the organization, but they depend on the client fetching them, so the reader should understand how the client behaves when it cannot reach the server. Endpoint-managed settings are harder to deploy but harder for a developer to alter. Most organizations will need both, with the sensitive controls placed on the endpoint layer. Before committing, confirm with Anthropic which plan and console roles your organization holds, and test the chosen settings on a representative set of managed machines.

Two gaps remain after the core settings are in place. MCP servers need an explicit allowlist, because a managed-mcp.json file or an allowedMcpServers policy with allowManagedMcpServersOnly set to true is what makes the admin list authoritative. Telemetry also needs to be locked, since a repository file cannot enable it or change its destination. DeployOpen does not resell Claude Code or sell Anthropic plans, so plan and pricing questions go to Anthropic or your existing reseller, while DeployOpen can help plan, configure and test the policy as a scoped engagement. Review the Claude Code server-managed settings documentation before writing your policy.

Admin control support by plan and delivery method

This table compares which Claude Code admin controls come from the claude.ai console, which need endpoint management, and which depend on components you run yourself. Read the middle column for the plan or delivery path, and the last column for whether you must supply tooling outside Anthropic's products. The main takeaway is that server-managed settings depend on Team or Enterprise, while the strongest guarantees depend on your own device management.

ControlPlan or delivery methodBuilt in or needs outside componentFact source
Server-managed settings from the claude.ai consoleClaude for Teams or Claude for Enterprise, set by Owners or Primary OwnersBuilt in. Configured under Organization settings, Claude Code, Managed settingsClaude Code server-managed settings docs
Endpoint-managed settings via MDM profiles, registry policies or managed settings filesAny Claude Code install where the admin controls the deviceNeeds outside component. Your MDM or OS policy tooling delivers and protects the fileClaude Code server-managed settings docs
Managed-mcp.json for exclusive MCP controlEndpoint file at the OS-specific managed path; an empty server map disables MCPNeeds outside component. Your device management must place and protect the fileClaude Code managed MCP docs
allowedMcpServers with allowManagedMcpServersOnly set to trueAdmin-defined allowlist that becomes authoritative when the flag is trueBuilt in as a settings key, but enforcement depends on managed file deliveryClaude Code managed MCP docs
OpenTelemetry metrics and events via CLAUDE_CODE_ENABLE_TELEMETRY=1Claude Code clients that export telemetry when the variable is setNeeds outside component. An OTLP collector and backend must receive and store the dataClaude Code monitoring docs
Prompt text in telemetry via OTEL_LOG_USER_PROMPTS=1Opt-in content capture; redacted by defaultNeeds outside component. Your collector must store it under your own retention rulesClaude Code monitoring docs
OTLP endpoint lock in managed settingsManaged settings set the destination; repository settings cannot change itBuilt in as a setting, but the receiving collector is outside componentClaude Code monitoring docs

How server-managed and endpoint-managed settings fit together

Managed settings sit at the top of the Claude Code settings hierarchy, so an administrator's policy takes precedence over a developer's own settings files and over --settings values on the command line. The vendor documents list specific exceptions to that precedence, so the reviewer should read the hierarchy section of the server-managed settings documentation before relying on it. The practical question for the security team is which policy lives in which layer. Server-managed settings are configured by Owners or Primary Owners under Organization settings, Claude Code, Managed settings in the claude.ai console, and they are available on Claude for Teams and Claude for Enterprise. Endpoint-managed settings reach the machine through MDM profiles, registry policies or managed settings files. Confirm with your own team which layer each control is set in, and document it.

Server-managed settings are fetched when Claude Code starts, polled hourly, and cached for 24 hours after the last successful fetch. That cache is what keeps a laptop working when the endpoint is offline, but it also means a policy change can take up to a polling cycle to reach a running client and a failed fetch leaves the client on its last good copy until that copy expires. The forceRemoteSettingsRefresh setting changes the failure behavior: when it is enabled, clients exit rather than start without fresh server-managed settings. Test this on a managed machine with the network blocked to confirm that developers get a clear failure and not a silent fallback to defaults.

The vendor documentation states that endpoint-managed settings delivered through MDM profiles, registry policies or managed settings files give stronger guarantees because the operating system can protect the file from user modification. Server-delivered policy depends on the client fetching it, while an OS-protected file is harder for a developer to edit. Repository-level configuration sits lower still. A repository's .claude/settings.json cannot enable telemetry, set its destination or capture content, and an OTLP endpoint set in managed settings locks the destination. Treat any repository file as untrusted input for security-relevant settings, and place those controls in managed layers that developers do not control.

Policy delivery and enforcement path

The diagram starts in the claude.ai console, where Owners or Primary Owners set server-managed settings, and in the endpoint MDM or managed settings file, which the OS can protect from user edits. The client fetches server-managed settings at startup and polls hourly, and cached copies expire 24 hours after the last successful fetch. Managed settings then sit above the user's own settings and repository .claude/settings.json, while the MCP allowlist and telemetry choices are applied on the client. Check which path your fleet uses and whether forceRemoteSettingsRefresh is set.

How admin settings reach the client and which decisions the client enforces.

Decisions to make before choosing server or endpoint delivery

Before you publish a Claude Code policy, decide how it reaches developer machines, who may change it, and what happens when a machine cannot get it. The choices below connect delivery method, startup behavior, MCP scope and telemetry, and each one changes how much a developer can override.

Server or endpoint delivery

Server-managed settings are set in the claude.ai console by Owners or Primary Owners on Team and Enterprise. Endpoint-managed settings arrive through MDM profiles, registry policies or managed settings files. The vendor docs say endpoint delivery gives stronger guarantees because the operating system can protect the file from user edits. Decide which team owns each channel, and confirm who can change console settings, since that person can change policy for every device at once.

Server-managed settings docs

Fail-closed startup on fetch failure

Claude Code fetches server-managed settings at startup and polls hourly. Cached settings expire 24 hours after the last successful fetch. Setting forceRemoteSettingsRefresh makes the client exit instead of starting without fresh settings. Decide whether an offline laptop or a blocked network should stop developers from working, and test the behavior on a machine that cannot reach the console before you enforce it.

MCP server allowlist scope and approval

A managed-mcp.json file gives admins exclusive control over which MCP servers load, and an empty server map disables MCP entirely. With allowManagedMcpServersOnly set to true, allowedMcpServers becomes authoritative. The docs warn that serverName entries are not a security control because users pick server names, so allowlists should match on the server definition. Name an owner who approves each entry and reviews it when a server changes.

Managed MCP docs

OTLP destination ownership

Telemetry is enabled with CLAUDE_CODE_ENABLE_TELEMETRY=1. A repository's .claude/settings.json cannot enable telemetry or choose its destination, and an OTLP endpoint set in managed settings locks the destination. Decide which collector receives data, who operates it, and how long it is kept. Confirm that the collector sits inside the boundary your data rules require before you rely on it for usage reporting.

Monitoring usage docs

Prompt and tool detail capture

Prompt text is redacted unless OTEL_LOG_USER_PROMPTS=1 is set, and tool parameters are logged only when OTEL_LOG_TOOL_DETAILS=1 is set. Each flag stores more sensitive content in your telemetry backend. Decide whether developers' prompts and command parameters may leave the workstation at all, and whether the collector retention period matches that answer. Record the decision in the policy file so it is reviewable.

Enrolling managed devices

Endpoint-managed settings only protect developers if the file cannot be edited by the user. Enroll company laptops in device management so profiles, registry keys and the managed-settings.json file land in system locations: /Library/Application Support/ClaudeCode/ on macOS, /etc/claude-code/ on Linux, or C:\Program Files\ClaudeCode\ on Windows. Confirm that standard users cannot change these paths and that unmanaged or personal machines are either blocked or explicitly excluded.

How the approach changes by situation

When your devices are enrolled in mobile device management, endpoint-managed settings are the strongest option for Claude Code. The server-managed settings documentation notes that MDM profiles, registry policies or managed settings files give stronger guarantees than server delivery because the operating system can protect the file from user modification. Server-managed settings still matter here as a second layer, since they are configured in the claude.ai console and fetched at startup.

  • Deliver the policy file by MDM: place managed settings in the system location your platform uses, and confirm that standard users cannot write to it.
  • Pair MDM with the console: use server-managed settings for policies you change often, and understand that the endpoint file is the one the OS protects.
  • Lock MCP access at the endpoint: deploy a managed MCP file so that only approved servers load.
  • Test precedence on a pilot group: managed settings outrank user settings files and command-line values, with documented exceptions.

Before approval, confirm with your MDM vendor and endpoint team which file paths they can write and whether developers hold local administrator rights that could alter them.

Order of work for a production rollout

This sequence moves Claude Code from a plan decision to a policy that is enforced on every developer machine and monitored after launch. Each step ends with a check you can record, so the security reviewer can see what was tested before staff are switched on.

  1. Confirm plan and console access

    The owner of the Claude Code rollout confirms that the organization is on Claude for Teams or Claude for Enterprise, since server-managed settings are available only on those plans. Owners or Primary Owners then confirm that they can open Organization settings, Claude Code, and Managed settings in the claude.ai console, and they name who else holds that access. The step is done when the admin list is written down and a test user can see the settings page without changing anything yet.

  2. Define the policy baseline and a named owner

    Security and engineering agree on a written baseline of settings to enforce, such as which MCP servers are allowed, whether telemetry is on, and what the endpoint setup must block. One named person is made accountable for changes to that baseline and for approving exceptions. The output is a short policy document that lists each setting, its intended value, and the reason for it, which becomes the reference for every later check.

  3. Choose endpoint delivery for managed machines

    Decide how managed settings reach laptops and workstations. The server-managed settings documentation states that endpoint-managed settings delivered through MDM profiles, registry policies or managed settings files give stronger guarantees, because the operating system can protect the file from user modification. The device team then deploys the policy file to a pilot group of machines and checks that a user cannot edit it. The step closes when the pilot devices show the policy file in its expected location with the expected owner and permissions.

  4. Configure the MCP allowlist and test a non-listed server

    Create the managed MCP configuration in the documented location for each operating system, then set allowManagedMcpServersOnly to true so the admin list is authoritative. Test by adding a server that is not on the list and confirming that Claude Code does not load it. Also note that the documentation warns serverName entries are not a security control, because users choose server names, so the allowlist should be checked by server definition and not by name alone. The step is done when the blocked test server fails to load on a pilot machine.

  5. Enable OpenTelemetry with a chosen destination

    Set CLAUDE_CODE_ENABLE_TELEMETRY to 1 and point the OTLP endpoint at the collector your security operations team has approved. Set the endpoint in managed settings so that a repository's .claude/settings.json cannot change where telemetry goes. Confirm that prompt text stays redacted unless the team has deliberately chosen OTEL_LOG_USER_PROMPTS=1, and that tool parameters are logged only if OTEL_LOG_TOOL_DETAILS=1 is set. The step is done when test sessions appear at the collector with the expected fields and no unexpected content.

  6. Test fail-closed behavior by blocking the fetch

    Block outbound access from a pilot machine to the server-managed settings endpoint, then start Claude Code. Settings are fetched at startup and polled hourly, and cached settings expire 24 hours after the last successful fetch. Check how the client behaves with and without forceRemoteSettingsRefresh set, because that setting makes the client exit instead of starting without the settings. Record which behavior your configuration produces, and only then treat the baseline as enforced.

  7. Set a review cadence for policy and advisories

    Assign a recurring review of the policy baseline, the MCP allowlist, the telemetry destination and the Claude Code version on managed machines. Include the GitHub security advisories for anthropics/claude-code in that review, because users on standard auto-update receive fixes automatically while manual updaters must upgrade themselves. Confirm which install method each managed machine uses. The step closes when the cadence, the owner and the first completed review are recorded in the same document as the baseline.

Evidence a security reviewer asks for

This table lists the artifacts a security reviewer should request before approving Claude Code admin controls, what each one must show, and where it comes from. Read each row as a checklist item: if the artifact cannot be produced on request, the control is not yet proven. Confirm each item against your own tenant and managed machines, not only the documentation.

Evidence itemWhat the reviewer checksWhere it comes from
Policy baseline documentWhich settings are mandated, which are user-adjustable, and which plan (Team or Enterprise) each control depends onWritten baseline owned by IT or security, cross-checked against the server-managed settings documentation
Server-managed settings exportCurrent settings, the named owner (Owner or Primary Owner), and the last change dateOrganization settings, Claude Code, Managed settings in the claude.ai console, exported or screenshotted with date
MDM profile or managed-settings.json deployment recordThat the endpoint file sits in the protected system path, is present on every managed device, and matches the baselineMDM console inventory report and file hash or profile status from the device management system
MCP allowlist and approval recordEach approved server, who approved it, and whether allowManagedMcpServersOnly is true, since serverName entries alone are not a security controlmanaged-mcp.json or allowedMcpServers in the managed location, plus the change ticket that approved each entry
OpenTelemetry configurationThe OTLP destination, that CLAUDE_CODE_ENABLE_TELEMETRY is set, and whether OTEL_LOG_USER_PROMPTS and OTEL_LOG_TOOL_DETAILS are off unless approvedManaged settings file and the collector configuration, confirming the endpoint is locked at the managed tier
Fail-closed startup test resultThat a client with settings unreachable or cache expired exits instead of starting without managed settingsDated test record from a test device showing behavior when the server cannot be reached and forceRemoteSettingsRefresh is enabled
Settings precedence testThat a user settings file or --settings value cannot override a managed value on a test deviceTest record listing the managed key, the conflicting user value and the effective result
Advisory review logEach published advisory affecting Claude Code, its affected and patched versions, and the date your fleet was checkedDated log entries referencing GitHub security advisories for the anthropics/claude-code repository and your device version inventory

Questions buyers ask before approving admin controls

Do server-managed settings for Claude Code require an Enterprise plan?

No. Server-managed settings are available on Claude for Teams and Claude for Enterprise, so a Team plan can use them as well. Owners or Primary Owners configure them under Organization settings, then Claude Code, then Managed settings in the claude.ai console. Confirm with Anthropic which plan features you need beyond managed settings, because plan scope for other controls is covered on separate pages and can differ. Ask for the current plan matrix in writing before you choose a tier.

How much setup effort do Claude Code admin controls take?

Effort depends on how many machines you manage, how many policies you need, and whether you already run an MDM tool. Server-managed settings are configured once in the console and reach clients at startup and through hourly polling. Endpoint-managed settings need a deployment path through MDM profiles, registry policies or a managed settings file on each device, so the work scales with your fleet and your device management maturity. Ask your team to inventory operating systems, device enrollment and current update channels before estimating the rollout.

Can our own administrators configure these controls without outside help?

Often yes, if your console owners and device management team can make the changes and test them. The console setting itself is a short configuration exercise, while the harder work is deciding which rules to enforce, testing that developers still get a working tool, and proving the policy applies on managed machines. The managed-mcp.json file, precedence rules and the fail-closed behavior need someone who reads the documentation carefully. Your team should decide whether it has that capacity before committing to a date.

What would outside help cost, and what drives that cost?

Outside work is priced from a written scope, and DeployOpen does not publish a price list. The main cost drivers are the number of device platforms, whether endpoint policy must be delivered through your MDM, how many MCP servers and telemetry destinations you approve, and whether you need testing evidence for an audit. One-time work covers design, policy build and validation. Recurring costs come from keeping policy current as Claude Code releases change. Ask for a quote that separates these items, states which systems and devices are in scope, and names the deliverables and acceptance tests.

Can a file in a repository override our managed policy?

No, for the settings that matter most. Managed settings sit in the highest tier of the Claude Code settings hierarchy and take precedence over a user's own settings files and --settings values, though the documentation lists exceptions you should read before relying on them. A repository's .claude/settings.json cannot enable telemetry, set its destination or capture content, and an OTLP endpoint set in managed settings locks the destination. Treat serverName entries in an MCP allowlist as a convenience, not a security control, because users choose server names. Test the exceptions in your own environment.

What should we do when a managed machine keeps a stale settings cache?

Start by checking when the device last fetched settings successfully. Claude Code fetches server-managed settings at startup and polls hourly, and cached settings expire 24 hours after the last successful fetch. If a laptop has been offline longer than that, its cache is no longer valid. Settings with forceRemoteSettingsRefresh make the client exit instead of starting without fresh settings, which protects against silent drift but can block developers who are offline. Decide which behavior your risk appetite allows, document the offline procedure for remote staff, and monitor for devices that repeatedly fail to refresh.

What should we ask Anthropic to confirm in writing?

Ask for written confirmation of the plan that includes server-managed settings, the precedence exceptions that apply to your configuration, and how the 24 hour cache expiry and forceRemoteSettingsRefresh behave on your devices. Also ask which version of the endpoint installer or npm package receives automatic updates, since advisories state that manual updaters must upgrade themselves. Request the current security advisory history for Claude Code and the names of the controls that are documented as enforceable. Record the answers in your approval file before rollout.

Where to check each claim

Before you approve any control described on this page, confirm its behavior against the official Claude Code documentation. The server-managed settings page is the source for the claude.ai console controls, the precedence rules, the polling and cache behavior and the fail-closed startup option. Read it alongside the endpoint-managed settings guidance on the same page, because the docs state that MDM profiles, registry policies and managed settings files give stronger guarantees than server delivery. Start with the server-managed settings documentation and record the date you read it.

The managed MCP page is the source for the MCP allowlist behavior, including the file locations for each operating system, what an empty server map does, and the warning that serverName entries are not a security control. Treat that warning as a design input: an allowlist keyed on names a user can choose does not stop a determined user, so pair it with endpoint enforcement. Check the managed MCP documentation for the current key names and the exact behavior of allowManagedMcpServersOnly in the version your fleet runs.

The monitoring page is the source for telemetry behavior, including which variables enable export, which ones log prompt text or tool parameters, and how repository files are prevented from changing the destination. Ask your security team to test each variable on a managed test machine and capture the output, then confirm that content logging stays off unless a documented need exists. Read the monitoring usage documentation and check that the version you deploy matches the behavior described there.

How DeployOpen helps you roll out Claude Code policy safely

DeployOpen plans and implements the policy layer for Claude Code inside your own environment, in fixed-scope engagements agreed in writing before work starts. The work covers which settings are enforced centrally, how endpoints are protected, and what evidence your reviewers can inspect.

How we scope

  • We map which settings must be server-managed and which need endpoint-managed delivery through MDM or a managed settings file.
  • The written scope lists the MCP servers to allow, the telemetry destinations to lock, and the managed devices in each group.
  • Ongoing support, upgrades and continuous testing can be added as a retainer once the fixed-scope work is complete.

How we build

  • We configure server-managed settings in the claude.ai console and deploy managed-settings.json or managed-mcp.json through your MDM tooling.
  • We test precedence, cache behavior and fail-closed startup on representative test machines before any production rollout.
  • We set up OpenTelemetry collection with prompt and tool detail logging only where your written scope approves it.

How we hand over

  • You receive the configuration files, console settings and deployment records, with each setting tied to its stated purpose.
  • Runbooks explain how to check the effective policy on a managed machine and how to respond when a settings fetch fails.
  • We document the residual gaps, such as settings that a user can still change on unmanaged machines, so your reviewers can decide on them.

How we support

  • Retainers cover updates when Anthropic changes settings behavior or publishes new security advisories for Claude Code.
  • We can re-test the managed configuration after client upgrades or changes to your identity provider or MDM platform.
  • Continuous security testing of the agent setup is available as a separate retainer, with its own written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.