{"version":"2.1.327","anchor":"warning-for-sdk-in-process-mcp-servers-in-an-agents-mcpserv","canonical_anchor":"warning-for-sdk-in-process-mcp-servers-in-an-agents-mcpserv","heading":"SDK warns when an agent lists an in-process MCP server it will ignore","tier":"notice","area":"SDK","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/warning-for-sdk-in-process-mcp-servers-in-an-agents-mcpserv","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### SDK warns when an agent lists an in-process MCP server it will ignore\n\nA `createSdkMcpServer()` server in an agent's `mcpServers` is ignored, and the SDK now warns that this will become an error later\n\n**What**\n\nThe Agent SDK lets developers build their own programs on top of Claude Code. With `createSdkMcpServer()` they can create an MCP server, a source of extra tools, that runs inside their own program. If such a server is listed in an agent's `mcpServers`, it is ignored. The SDK now prints a warning with the code `CLAUDE_SDK_AGENT_IN_PROCESS_SERVER` when this happens, saying it will become an error in a later release.\n\n**Why**\n\nDevelopers who set up agents this way now learn why the server's tools are missing, and get notice to change their setup before it starts failing.\n\n- Area: SDK\n- Names: `createSdkMcpServer`, `mcpServers`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}