Expand description
optimization-mcp: a Model Context Protocol server over one node root.
The server speaks MCP over stdio, one JSON-RPC message per line. It is
dual-era: requests that carry io.modelcontextprotocol/protocolVersion
in _meta are served statelessly under revision 2026-07-28, with the
Tasks extension (io.modelcontextprotocol/tasks); an initialize
request selects a legacy revision (2025-11-25 and earlier) for the
process. Every tool drives the optimization-run command line, the
runner’s documented interface, so the runner’s validation, idempotency,
admission and recovery rules apply unchanged. The server registers no
workers and initializes no node: that stays with the person who owns the
node.
See the guide’s section Agents and MCP for the tools and their mapping onto the runner.
Structs§
- Ctx
- One request: its era and whether it may be cancelled or report progress.
- Permit
- One of the
MAX_VALIDATIONSvalidation places, given back on drop. - Server