{"version":"2.1.166","anchor":"mcp-inline-control-in-headless-and-agent-contexts","canonical_anchor":"mcp-inline-control-in-headless-and-agent-contexts","heading":"\/mcp inline control in headless and agent contexts","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.166\/e\/mcp-inline-control-in-headless-and-agent-contexts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.166","markdown":"### `\/mcp` inline control in headless and agent contexts\n\n**What**\n\nThe `\/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.\n\n**Usage**\n\n`\/mcp \u2014 show server counts and overall status \/mcp reconnect all \u2014 retry all failed\/unauthenticated servers \/mcp reconnect <name> \u2014 reconnect a specific server \/mcp enable <name> \u2014 enable a disabled server \/mcp disable <name> \u2014 disable a server \/mcp enable all \u2014 enable all servers \/mcp disable all \u2014 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]]\"`)"}