#277 · Primary category: AI Agents & Automation

go-sdk

go mcp

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

Project last updated:08/28/26

GitHub Stars

5.0K

Forks

525

Contributors

136

License

Other

Why we included this project

For a Go backend that needs to feed an LLM tools and data, the Model Context Protocol's Go SDK is the reference point. It ships typed primitives for both sides of the protocol: building MCP servers that expose tools and resources, and building clients that connect to servers run by others. The package layout stays approachable, with mcp covering server and client construction, jsonrpc for custom transports, and auth and oauthex for the OAuth flows hosted model providers increasingly require. Version-compatibility tables track the MCP spec as it evolves, so the library has a reasonable claim to staying current. Teams that want an existing backend wrapped as an MCP endpoint, or that are building tool-using agents in Go, get a straightforward starting point in the transports and worked examples.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category