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. |
Click to show internal directories.
Click to hide internal directories.