Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.166 ·

/mcp inline control in headless and agent contexts

Entry
JSON All of v2.1.166
EntryKind: in v2.1.166,
ChangesSection of the release
What

The /mcp command now works as a text-producing tool in headless and remote-session contexts, returning status summaries and action results as plain text instead of requiring the interactive terminal panel.

Usage
/mcp                         — show server counts and overall status
/mcp reconnect all           — retry all failed/unauthenticated servers
/mcp reconnect <name>        — reconnect a specific server
/mcp enable <name>           — enable a disabled server
/mcp disable <name>          — disable a server
/mcp enable all              — enable all servers
/mcp disable all             — disable all servers
Details
  • When the terminal panel is unavailable (e.g. in a remote/agent session), /mcp returns readable text such as "4 MCP server(s): 3 connected, 1 not connected."
  • Meaningful error messages for each blocked state: disabled, pending reconnect, needs approval, not found
  • Bulk "all" operations report a count: "Enabled 3 MCP server(s). Run /mcp in the terminal to see status."
Evidence

Full /mcp text handler (search for "Usage: /mcp [reconnect|enable|disable [<server>|all]]")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.166 →

Feedback