Documentation
¶
Overview ¶
Command stdio-server is an MCP server that speaks the protocol over stdin/stdout (newline-delimited JSON-RPC 2.0). This is the transport a host launches as a subprocess.
Run it directly and pipe a request in:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | go run ./examples/stdio-server
Or drive it from the stdio-client example.
Click to show internal directories.
Click to hide internal directories.