go-sdk-inmemory

command
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

README

In-memory Go SDK example

This example runs an MCP server and Tunnel client in one Go process. The MCP server uses the MCP Go SDK's in-memory transport, so it does not bind a local port or launch a stdio child process.

go get github.com/openai/tunnel-client
export CONTROL_PLANE_TUNNEL_ID=tunnel_0123456789abcdef0123456789abcdef
export CONTROL_PLANE_API_KEY=sk-...
go run ./examples/go-sdk-inmemory

The server exposes an echo tool through the configured OpenAI Tunnel.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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