Skip to main content

Module mcp_health

Module mcp_health 

Source
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§

SelfRequest 🔒

Functions§

handle_mcp_heal 🔒
POST /api/v1/agent/self/mcp-heal: 202 healing when 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 🔒