05-mcp

command
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

05-mcp demonstrates composing local and MCP tools and running an agent session.

From the repo root:

OPENAI_API_KEY="sk-..." go run ./examples/05-mcp/main.go

Or copy into a new module (include echo-server/):

mkdir my-agent && cd my-agent && go mod init my-agent
cp -r examples/05-mcp/* . && go get github.com/chinudotdev/pith-sdk@latest
OPENAI_API_KEY="sk-..." go run main.go

Directories

Path Synopsis
Minimal stdio MCP server with an echo tool.
Minimal stdio MCP server with an echo tool.

Jump to

Keyboard shortcuts

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