Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Changed code for mcp serve covers end-of-session hooks and a log of recent runs

Code that runs end-of-session hooks and keeps a list of recent runs for mcp serve has changed, but nothing visibly uses it yet

Under the hood Internal Changes
JSON All of v2.1.321
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
MCPArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release

Unclear It is not shown whether anything in Claude Code calls these functions, so it is unclear whether they have any effect yet.

What

This build changes a group of helper functions related to mcp serve, the mode where Claude Code itself acts as an MCP server, an add-on program that offers tools to another app. The functions:

  • Run SessionEnd hooks, the commands you can set to run when a session terminates, and report how that went.
  • Keep a list of recent runs in a file named tool-container-runs.json, except when CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE is self_hosted.
  • Read a piece of extra information attached to a request under the key anthropic/startOnlyFilesOfCall.
Why

This looks like preparation for running mcp serve inside a container, a sealed-off environment on another machine. Until something calls these functions, nothing changes in how Claude Code behaves for you.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not shown whether anything in Claude Code calls these functions, so it is unclear whether they have any effect yet.

See this entry in the whole of v2.1.321 →

Feedback