Cortex · Configuration & integration
Connect MCP clients and tools
To let an MCP host inspect or steer durable work, connect it to inbound /mcp (Streamable HTTP JSON-RPC), or use cortex-mcp / pi-durable-mcp to forward sequential stdin JSON lines. The proxy retains the server session ID but does not read daemon.json or .env; supply URL/token environment deliberately.
Initialize through the MCP host, enumerate tools/resources, then invoke with explicit seat and conversation identifiers. The inbound schemas and result contracts below summarize the pinned implementation; enumerate the running schemas too rather than assuming CLI flags map one-to-one.
- durable_submit
- durable_inspect
- durable_configure
- durable_fork
- durable_abort
- durable_compact
- durable_classify_system1
Resources expose conversations, transcripts, workflow and task graphs. These are MCP capabilities, not additional CLI commands.
To grant agents tools from another server, inspect mcp-list, then use mcp-mount for an HTTP server or stdio executable. Review the executable, arguments, prefix and permissions first: mounting can start code or contact an external server and makes tools available to the durable registry and codemode sandbox. CLI --args splits on spaces; use the API's array form when argument boundaries matter. Unmounting cannot undo past tool effects.