mcp-robot
by makarski·★ 1·Score 31
Go-based MCP server SDK with type-safe tool definitions, fluent API, and automatic validation.
Overview
MCP Robot is a Go library for implementing MCP servers, following Go conventions and inspired by the standard net/http package. It currently supports tools with HTTP and Stdio transport options, providing automatic input validation, type-safe tool definitions through generics, and rich result types including text, media, structured data, and resource links. The library is actively in development with plans to add resources, prompts, and enhanced validation features in future releases.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Teams developing MCP servers in Go who need type safety, fluent API, and a Go-native approach following standard Go patterns.
When NOT to choose this
Projects requiring full MCP protocol support (resources, prompts) or non-Go ecosystems, as this SDK currently only implements tools.
Tools this server exposes
1 tool extracted from the READMEget_weatherlocation (string, required), celsius (boolean, optional)Get current weather for a location
Comparable tools
Installation
go get github.com/makarski/mcp-robotFor Claude Desktop, add to your config.json:
{
"mcpServers": {
"mcp-robot": {
"command": "go",
"args": ["run", "github.com/makarski/mcp-robot"],
"env": {}
}
}
}FAQ
- What MCP features are currently supported?
- Currently only tools are supported. Resources, prompts, and other MCP features are planned for future releases.
- What transport methods are supported?
- The library supports both HTTP and Stdio transport for MCP servers.
Compare mcp-robot with
Last updated · Auto-generated from public README + GitHub signals.