go-mcp-server
by cbrgm·★ 6·Score 37
A learning MCP server in Go that implements tea-related tools, resources, and prompts with stdio and HTTP transport options.
Overview
The go-mcp-server is a complete implementation of the MCP 2025-03-26 specification in Go, specifically designed as a learning project to explore the protocol. It implements full MCP capabilities including tools for tea information retrieval, resources for tea collections, and prompts for personalized recommendations. The server supports multiple transport protocols (stdio and HTTP with SSE) and includes a web UI when running in HTTP mode. It's well-documented with clear examples for both development and production usage.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Go developers looking for a complete example of MCP implementation for learning purposes or as a template for domain-specific servers.
When NOT to choose this
For production use cases, as the author explicitly states this is for learning only and recommends using mcp-go or the official MCP Go SDK instead.
Tools this server exposes
3 tools extracted from the READMEgetTeaNamesList all available teas
getTeaInfoGet detailed tea information and brewing instructions
getTeasByTypeFilter teas by type (Green Tea, Black Tea, Oolong Tea, White Tea)
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/cbrgm/go-mcp-server.git
cd go-mcp-server- Build the binary:
go build ./cmd/go-mcp-server- Run the server:
# Default stdio transport
./go-mcp-server
# HTTP transport
./go-mcp-server -transport http -port 8080**Claude Desktop Configuration:**
{
"mcpServers": {
"tea": {
"command": "go",
"args": ["run", "./cmd/go-mcp-server"],
"cwd": "/path/to/go-mcp-server"
}
}
}Compare go-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.