Expand description
The MCP server on a pipe: newline-delimited JSON-RPC in on stdin, the same out on stdout.
Nothing but the protocol may be written to stdout — a stray println! is what breaks a
hand-written MCP server — so everything the server wants to say goes to stderr.
Functions§
- serve
- Answer messages until stdin closes.