Documentation
¶
Overview ¶
Command mcp is a reference MCP server that exposes gains tools over stdio.
This server demonstrates how to expose a gains tool.Registry as an MCP server, allowing MCP clients (like Claude Desktop or other AI assistants) to discover and use the tools.
Usage:
go run ./cmd/mcp
Configuration for Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"gains-tools": {
"command": "go",
"args": ["run", "./cmd/mcp"],
"cwd": "/path/to/gains"
}
}
}
Click to show internal directories.
Click to hide internal directories.