What
A new --plugin-dir-no-mcp flag that loads a plugin directory without also reading its .mcp.json file. Useful when the SDK host already owns and manages the plugin's MCP connections.
Usage
claude --plugin-dir-no-mcp <path>Details
- Behaves exactly like
--plugin-direxcept the engine skips.mcp.json/mcpServersdiscovery for that plugin - Equivalent behavior is also available as a setting:
noMcp: truein the plugin frontmatter - Intended for SDK hosts that register MCP servers themselves rather than delegating to the engine
Evidence
New flag definition and help text (search for "Like --plugin-dir but the engine will not read this plugin's .mcp.json")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed background agents potentially reading another directory's project settings (.mcp.json approvals, trust) when dispatched onto a…