Expand description
agentmux-mcp doctor’s two calls (docs/specs/SPEC_AGENT_MCP_SELF_HEAL_2026_10_10.md
§7): what srv knows about the caller’s own agentmux MCP server, and
“repair it now”.
doctor runs in the agent’s shell, which has no MCP signing key (only the
MCP process does), so the caller’s pane comes from its agent token
(actor::own_pane_by_token). There is no target: an agent can only look
at, and heal, its own pane.
Structs§
Functions§
- folder_
rule 🔒 - Whether a host agent in
folder(else the folder of the paneblock_id) gets only the MCP servers AgentMux writes: a container agent can write it, or has run in it (backend::mcp_folder_rule). Yes when that can’t be told, and when there is no folder to ask about. - handle_
mcp_ 🔒beat POST /api/v1/agent/self/mcp-beat: the MCP process says it is alive and how it is doing (agentmux-mcp’s heartbeat.rs). 204 always for a known pane: a beat is never worth an error in the MCP process.- handle_
mcp_ 🔒heal POST /api/v1/agent/self/mcp-heal: 202healingwhen a repair started, else 200 with why not (connected,already_healing,no_status_yet,no_process).- handle_
mcp_ 🔒health POST /api/v1/agent/self/mcp-health- no_pane 🔒
- own_
pane 🔒 - rule_
for 🔒 folder_rulefor the folder that was found, if one was.