MCP Go SDK

Active
GitHub Go NOASSERTION

Description

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

💡 Building MCP servers in Go to expose tools and resources to AI coding agents
💡 Creating MCP clients that connect to any MCP-compliant server
💡 Integrating MCP protocol into existing Go services for AI agent interoperability
💡 Developing custom transport layers for specialized agent communication patterns

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (5.1k stars)

⚠️ Limitations

  • No clear open-source license

Categories

Quick Start

go get github.com/modelcontextprotocol/go-sdk/mcp

Related Projects

MCP C# SDK

4.5k · C#
Active A

The official C# SDK for the Model Context Protocol, maintained in collaboration with Microsoft, enabling developers to build MCP servers and clients in the .NET ecosystem.

mcpcsharpsdk +2
  • · Official C# SDK for Model Context Protocol maintained in collaboration with Microsoft
  • · Three-tier package architecture: Core (minimal), Main (hosting+DI), and AspNetCore (HTTP servers)
  • · Full MCP client and server implementation for .NET applications and services

Awesome MCP Servers

93.9k · Unknown
Active A+

A curated collection of hundreds of community-verified MCP server implementations spanning databases, search engines, dev tools, browser automation, and more, helping developers quickly discover and integrate MCP services for their use cases.

mcptoolsapi +1
  • · Most comprehensive MCP server directory - hundreds of community-verified server implementations, continuously updated
  • · Multi-language coverage - includes TypeScript, Python, Go, Rust, C#, Java, Ruby and more
  • · Well-organized categories - 30+ categories including databases, browser automation, dev tools, search, file systems