Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

MCP servers are told which session started them

Local MCP servers now start with CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS set to the current session's id

Use it now Notable New Features
JSON All of v2.1.326
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
MCPArea: what it touches
New FeaturesKind: in v2.1.326,
What probably matters to youSection of the release
What

An MCP server is an outside program that gives Claude Code extra tools. When Claude Code starts one as a local process, it now sets the environment variable CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS to the id of the current session, alongside CLAUDE_CODE_SESSION_ID. A session is one run of Claude Code with its conversation.

Why

An MCP server can now tell which session launched it, which helps when you need to trace its activity back to a particular session.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS

See this entry in the whole of v2.1.326 →

Feedback