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 is localhost:8125; override with --host and --port. Note the port is 8125, not the LSP port 8123.

What's exposed

Tools:
ToolPurpose
elideRun the Elide binary itself as a CLI subprocess. Gated by dev.mcp.registerElide.
run/file, run/snippetRun a source file or an inline snippet.
build/inspect, build/run, build/cancel, build/statusInspect and drive project builds.
insight/runRun an Insight script over guest execution.
Resources: 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