Skip to main content

handle_mcp_beat

Function handle_mcp_beat 

Source
pub(crate) async fn handle_mcp_beat(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<BeatRequest>,
) -> Response
Expand description

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.