Skip to content

MCP tools

analects mcp (stdio) and a hosted peer (<url>/mcp, streamable HTTP) serve four tools. Each takes an op and the same arguments as the CLI command it mirrors, plus who to act as a handle or handle/agent.

Tool What it is for
read everything that reads: briefs, current values, history, queries, resolution, scopes and sweeps, gaps, SQL, the audit trail
check a document and the facts extracted from it, checked against the graph and the page; writes nothing
write everything that stages: events, claims, relations, entities, imports, scopes and sweeps, refreshes, bundles
review what is staged, and the decisions: merge, reject, confirm a match, the review queue

The full list of ops per tool, and the CLI command each mirrors, is the table in the design's surfaces section. Writes through MCP follow the same rules as the CLI: every value cites an event, quotes are checked, and work is staged into the caller's changeset for review.

On a hosted peer some ops are restricted: no file paths on the host, no rebuild, and dataset operations for maintainers only (host a peer).