Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

MCP servers can be told a session's own directory as their root

The folder list Claude Code gives MCP servers now uses a session's directory when one is set, and the working directory otherwise

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

Unclear When a session has its own directory, and so when the roots differ from the working directory, is not stated.

What

MCP servers are outside programs that give Claude Code extra tools. Claude Code tells each one which folders it may work in, a list called its roots. That list now starts from the current session's own directory when the session has one. When there is no such directory, it falls back to the working directory, which is the folder Claude Code was started in. Before, it always used the working directory.

Why

Where more than one session is running, an MCP server may now be told a different folder than before. If a server seems to be looking in an unexpected place, the session's directory is the place to check.

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 doubtWhen a session has its own directory, and so when the roots differ from the working directory, is not stated.

See this entry in the whole of v2.1.311 →

Feedback