cairn-mcp-server
The cairn-mcp-server binary — Cairn's structural authoring surface
for AI agents: a thin JSON-RPC (MCP) transport over
cairn-core. It speaks
initialize / tools/list / tools/call over stdio and exposes the
Section-6 worked-session loop, the stored-tree tools (query_type,
find_references, replace_node, fill_hole, …), whole-module
authoring (define_type, apply_module), the scaffolder
(scaffold_entity, app_skeleton, framework — the Tier-2 splice),
and execution (run, run_module, and run_handler — run and
verify a route(Request)->Response web app over MCP, not merely
type-check it).
Every tool dispatches to the one Core Editor; the server holds no
model logic. See the
workspace README.
Licensed under Apache-2.0.