stdio-client

command
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Command stdio-client launches a JSON-RPC stdio server as a subprocess and talks to it over the child's stdin/stdout. This is the pattern used to consume an MCP-style stdio server.

Run it against the stdio-server example:

go build -o /tmp/rpc-stdio-server ./examples/stdio-server
go run ./examples/stdio-client /tmp/rpc-stdio-server

If no command is given it defaults to running the sibling example via `go run`.

Jump to

Keyboard shortcuts

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