MCP Server
elide mcp runs a Model Context Protocol server that exposes Elide's tools and resources to AI agents and editors.
Transports
bash
elide mcp # stdio (default)
elide mcp --mode http --host localhost --port 8125 # HTTP- stdio (default) — the server speaks MCP over standard input/output. Most desktop agents expect this; point the client's command at
elide mcp. - HTTP — pass
--mode http. The default bind islocalhost:8125; override with--hostand--port. Note the port is8125, not the LSP port8123.
What's exposed
Tools:| Tool | Purpose |
|---|---|
elide | Run the Elide binary itself as a CLI subprocess. Gated by dev.mcp.registerElide. |
run/file, run/snippet | Run a source file or an inline snippet. |
build/inspect, build/run, build/cancel, build/status | Inspect and drive project builds. |
insight/run | Run an Insight script over guest execution. |
elide://insights/api (the Insight API TypeScript types) and project advice — Elide advice plus the project's .dev/AGENT.md, .dev/CLAUDE.md, or CLAUDE.md when present. The advice resources are gated by dev.mcp.advice.
Only tools and resources are exposed — there are no MCP prompts.
See also
- Connect an IDE — wiring the MCP server and debug protocols into your editor