MCP Directory

go-sdk

by modelcontextprotocol · Go · ★ 4,456

The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.

#go#mcp

Install

go install github.com/modelcontextprotocol/go-sdk@latest

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "go-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "github:modelcontextprotocol/go-sdk"
      ]
    }
  }
}

From the README

[](https://codespaces.new/modelcontextprotocol/go-sdk) [](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk) [](https://scorecard.dev/viewer/?uri=github.com/modelcontextprotocol/go-sdk) This repository contains an implementation of the official Go software development kit (SDK) for the Model Context Protocol (MCP). The SDK consists of several importable packages: - The [](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp) package defines the primary APIs for constructing and using MCP clients and servers. - The [](https://pkg.go.dev/github.com/modelcontextprotoc…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers