Claude Code now recognizes its own IDE MCP server via a header and fixed ID, driving tool auto-allow
Claude Code can now tell when an MCP (Model Context Protocol) server connection is actually its own IDE integration by reading an x-mcp-server-id header from the server's configuration and comparing it against a fixed, known value. This recognition feeds into decisions like automatically allowing the mcp__ide__executeCode tool and detecting servers that are set up dynamically.
By positively identifying the IDE's own server instead of guessing, Claude Code can safely grant it default permissions (like running code) without prompting, while still treating unrecognized MCP servers cautiously.