aarondb/mcp/stdio

mcp/stdio — local MCP stdio transport

Runs the supported MCP surface as newline-delimited JSON-RPC over stdin and stdout. stdout carries protocol responses only; diagnostics use stderr.

Values

pub fn main() -> Nil

Start a local MCP server with a fresh in-memory AaronDB instance.

pub fn parse_request(
  line: String,
) -> Result(server.JsonRpcRequest, json.DecodeError)
pub fn serve(db: process.Subject(transactor.Message)) -> Nil

Serve one JSON-RPC request per stdin line until EOF.

Search Document