The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"go-sdk": {
"command": "go",
"args": [
"run",
"github.com/modelcontextprotocol/go-sdk@latest"
]
}
}
}
Run in terminal:
claude mcp add go-sdk go run github.com/modelcontextprotocol/go-sdk@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"go-sdk": {
"command": "go",
"args": [
"run",
"github.com/modelcontextprotocol/go-sdk@latest"
]
}
}
}