Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.319 ·

MCP servers blocked by managed policy now return the error code mcp_policy_blocked

When organisation policy blocks an MCP server, programs driving Claude Code now get the error code mcp_policy_blocked before any connection is attempted

You'll notice Improvements
JSON All of v2.1.319
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.319,
ImprovementsSection of the release
What

MCP servers are add-ons that give Claude Code extra tools. When a program drives Claude Code through the SDK and asks for something that needs an MCP server blocked by managed policy (settings an organisation deploys), Claude Code now refuses with the error code mcp_policy_blocked before it tries to connect. This covers:

  • mcp_toggle
  • mcp_reconnect
  • mcp_authenticate
  • mcp_read_resource

mcp_read_resource now also records why it failed, either a reserved address or a policy block, before it reports the error. Before, the only MCP error codes listed were mcp_client_registration_unavailable and mcp_redirect_uri_unusable.

The SDK documentation also now notes that deny and ask rules and hook matchers written as mcp__<connectorId> reach that server's tools as well.

Why

A program can now tell a policy block apart from other MCP failures and show the right message, rather than treating it as a connection problem.

See this entry in the whole of v2.1.319 →

Feedback