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.234 ·

Built-in MCP server gains schema validation, cancellation, and an unreachable locked-down HTTP mode

The MCP server you expose now validates tool arguments and aborts work when a client cancels.

You'll notice Notable Nothing to try yet In Development
JSON All of v2.1.234
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
MCPArea: what it touches
In DevelopmentKind: in v2.1.234,
What probably matters to youSection of the release

An "http" transport kind enables a heavily restricted profile, but nothing in this build passes it.

What

The MCP server Claude Code exposes to other tools now checks incoming tool calls against the tool's own schema before dispatch and refuses a mismatch with "arguments failed schema validation" rather than passing raw input through, and it aborts work already running when a client cancels or the server shuts down. The same code now takes a transport kind, and passing "http" turns on a heavily restricted profile. Nothing in this build passes "http": the claude mcp serve command hands the server the stdio transport, so the restricted profile is reachable only by importing the module directly.

Details
  • A request's abort signal is wired to the tool's abort controller with reason "remote-cancel"; closing the server aborts in-flight work with reason "shutdown".
  • Validation and cancellation are live on both transports, so claude mcp serve gets them today.
  • The "http" profile disables background tasks and unsandboxed command execution, and exposes only a fixed allowlist of tools.
  • It also skips the CLAUDE_CODE_SIMPLE tool filter through a new option, so the allowlist rather than that filter decides what is offered.
  • Under that profile the dangerouslyDisableSandbox, run_in_background and _simulatedSedEdit fields are removed from the advertised tool schemas and stripped out of incoming arguments, with a note appended to the result when anything was stripped.
Evidence

[serve-mode] Stripped client-supplied privilege field(s): , _simulatedSedEdit

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

See this entry in the whole of v2.1.234 →

Feedback