{"version":"2.1.324","anchor":"mcp-oauth-for-agent-declared-servers-passes-a-declared-entry","canonical_anchor":"mcp-oauth-for-agent-declared-servers-passes-a-declared-entry","heading":"Signing in to an agent's own MCP server now uses its declared headers","tier":"notice","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/mcp-oauth-for-agent-declared-servers-passes-a-declared-entry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Signing in to an agent's own MCP server now uses its declared headers\n\nOAuth sign-in for an MCP server declared by an agent now passes along the server's transport, URL, headers and headersHelper\n\n**What**\n\nAn agent definition can declare its own MCP server (an outside tool server that Claude Code connects to). When you sign in to such a server with OAuth, Claude Code now passes along the server's declared details:\n\n- its transport (how Claude Code talks to it)\n\n- its URL\n\n- its headers\n\n- its `headersHelper`, a command that supplies headers\n\nThe details are labelled as belonging to the agent and to the agent they came from. Previously none of these were passed. The message on success is the same: the server will connect when the agent runs.\n\n**Why**\n\nAn MCP server declared by an agent can now be signed in to using the headers and header helper it was declared with.\n\n- Area: MCP\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}