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

gomcp

Active·★ 13·Apache-2.0·Updated 2026-05-28

The fast, idiomatic way to build MCP servers in Go. Gin-like DX with struct-tag auto schema, middleware, adapters for Gin/OpenAPI/gRPC.

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.

#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

Compatibility

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

Quick start

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

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
05

Alternatives

fastmcp logo
fastmcp★ 25.4k
🚀 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★ 17.7k
Streaming music player that finds free music for you
vs →
context-mode logo
context-mode★ 16.0k
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★ 11.0k
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★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
openagent logo
openagent★ 5.1k
⚡️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 →
awesome-claude logo
awesome-claude★ 250
HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.
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
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 13
Last commit2d 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.