Skip to main content

Module mcp

Module mcp 

Source
Expand description

largo mcp — the LOGOS toolchain served over the Model Context Protocol.

MCP is JSON-RPC 2.0 over stdio, one newline-delimited JSON object per line. The entire protocol lives in the pure McpServer::handle_line transition — one input line in, zero or one output line back — so every conformance test drives it in-process; cmd_mcp is only the stdio shell around it. Stdout carries nothing but JSON-RPC; logs go to stderr.

Register with an agent client as:

claude mcp add logos -- largo mcp

Structs§

McpServer
The MCP server state machine.

Functions§

cmd_mcp
Handle largo mcp: serve MCP over stdio until EOF.