{"version":"2.1.336","anchor":"worktree-removal-prompt-and-mcp-stdin-handling-changed","canonical_anchor":"worktree-removal-prompt-and-mcp-stdin-handling-changed","heading":"MCP servers now have their input closed before they are stopped","tier":"notice","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/worktree-removal-prompt-and-mcp-stdin-handling-changed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### MCP servers now have their input closed before they are stopped\n\nClaude Code now closes an MCP server's input before stopping it, and the worktree removal prompt is put together differently\n\n**What**\n\nMCP servers are separate programs that give Claude extra tools through the Model Context Protocol. When Claude Code stops one it started, it now first closes the program's input channel, then stops it. Before, it stopped the program straight away.\n\nThe prompt that asks \"Remove this worktree?\" is now put together differently. A worktree is an extra working copy of a git repository.\n\n**Why**\n\nClosing the input first can give an MCP server the chance to shut down more cleanly.\n\n- Area: MCP\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}