Unclear It is not clear exactly which connection types count as the restricted HTTP mode.
What
claude mcp serve runs Claude Code as an MCP server, so other programs can use its tools. A subagent is a helper Claude starts for a separate task.
mcp servenow loads your agent definitions before it lists tools or answers calls. The Agent tool description includes anAvailable agent types:list, and subagent calls use those definitions. Before, the lists were empty.- The internal restrictions gain
backgroundAgentLaunchDisabledandremoteAgentIsolationDisabled, set bydisableBackgroundAgentLaunch()anddisableRemoteAgentIsolation(). Before, only background tasks, unsandboxed commands and a deadline could be disabled this way. - Background tasks now count as disabled when
backgroundAgentLaunchDisabledis set.CLAUDE_CODE_DISABLE_BACKGROUND_TASKSworks as before. - In the restricted (http) mode of
mcp serve, background-agent launch and remote-agent isolation are both turned off.
Why
Programs connected through claude mcp serve can now see and use your custom subagents. Background agents can be blocked without switching off every background task.
Names in the bundleclaude mcp serve
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 claude mcp serve, on Claude Code changelog.
* Fixed `claude mcp serve` background Bash results not naming the output file, and its tool description promising a notification that never arriveschangelog see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear exactly which connection types count as the restricted HTTP mode.
Anthropic's documentation agrees
Anthropic's documentation has since written up claude mcp serve, on Claude Code changelog.
Anthropic's release notes agree
Fixed the Agent tool in claude mcp serve always reporting no available agents and rejecting every subagent_type