zhangpanda/gomcp
by Various
The fast, idiomatic way to build MCP servers in Go. Gin-like DX with struct-tag auto schema, middleware, adapters for Gin/OpenAPI/gRPC.
MCP
zhangpanda/gomcp
Added 1 June 2026
Overview
gomcp provides a fast, idiomatic way to build MCP servers in Go. It uses struct-tag auto schema generation and middleware, similar to the Gin web framework. It includes adapters for Gin, OpenAPI, and gRPC.
Best for
Best for
Go developers who want to quickly build MCP servers with a familiar Gin-like pattern
Use cases
- Build MCP servers with Go
- Integrate MCP with existing Gin applications
- Generate MCP schemas automatically from Go structs
How to use
Install
go get github.com/zhangpanda/gomcp Tools exposed
Go
Tested with
Claude Desktop, Cursor, Kiro, VS Code Copilot
Notes
gomcp provides a fast, idiomatic way to build MCP servers in Go. It uses struct-tag auto schema generation and middleware, similar to the Gin web framework. It includes adapters for Gin, OpenAPI, and gRPC.
13 stars on GitHub. Last updated 2026-06-01. Licensed Apache-2.0.
Use cases
- Build MCP servers with Go
- Integrate MCP with existing Gin applications
- Generate MCP schemas automatically from Go structs
Pros
- Gin-like developer experience reduces boilerplate
- Supports multiple adapters for flexibility
- Leverages Go’s performance for high-throughput MCP servers
Cons
- Early stage project with few stars and limited community
- Documentation and examples may be sparse
- Relies on struct tags which can be less flexible than code generation
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Gin-like developer experience reduces boilerplate
- Supports multiple adapters for flexibility
- Leverages Go's performance for high-throughput MCP servers
Cons
- Early stage project with few stars and limited community
- Documentation and examples may be sparse
- Relies on struct tags which can be less flexible than code generation
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.