Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

Eval runs fail loudly when managed policy blocks the mock servers

Eval runs stop with a clear policy error when your org's MCP rules block the mock servers.

You'll notice In Development
JSON All of v2.1.242
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Plugin EvalArea: what it touches
In DevelopmentKind: in v2.1.242,
In DevelopmentSection of the release
What

If your organisation's allowedMcpServers or deniedMcpServers settings would block the stand-in servers, the eval run stops with a policy-blocked error instead of quietly starting nothing.

Details
  • The message advises allowlisting the stand-in command for eval runs, or passing --mocks off.
Evidence

mocks: stand-in blocked by managed MCP policy

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Control MCP server access for your organization touched a line naming deniedMcpServers after this was published. * [Server-managed settings](/docs/en/server-managed-settings): deliver `allowedMcpServers` and `deniedMcpServers` from the claude.ai admin console managed-mcp see the edit
Added since A small documentation edit on Control MCP server access for your organization touched a line naming allowedMcpServers after this was published. * [Server-managed settings](/docs/en/server-managed-settings): deliver `allowedMcpServers` and `deniedMcpServers` from the claude.ai admin console managed-mcp see the edit
Confirmed since Anthropic's documentation has since written up deniedMcpServers, on Claude Code changelog. * Fixed `allowManagedMcpServersOnly`, `deniedMcpServers` and `disableClaudeAiConnectors` set via MDM or `managed-settings.json` being ignored when server-managed settings are also present changelog see the edit
Confirmed since Anthropic's documentation has since written up allowedMcpServers, on All settings. | Restriction allowlists | Takes the list whole from the highest source that sets it, without adding entries from lower sources. When the highest source doesn't set one, takes it whole from the next source down | [`availableModels`](#avail… settings-reference see the edit
Confirmed since Anthropic's documentation has since written up --mocks, on Plugins reference. | `--mocks <mode>` | `record` or `off`. See [Mock MCP servers](/docs/en/plugin-evals#mock-mcp-servers) | `record` | plugins-reference see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --mocks, on Plugins reference.
The name it cites is new in this buildNew in this build: --mocks

See this entry in the whole of v2.1.242 →

Feedback