stdio-server

command
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL