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
mantis
Provides security review capabilities for AI coding agents, automatically discovering, reproducing, and fixing vulnerabilities.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
Lightswind-UI-Library
AI-native CLI-first React component library with MCP Server support.
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.