MCP Go SDK

Official Go SDK for Model Context Protocol servers and clients, maintained with Google, with OAuth, transports and Skills extension support.

Visit website

What is MCP Go SDK?

MCP Go SDK The MCP Go SDK is the official Go software development kit for the Model Context Protocol. The repository is owned by the modelcontextprotocol organization and its README states it is maintained in collaboration with Google, establishing clear first-party status.

Core capabilities

Client and server APIs: The mcp package defines the primary APIs for constructing and using MCP clients and servers.

Custom transports: The jsonrpc package supports building custom transports beyond the built-in stdio and HTTP options.

OAuth primitives: The auth and oauthex packages provide OAuth support, including protected resource metadata extensions.

Skills extension: An opt-in skills package adds discovery, directory browsing and content verification.

Spec coverage: Tracks MCP specification versions from 2024-11-05 through 2026-07-28, with per-version compatibility documented.

Access and pricing

Open source, with new contributions under Apache-2.0 and existing code under MIT. Distributed as Go modules and requires a supported Go release.

Developer details

Integrations
APISDK
Works with
MCP spec 2026-07-28, MCP spec 2025-11-25, MCP spec 2025-06-18, Google, OAuth, Go modules

Features

  • Official Go implementation of MCP
  • Client and server packages
  • Custom JSON-RPC transports
  • OAuth and protected resource metadata helpers
  • Opt-in Skills extension
  • Compatibility across MCP spec versions