Skip to main content

Relationship to MCP

MCP (Model Context Protocol) standardizes how a model talks to tools. ECP (Execution Control Protocol) standardizes how an agent delegates a governed graph of those tools. They stack:
  1. MCP exposes tools (and, later, ECP itself as an MCP server).
  2. The orchestrating agent reasons about an approach.
  3. The agent authors a *.ecp.ts workflow and runs it through the ECP CLI.
  4. ECP records a journal, returns structured errors, and lets the agent repair and rerun.

Complementary, not competing

Use MCP when the model should poke at a live tool. Use ECP when the sequence should be portable, policy-bound, and replayable.

MCP as an ECP plugin

ecp mcp serve exposes the same host as the CLI: meta tools plus one tool per installed capability. See MCP for stdio, HTTP, tool names, and client snippets.

Next steps