One shared check now gives the reason MCP servers are blocked
The reasons MCP servers get blocked, such as --strict-mcp-config, --safe-mode or --bare, now come from one shared check, including for subagent frontmatter
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
MCPArea: what it touches
Internal ChangesKind: in v2.1.324,
ImprovementsSection of the release
What
MCP servers are outside services that give Claude Code extra tools. A subagent is a helper agent defined in its own file, and the settings block at the top of that file, called frontmatter, can list MCP servers for it. Some situations stop those servers from loading, and the checks that decide this have moved out of a chain of separate tests into one shared helper. The helper returns the reason MCP is disabled, which can be:
When a subagent's frontmatter MCP servers are skipped, the message still begins Skipping frontmatter MCP servers: blocked by followed by one of these reasons. The labels visible in the code are the same as before.
Why
In practice this looks like a tidy-up: the visible reasons have not changed, but they now come from one place, so the message that says why MCP is disabled is the same wherever it appears. If a subagent's MCP servers are missing, the reason in that message tells you which option or setting blocked them.
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.
Added sinceA small documentation edit on Troubleshooting touched a line naming --safe-mode after this was published.4. Restart with [`claude --safe-mode`](https://code.claude.com/docs/en/cli-reference#cli-flags) to check whether a plugin, MCP server, or hook is the source. If usage drops, see [Debug your configuration](https://code.claude.com/docs/en/de…troubleshootingsee the edit
Added sinceA small documentation edit on CLI reference touched a line naming --bare after this was published.| `--bare` | Minimal mode: skip auto-discovery of your hooks and of skills, custom commands, subagents, installed plugins, MCP servers, auto memory, and CLAUDE.md so scripted calls start faster. Skills in a directory you pass with `--add-d…cli-referencesee the edit
Confirmed sinceAnthropic's documentation has since written up --bare, on Explore the .claude directory.* **Bare mode**: when you run `claude -p` with [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode), Claude Code doesn't run the sweep in that session.claude-directorysee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --bare, on Explore the .claude directory.