Docs menu

Integrate

MCP integration

joymux serve --mcp

MCP tools call the shared JoyMuxService (same facade as Unix/stdio/HTTP). Tool errors return a structured JoyMuxErrorEnvelope in structuredContent.

Required tools include runtime status, client register/resume, session CRUD/attach/detach/events/write/resize/close, execute/interrupt/terminate, checkpoint/resume/recovery, and grants/permissions/can.

Event retrieval is cursor-based and bounded (TransportLimits.max_mcp_result_bytes).

Transport is not authority.