Claude Code managed settings are the settings an organization deploys to every developer's machine, and Anthropic's documentation says Claude Code applies them above every other level: nothing in a developer's own settings files, or the --settings flag, overrides a managed key. A company can deliver them from the Claude admin console, through MDM or the Windows registry, or as a managed-settings.json file, and use them to lock permission rules, block bypass mode, pin logins to the company's organization and control which MCP servers and plugins are allowed. This guide covers how they are delivered, how they rank, the keys most teams start with, and what they cannot enforce. It was checked on November 9, 2026 against Anthropic's settings, permissions and server-managed settings documentation.

Why this matters now

Coding agents moved from individual experiments to company rollouts this year, and the questions that follow are about control: who can turn off the permission prompts, which models and MCP servers are allowed, and whether a developer can log in with a personal account on a work machine. On November 9, 2026 a report that a large bank was restricting Claude Code for some staff was one of the most discussed stories on Hacker News. We could not confirm that report with a primary source, so this post does not rely on it. Google autocomplete does show people searching "claude code enterprise policy" and "claude code enterprise rules", and Anthropic's documentation answers most of those questions directly.

The four ways to deliver managed settings

MCP servers that every developer should get can be described in a managed-mcp.json file in the same system directory. The server-managed documentation says that file cannot be distributed through the admin console, and that the allowedMcpServers and deniedMcpServers keys should be delivered there instead.

One limit on reach: the documentation says endpoint-managed files and MDM settings do not reach cloud sessions run by Anthropic. If developers also use those, set the policy in the admin console too.

How managed settings rank

The documented order, highest first, is managed settings, command line, project local (.claude/settings.local.json), shared project (.claude/settings.json), then user settings. Three details change how you write a policy:

Keys most teams start with

These are the settings we would look at first for a company rollout. Each description follows Anthropic's settings reference; the choice of which to use is ours.

A minimal starting file could look like this (ours, built only from keys and rule formats in the documentation):

{
  "allowManagedPermissionRulesOnly": true,
  "permissions": {
    "disableBypassPermissionsMode": "disable",
    "deny": ["Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)"]
  }
}

With allowManagedPermissionRulesOnly on, developers' own allow rules stop working, so you will also need managed allow rules for the commands your teams run every day. Without it, drop that line and the deny list still applies on top of everyone's own rules.

What managed settings cannot enforce

Managed settings also say nothing about what data developers may paste into a prompt, which repositories are in scope or how output is reviewed. Those belong in a written AI use policy that the settings then back up; our AI governance and security audit covers both.

How we approach this

This is our approach, not a rule. For a client rollout we start with a pilot group on server-managed settings: bypass mode disabled, the login pinned to the company organization, deny rules for secret paths, and an MCP allowlist limited to servers someone has reviewed. Project teams keep a committed .claude/settings.json for their own allow rules, and personal approvals stay in an ignored settings.local.json (see our guide to that file). We turn on allowManagedPermissionRulesOnly only after the pilot shows which commands people actually need, because switching it on first tends to send developers looking for workarounds.

Sources: Claude Code, settings, Claude Code, permissions, Claude Code, server-managed settings, Claude Code, managed settings, Claude Code, authentication. All read November 9, 2026. These pages change often and show no last-updated date, so check them before deploying a policy.