Expand description
The launch self-test of an agent’s agentmux MCP server (SPEC_AGENT_MCP_SELF_HEAL_2026_10_10.md
§2 and §4.1, signal C): once per agent per AgentMux build, start the server the way Claude Code will,
through the shell prefix and from the entry in the agent’s .mcp.json, and speak the MCP handshake
to it (mcp_probe). The bug this is for (v0.59.19) started fine directly and not through the
prefix, so a probe of the bare entry would have said it was healthy.
It runs in the background while the agent launches and changes nothing about the launch. A failure
is logged and kept for agentmux-mcp doctor (mcp_health::Snapshot::selftest).
Functions§
- launch
- Test the
agentmuxserver of the agent about to launch, once per agent per build, in the background. Called with the environment the CLI will get; without a shell prefix there is nothing to test that the server’s own start would not show.