{"version":"2.1.326","anchor":"sdk-initialize-accepts-mcpservers-and-organization-plugin-di","canonical_anchor":"sdk-initialize-accepts-mcpservers-and-organization-plugin-di","heading":"SDK initialize request accepts mcpServers and organization plugin folders","tier":"use","area":"Agents","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/sdk-initialize-accepts-mcpservers-and-organization-plugin-di","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### SDK initialize request accepts mcpServers and organization plugin folders\n\nSDK hosts can pass mcpServers in the initialize request, a malformed value refuses startup, and organizationPluginDirs is passed through\n\n**What**\n\nThe SDK lets other programs run Claude Code. When such a program, the host, starts Claude Code, it sends an initialize request. That request used to handle only `plugins` and `managedSettings`. It now also takes:\n\n- `mcpServers`, a JSON object of MCP server settings keyed by server name. MCP servers are outside services that give Claude extra tools. If the value is malformed or nested too deeply, Claude Code returns an error such as \"initialize.mcpServers must be a JSON object of MCP server configs keyed by server name.\"\n\n- `organizationPluginDirs`, taken from plugins marked `requiredByOrganization`, which is passed through.\n\nThe startup refusal `managed_settings_not_delivered` now names a malformed `plugins` or `mcpServers` field as its cause, where before it named only `plugins`.\n\n**Why**\n\nSDK hosts can supply MCP servers when Claude Code starts, instead of setting them up afterwards. A bad server list stops startup with a clear error.\n\n- Area: Agents\n- Names: `mcpServers`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}