# cairn-editor

The `cairn-editor` binary — a thin HTTP transport over the same MCP
`Session` the [`cairn-mcp-server`](https://crates.io/crates/cairn-mcp-server)
speaks over stdio. It serves the zero-build projectional editor page
(`GET /`) and proxies JSON-RPC (`POST /rpc`) straight to
`Session::handle`. No model logic of its own — a front-end *peer* to
the CLI and MCP server (design.md §7), reusing the addressable
projection substrate (`render_addressed`/`node_at`) and the structural
tools.

```text
cairn-editor [--addr=127.0.0.1:7000] [--store=project.cairn]
```

Open the address in a browser. See the
[workspace README](https://github.com/mybuddyandrew/cairn-lang).

Licensed under Apache-2.0.
