stdio-server

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command stdio-server is a JSON-RPC 2.0 server that speaks newline-delimited JSON over stdin/stdout. It is the shape of server a parent process launches as a subprocess (as MCP does for stdio servers).

Try it directly by piping a request in:

echo '{"jsonrpc":"2.0","method":"greet","params":{"name":"Ada"},"id":1}' | 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