{"version":"2.1.329","anchor":"tengu-tidy-lake-session-id-attached-to-mcp-toolscall","canonical_anchor":"tengu-tidy-lake-session-id-attached-to-mcp-toolscall","heading":"MCP tool calls can carry the Claude Code session ID","tier":"soon","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/tengu-tidy-lake-session-id-attached-to-mcp-toolscall","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### MCP tool calls can carry the Claude Code session ID\n\nBehind a server switch that is off by default, Claude Code adds its session ID to the requests it sends when calling an MCP tool\n\n**Unclear.** Which MCP servers receive the session ID is not clear.\n\n**What**\n\nMCP servers are outside programs that give Claude Code extra tools. When Claude Code calls one of their tools, it can now add the ID of the current session (one Claude Code conversation) to the request. The ID goes in the request's `_meta` field, under the key `claudecode\/sessionId`. This depends on a server-controlled switch, `tengu_tidy_lake`, which stays off unless it is switched on remotely.\n\n**Why**\n\nWith this on, an MCP server can tell which of its calls came from the same Claude Code session.\n\n- Flag `tengu_tidy_lake`: Not enough to say (read for one account on one subscription tier against v2.1.329; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: MCP\n- Names: `tengu_tidy_lake`, `claudecode\/sessionId`\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}