MCP Go SDK
ActiveDescription
The official Go SDK for the Model Context Protocol, maintained in collaboration with Google, enabling developers to build MCP servers and clients in the Go ecosystem.
Key Features
- Official Go SDK for the Model Context Protocol maintained with Google collaboration
- Full MCP spec implementation supporting latest 2025-11-25 protocol version
- Modular packages: mcp (clients/servers), jsonrpc (custom transports), auth (OAuth), oauthex (extensions)
- Type-safe tool definitions with Go structs and JSON Schema tags
- Stdio, HTTP, and custom transport support for flexible deployment
- OpenSSF Scorecard rated for security best practices compliance
Use Cases
Categories
Quick Start
go get github.com/modelcontextprotocol/go-sdk/mcp