AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
ToolsCategoriesTrendingNewCompare
Home/
Dev Tooling/
gomcp
gomcp logo

gomcp

Active·★ 14·Apache-2.0·Updated 2026-07-20

GoMCP is a Go framework for building Model Context Protocol servers — described as "Gin for MCP." It provides struct-tag-based automatic JSON schema generation, a full middleware chain (logging, auth, rate limiting, OpenTelemetry), tool groups, and one-line imports for Gin routes, OpenAPI/Swagger specs, and gRPC services. Built-in Bearer/API Key/Basic auth with RBAC and an inspector UI included.

gomcp is currently grouped under Dev Tooling, which makes it easier to evaluate through workflow fit instead of isolated features alone. Based on the available data, it leans most heavily toward Automatic JSON Schema generation from Go struct tags (no manual schema writing) and Building production-grade MCP servers in Go with minimal boilerplate. The listed license is Apache-2.0, which is useful when adoption constraints matter. It also shows measurable community traction with 14 GitHub stars.

#ai#claude#cursor#framework#gin#go#golang#grpc
$ Install
$ go get github.com/zhangpanda/gomcp
↗ Visit site★ GitHub
01

Features

01Automatic JSON Schema generation from Go struct tags (no manual schema writing)
02Full middleware chain: logger, auth, rate limiting, and OpenTelemetry tracing
03One-line import for Gin routes, OpenAPI/Swagger specs, and gRPC services
04Built-in Bearer, API Key, and Basic auth with RBAC support
05Inspector UI and mcptest package for testing included
02

Why choose it

+Automatic JSON Schema generation from Go struct tags (no manual schema writing)
+Building production-grade MCP servers in Go with minimal boilerplate
+Covers 3 supported environments or platforms, which is helpful for broader deployment needs.
+Ships with a public repository and a Apache-2.0 license, which makes adoption and review easier.
03

Trade-offs

!There are at least 8 related tools in the same category, so the best choice is easier to make after side-by-side comparison.
04

Compatibility

Go 1.25+
Go 1.25+
Verified via docs
Claude Desktop
Supported
Verified via docs
Cursor
Supported
Verified via docs
05

Quick start

1
$ go get github.com/zhangpanda/gomcp
06

Use cases

↳Building production-grade MCP servers in Go with minimal boilerplate
↳Exposing existing Gin or gRPC services as MCP tools without rewriting
↳Adding authentication and rate limiting to MCP servers via middleware
07

How it compares

≈gomcp sits in the Dev Tooling category, so it makes more sense to evaluate it alongside tools like fastmcp instead of in isolation.
≈If your main need is closer to "Building production-grade MCP servers in Go with minimal boilerplate", that use case is a better lens for comparison than broad feature checklists alone.
≈gomcp uses a Apache-2.0 license, and community traction are both easier to judge in category context.
08

Alternatives

fastmcp logo
fastmcp★ 26.5k
🚀 The fast, Pythonic way to build MCP servers and clients.
vs →
MCP-Chinese-Getting-Started-Guide logo
MCP-Chinese-Getting-Started-Guide★ 3.5k
Model Context Protocol(MCP) 编程极速入门
vs →
nuclear logo
nuclear★ 18.1k
Streaming music player that finds free music for you
vs →
context-mode logo
context-mode★ 19.1k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 13.6k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 2.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
openagent logo
openagent★ 5.4k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
vs →
plex-mcp-server logo
plex-mcp-server★ 37
Plex MCP Server
vs →
See all alternatives →

Related searches

gomcp AlternativesBest Dev Tooling Tools 2026Open Source Dev Toolinggomcp Tutorialgomcp Vs Competitorsaiclaudecursor

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07How it compares08Alternatives
Stats
GitHub Stars★ 14
Last commit1d ago
StatusActive
LicenseApache-2.0
CategoryDev Tooling
Trend (30d)
+0.5↑ 2.5%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.