# Connect MCP clients and tools

Source: https://usecns.dev/cortex-topic-connect-mcp-clients-and-tools/

[Start here](https://usecns.dev/manual-cortex/)
[CLI commands](https://usecns.dev/commands-cortex/)
[Configuration & integration](https://usecns.dev/cortex-topics/)

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](https://usecns.dev/cortex-topic-inbound-mcp-contracts/) below summarize the pinned implementation; enumerate the running schemas too rather than assuming CLI flags map one-to-one.

* [durable\_submit](https://usecns.dev/cortex-mcp-durable-submit/)
* [durable\_inspect](https://usecns.dev/cortex-mcp-durable-inspect/)
* [durable\_configure](https://usecns.dev/cortex-mcp-durable-configure/)
* [durable\_fork](https://usecns.dev/cortex-mcp-durable-fork/)
* [durable\_abort](https://usecns.dev/cortex-mcp-durable-abort/)
* [durable\_compact](https://usecns.dev/cortex-mcp-durable-compact/)
* [durable\_classify\_system1](https://usecns.dev/cortex-mcp-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](https://usecns.dev/cortex-cli-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.