MCP from Cursor
Connect Cursor (or another MCP client) to the local Pytxo orchestrator.
Pytxo exposes orchestration through a local MCP server so Cursor (or any MCP-capable IDE) can start runs, inspect status, and tail logs without replacing your editor.
Install
- Install the CLI (
npm i -g pytxoor a release binary). - Confirm the MCP binary is available. The npm package ships
pytxo-mcpnext topytxo. Find it with:
# npm global (example paths)
which pytxo-mcp # macOS / Linux
where.exe pytxo-mcp # WindowsIf you only have the CLI zip from GitHub Releases, download the matching platform archive that includes pytxo-mcp, or build from source under Developers.
Configure Cursor
Add a local MCP server entry (.cursor/mcp.json or your global MCP config):
{
"mcpServers": {
"pytxo": {
"command": "pytxo-mcp",
"args": [],
"env": {
"PYTXO_REPO": "/absolute/path/to/your/project"
}
}
}
}On Windows, set command to the full path of pytxo-mcp.exe if it is not on PATH. PYTXO_REPO must be the git root where pytxo.toml lives.
What MCP enables
- Trigger runs and dry-runs from the agent context
- Query status and live agents
- Tail structured logs
- Route stdin to live agents
- Start modular project and fleet runs
Full tool list: MCP tools.
Troubleshooting
- Run
pytxo doctorin the target repo before MCP-driven runs. - Keep
pytxoandpytxo-mcpon the same release. - Ensure
.pytxo/data/is writable. - See Troubleshooting for trust blocks and path mismatches.