canonic mcp starts, stops, and reports on the local MCP daemon that exposes canonic’s capabilities to agent clients. See Connecting your agent for the client-side setup.
mcp start
Start the local MCP daemon.
| Flag | Description |
|---|---|
--project, -p | Path to the canonic project root (overrides the cwd walk). |
--http | Start as a background HTTP daemon instead of the default stdio transport. |
--port | Port for the HTTP daemon (default 7474). |
--host | Host for the HTTP daemon (default 127.0.0.1). |
--suggestions | Enable follow-up suggestions in query responses. |
--http, the daemon runs in the foreground over stdio; the MCP client manages its process lifetime. With --http, it forks a background uvicorn daemon bound to the given host/port.
On first start in a project with no active metric contracts, canonic auto-generates inferred metric contracts from the loaded semantic sources before serving.
mcp stop
Stop the background MCP daemon.
mcp status
Report whether the MCP daemon is running.
canonic mcp stop && canonic mcp start.