Skip to content

CLI and MCP quick start

The cortxt CLI is Cortxt’s primary product surface. The MCP server is the external integration surface selected by ADR-024.

Use Python 3.12 or later from a repository checkout:

Terminal window
python -m venv .venv
source .venv/bin/activate
python -m pip install -e ./agent-platform
cortxt --help

On Windows PowerShell, activate with .venv\Scripts\Activate.ps1.

Terminal window
cortxt mcp serve

The server uses standard input/output transport and exposes the read-only MCP tool slice by default. An MCP client starts this command as its server process.

The mandate carries scoped authority such as the issue reference, allowed tools, data-class ceiling, budget, runtime limit, expiry, and scope fingerprint. Private signing keys stay on the operator side; the server receives public keys only.