The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.
The official Go SDK for the Model Context Protocol, maintained in collaboration with Google, provides everything needed to build MCP servers and clients in Go. The core `mcp` package handles server and client construction, tool registration, and transport management, while separate packages cover raw JSON-RPC transport implementation, OAuth primitives, and OAuth extensions such as ProtectedResourceMetadata. Servers communicate with clients over stdio via `StdioTransport` or subprocess via `CommandTransport`, and tools are registered using typed Go structs with JSON schema annotations derived directly from struct tags. The SDK targets full MCP spec compliance and supports four spec versions dating back to 2024-11-05, with the latest v1.4.0 release adding experimental client-side OAuth against the 2025-11-25 spec. Go developers building MCP-compatible integrations for Claude Desktop, Claude Code, or any MCP-aware host will find this the authoritative starting point, backed by Anthropic and Google rather than a third-party maintainer.
- ✓License: NOASSERTION
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Trusted owner (modelcontextprotocol)
- ✓Mature repo (>1y old)
git clone https://github.com/modelcontextprotocol/go-sdk{
"mcpServers": {
"go-sdk": {
"command": "go-sdk"
}
}
}MCP Servers overview
What people ask about go-sdk
What is modelcontextprotocol/go-sdk?
+
modelcontextprotocol/go-sdk is mcp servers for the Claude AI ecosystem. The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google. It has 4.7k GitHub stars and was last updated today.
How do I install go-sdk?
+
You can install go-sdk by cloning the repository (https://github.com/modelcontextprotocol/go-sdk) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is modelcontextprotocol/go-sdk safe to use?
+
Our security agent has analyzed modelcontextprotocol/go-sdk and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains modelcontextprotocol/go-sdk?
+
modelcontextprotocol/go-sdk is maintained by modelcontextprotocol. The last recorded GitHub activity is from today, with 60 open issues.
Are there alternatives to go-sdk?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy go-sdk to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/modelcontextprotocol-go-sdk)<a href="https://claudewave.com/repo/modelcontextprotocol-go-sdk"><img src="https://claudewave.com/api/badge/modelcontextprotocol-go-sdk" alt="Featured on ClaudeWave: modelcontextprotocol/go-sdk" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。