Documentation
¶
Overview ¶
@sk-task mcp-stdio-server docs: runnable Go example
This example demonstrates using an agent as an MCP server over stdio. It creates an agent with a simple calculator tool, starts the stdio server, sends JSON-RPC requests, and prints the responses.
Usage:
go run ./examples/features/mcp-stdio/
Click to show internal directories.
Click to hide internal directories.