Claude Code managed settings: the complete guide, with Jamf
How to deploy Claude Code managed settings to company Macs: managed-settings.json paths, the com.anthropic.claudecode profile for Jamf, server-managed settings, precedence, refresh times, and the managedSourcesBehavior trap.
Updated
Claude Code managed settings are rules your company sets that developers can’t override: deny rules, the sandbox, which MCP servers run, no --dangerously-skip-permissions. Deliver them as a managed-settings.json file, a macOS configuration profile for the com.anthropic.claudecode domain (Jamf, Kandji, Intune), or server-managed settings in the claude.ai admin console. If you use both the console and Jamf, the console wins and Jamf is ignored, unless you set managedSourcesBehavior to merge.
As of November 2026, from Anthropic’s managed settings, server-managed settings and settings reference docs. Part of Keep coding agents safe.
Four ways to deliver them
| Method | Details |
|---|---|
| Server-managed | claude.ai → Organization settings → Claude Code → Managed settings (Team and Enterprise; Owners edit). At startup, then every hour |
| MDM profile | macOS domain com.anthropic.claudecode, or Windows HKLM\SOFTWARE\Policies\ClaudeCode. At startup, then every 30 minutes |
| File | managed-settings.json in a system folder, plus managed-settings.d/*.json. At startup, and when the file changes |
| HKCU registry | Windows, user-writable, so only used when nothing else is present. Every 30 minutes |
File locations:
- 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(the oldC:\ProgramDatapath is no longer read)
Files in managed-settings.d/ merge after the main file, in alphabetical order: lists combine, single values from the later file win. That’s handy for one base file plus a file per team.
What a developer can’t change
Managed settings sit above everything else: --settings on the command line, the project’s .claude/settings.json and settings.local.json, and the user’s ~/.claude/settings.json. Anthropic: “Nothing in your own settings files or --settings overrides a managed key.”
Three exceptions to know:
- A managed
modelis a default, not a lock. Developers can still pass--model. To restrict models, useavailableModels. - A local admin can edit the managed source itself. On Macs where developers are admins, a file is easy to change; a Jamf profile less so.
- They bind Claude Code only. A developer can still type the same command in another terminal. Hard limits like branch protection and production keys live elsewhere.
The managedSourcesBehavior trap
You can deliver policy from more than one place, but by default Claude Code uses only one. The order is: server-managed (claude.ai), then MDM, then the file, then HKCU. With the default "first-wins", “Claude Code uses the highest-ranked source that delivers at least one policy key and ignores the rest rather than merging them”, and it “shows no warning for the sources it skips.”
So if your IT team ships a careful Jamf profile and someone later adds one setting in the claude.ai console, the Jamf profile stops applying. Silently.
To combine them, set this in the highest source you deploy (here, the claude.ai console):
{
"managedSourcesBehavior": "merge"
}
With merge (Claude Code v2.1.242 or later), lists combine and locks take the strictest value. A lower source can’t opt itself in. Anthropic’s advice: turn it on only when every source below the top one is under an administrator’s control.
A few keys are read from every admin source even under first-wins, including env (merged per variable), deniedMcpServers and allowManagedMcpServersOnly. And login keys like forceLoginOrgUUID come from MDM or the file before the console, so set them in both until everyone runs v2.1.299 or later.
Check what’s in effect: run /status in Claude Code. The Setting sources line names the managed source (remote, plist, HKLM, file), and Skipped sources lists any it found but didn’t use.
Deploy with Jamf
Jamf’s generic custom settings route:
- Computers → Configuration Profiles → New.
- Add the Application & Custom Settings payload, choose Upload, and set the preference domain to
com.anthropic.claudecode. - Upload a plist with the same keys as
managed-settings.json: nested settings as dictionaries, lists as arrays. - On the Scope tab, pick a test group first, then everyone.
A starting plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>permissions</key>
<dict>
<key>disableBypassPermissionsMode</key>
<string>disable</string>
<key>deny</key>
<array>
<string>Read(./.env.production)</string>
<string>Read(~/.ssh/**)</string>
<string>Read(~/.aws/**)</string>
<string>Bash(git push --force *)</string>
<string>Bash(git push -f *)</string>
</array>
<key>ask</key>
<array>
<string>Bash(git push *)</string>
<string>Bash(vercel --prod *)</string>
<string>Bash(terraform apply *)</string>
</array>
</dict>
<key>sandbox</key>
<dict>
<key>enabled</key>
<true/>
<key>allowUnsandboxedCommands</key>
<false/>
</dict>
</dict>
</plist>
Note disableBypassPermissionsMode takes the string disable, not true; some AI answers get this wrong. Check a plist with plutil -lint before you upload it. Anthropic keeps templates for Jamf, Kandji, Intune and Group Policy, including a full .mobileconfig; it calls them community-maintained.
Jamf also sells AI Governance (Jamf for Mac Business and Enterprise plans), a form-based policy builder for Claude Code, Codex and other AI tools, deployed through Blueprints (Jamf blog). If you already pay for it, it saves hand-writing plists.
Server-managed settings in claude.ai
Owners on Team and Enterprise paste JSON at Organization settings → Claude Code → Managed settings. Good to know:
- They reach only developers signed in to your claude.ai organization. Bedrock, Vertex or a custom
ANTHROPIC_BASE_URLskip the fetch, and Console API keys belong to another org. - Offline, the cached copy applies. With
forceRemoteSettingsRefresh: true, Claude Code refuses to start without a fresh copy. - They apply to everyone: “Per-group configurations are not yet supported.” For different rules per team, see Different Claude Code permissions per team or role.
- Anthropic’s own warning: on devices you don’t manage, “a user doesn’t need admin or sudo access to bypass them.” Pair them with MDM on company Macs.
Keys worth setting
| Key | What it does |
|---|---|
permissions.disableBypassPermissionsMode | "disable" rejects --dangerously-skip-permissions |
disableAutoMode | "disable" removes auto mode |
allowManagedPermissionRulesOnly | Only your allow, ask and deny rules count |
allowManagedHooksOnly | Only your hooks run |
allowManagedMcpServersOnly | Only MCP servers on your list run |
strictKnownMarketplaces | Which plugin marketplaces people can add |
forceLoginOrgUUID | Only your claude.ai organization can sign in |
availableModels | Which models people can pick |
sandbox.enabled | Commands run in the sandbox |
env | Environment variables, like OpenTelemetry export |
modelPricing | Cost figures at your contracted rates |
Safe default to paste
The coral-safety-kit has team/com.anthropic.claudecode.plist (the plist above, checked with plutil) and the same policy as team/managed-settings.json, validated against Claude Code’s settings schema.
Where Coral fits
Coral doesn’t manage policy today. On each developer’s Mac, Coral shows Claude Code’s permission requests in the notch so people answer in one key instead of reaching for --dangerously-skip-permissions. Free on the Mac.
Coming in Coral Terminal: roles, so one file decides what each person’s agents may do, turned into a Jamf profile per role for Claude Code and Codex.
Questions
Where is the Claude Code managed-settings.json file?
On macOS, /Library/Application Support/ClaudeCode/managed-settings.json. On Linux and WSL, /etc/claude-code/managed-settings.json. On Windows, C:\Program Files\ClaudeCode\managed-settings.json.
How do I deploy Claude Code settings with Jamf?
Create a configuration profile with the Application & Custom Settings payload, domain com.anthropic.claudecode, and upload a plist with the same keys as managed-settings.json. Scope it to a test group first.
Do server-managed settings and Jamf settings merge?
Not by default. Claude Code uses the highest source that sets any policy key, and claude.ai’s server-managed settings rank above Jamf. Set "managedSourcesBehavior": "merge" in the claude.ai settings to combine them.
How do I check which managed settings are active?
Run /status in Claude Code. It names the managed source in use and any sources it skipped. claude doctor shows whether the remote fetch worked.
How do I stop developers using --dangerously-skip-permissions?
Set "permissions": { "disableBypassPermissionsMode": "disable" } in managed settings. Claude Code then rejects the flag.