Skip to content

Project MCP server

Run elide mcp over stdio to give AI agents tools to build projects, run files and snippets, and trace programs inside a project over the Model Context Protocol.

On this page

elide mcp gives AI agents tools to build projects, run code and trace programs inside a project, over stdio.

Terminal
bash
elide mcp
elide mcp --project PATH

Start it in a project directory, or pass --project PATH. To search these docs and report problems, connect the docs MCP server too.

Configure a client

json
{
  "mcpServers": {
    "elide": { "command": "elide", "args": ["mcp"] }
  }
}
utf-8 · json · Lines: 5

Tools

ToolDoes
build/inspectList the project’s build tasks and their options without running them.
build/runStart a build in the background and return a buildId.
build/statusReport the state of a build by buildId.
build/cancelCancel a running build.
run/fileRun a file in any supported language.
run/snippetRun inline code in any supported language.
insight/runRun a script with an Insights script attached and return its events.
elideRun any elide command.

Resources

URIContains
elide://advice/builtinCommon commands and behavior.
elide://insights/apiTypeScript definitions for the Insights API.
The project’s elide.pklThe project manifest.

HTTP mode

elide mcp --mode http (default address localhost:8125) serves the legacy HTTP+SSE transport, not Streamable HTTP, with a token from ELIDE_MCP_TOKEN (random if unset). Prefer stdio.

Was this page helpful?