stdio-client

command
v0.21.2 Latest Latest
Warning

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

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

Documentation

Overview

Command stdio-client launches an MCP stdio server as a subprocess and talks to it over the child's stdin/stdout.

Run it against the stdio-server example:

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

With no argument it launches the sibling example via `go run`.

Jump to

Keyboard shortcuts

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