Exposes Marea's command tree as an MCP (Model Context Protocol) server.
Loaded as a base plugin, so MCP support is always available
without opting in from marea.yaml. Adds three subcommands
under marea mcp:
marea mcp serve— runs the stdio JSON-RPC loop. The intended entry point forclaude mcp add marea -- marea mcp serve(or any other MCP client). Stdout carries newline- delimited JSON-RPC; stderr carries diagnostics.marea mcp tools— prints the JSON descriptor of every tool the server would expose, for inspection or testing.marea mcp call --tool NAME --json JSON— invokes one tool with the given JSON arguments object and prints the captured output. Useful for debugging without running a real MCP client.
See Marea.Mcp.Tools for the Optimus → JSON Schema mapping and
Marea.Mcp.Runner for the in-process execution model.