Skip to main content

Module server

Module server 

Source
Expand description

The MCP server. Reads newline-delimited JSON-RPC requests from stdin, dispatches to the tool registry, writes responses to stdout.

Trace output goes to stderr (already the default for tracing-subscriber), so log lines don’t corrupt the protocol channel.

Structs§

Server

Functions§

serve
Convenience entry: install log capture + build server with defaults + serve. This is what user apps call from their "mcp" subcommand case.