go-sdk
The official Go SDK for Model Context Protocol (MCP), supporting both MCP clients and servers.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 4.7k
- Source
- mcp-github
- Repository
- github.com/modelcontextprotocol/go-sdk
Overview
This SDK is the official software development kit for Model Context Protocol (MCP) in Go. It provides the primary APIs for building and using MCP clients and servers. The SDK includes multiple importable packages such as mcp, jsonrpc, auth, and oauthex. With this SDK, developers can easily create and manage MCP services and support various transport protocols. Ideal for developers looking to integrate MCP functionality into their Go projects.
Capabilities
- ▪Build MCP clients and servers
- ▪Support multiple transport protocols
- ▪Provide OAuth support
- ▪Implement the full MCP specification
Use cases
Setup
go get github.com/modelcontextprotocol/go-sdk
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I get started with the MCP Go SDK?
First install the SDK: go get github.com/modelcontextprotocol/go-sdk, then refer to the example code to create an MCP server or client.
Which MCP versions does the SDK support?
The latest version supports MCP specifications up to and including 2026-07-28.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.