What
MCP servers are add-on programs that give Claude Code extra tools. Claude Code now keeps track of the MCP servers that organisation policy turned off and can report them:
- Server loading now returns
deniedByNameandleftOutByLocklists: servers denied by name alone, and servers thatstrictPluginOnlyCustomizationturns off. - The helper that is skipped when
CLAUDE_CODE_SPAWNED_BY_SERVERis set now returnsmcpServersDeniedByName,mcpServersLeftOutByLockanddroppedAdministratorRoute, or an empty result on error. - The first message a session sends to the app that started it gains two optional fields,
mcp_servers_denied_by_nameandmcp_servers_left_out_by_lock. They are marked internal and sent only to sessions that Claude Desktop's Code tab started. - If the list cannot be built, a log message says "Could not list the MCP servers that strictPluginOnlyCustomization turns off; the desktop app will not name them."
- The warning about a plugin server with a duplicate name no longer names the other plugin.
Why
The desktop app can now tell you why an MCP server you configured did not load when your organisation's managed settings blocked it, instead of the server simply being missing.
Names in the bundlestrictPluginOnlyCustomization
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up strictPluginOnlyCustomization, on Desktop application.
* **Your own use**: add the hook to `~/.claude/settings.json` on the remote machine. If your organization limits hooks, as [`allowManagedHooksOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedhooksonly) and [`strictPlug…desktop see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up strictPluginOnlyCustomization, on Desktop application.