You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
MCPArea: what it touches
ImprovementsKind: in v2.1.317,
ImprovementsSection of the release
Unclear It is not clear how a client connected to mcp serve asks for the starting directory.
What
mcp serve runs Claude Code as an MCP server, meaning other programs can connect to it and use its tools. Its shell tool, which runs commands on your computer, can now keep a requested starting directory as the working directory for the session. This only happens when the directory is a plain directory inside the folder Claude Code was launched from.
If that directory has since been deleted, the next shell command is refused with a message naming the missing directory. Commands after that start from the launch folder.
Why
The shell tool can now carry its working directory from one call to the next, within those limits. A deleted directory produces a clear error instead of a command running somewhere unexpected.
Read from
Names in the bundleclaude mcp serve
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 clear how a client connected to `mcp serve` asks for the starting directory.