mcpServerPolicy
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
A new permission-rule source called the cloud-session credential guard joins the existing rule sources.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.257.
In the changelogs
8Releases whose published page names mcpServerPolicy.
-
v2.1.328
MCP server policy is applied when a session's connection is closed
Closing a session's connection now takes the
mcpServerPolicydeny rules into account, and policy errors carry the blocked server's settingsnamed in this entry, found in this entry's text
-
v2.1.327
MCP server policy can report an incomplete check under a new condition
A permission check from
mcpServerPolicycan now be marked incomplete under an extra condition, not only checks from other sourcesfound in this entry's text, named in this entry
-
v2.1.324
MCP server policy no longer auto-approves write tools from artifacts servers
Tools from an artifacts MCP server are auto-approved by mcpServerPolicy only when read-only, so write-capable ones now ask first
found in this entry's text, named in this entry
-
v2.1.318
MCP server policy rules now also produce allow and ask permission rules
Claude Code now merges mcpServerPolicy entries into its always-allow rules and uses them for a set of ask rules
found in this entry's text, named in this entry
-
v2.1.299
Auto mode's MCP write checks gain a server-decided option and accept command rules
Auto mode's check of allowed MCP write tools now accepts rules from a command and adds a server-side decision path that is off by default
found in this entry's text, named in this entry
-
v2.1.295
Auto mode in remote sessions can check allowed MCP write actions
In remote sessions, MCP actions that change things and are allowed by policy can now be passed to auto mode's safety check
named in this entry, found in this entry's text
-
v2.1.257
Cloud-session credential guard added as a permission source
A new permission-rule source called the cloud-session credential guard joins the existing rule sources.
found in this entry's text
-
v2.1.257
New 'hostCredential' permission-decision source and 'consent' tool-envelope key
A hostCredential permission source and a reserved consent envelope key are in place, with nothing yet setting or reading them.
found in this entry's text
First cited
2The earliest release whose published evidence quoted mcpServerPolicy was v2.1.318, 3 Nov 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.