mark3labs/mcp-go
A Go SDK implementing the Model Context Protocol (MCP) to enable seamless integration between LLM applications and external data sources and tools.
mcp-client-go is a Golang client library for the Model Context Protocol. It gives an application one unified API for registering several MCP servers and then calling their tools, instead of handling each server connection separately. Registration is modular: the library ships helpers for a list of known servers, and it can also read a Claude style configuration file, the same JSON shape used by desktop MCP clients, so an existing server configuration can be reused without being rewritten in Go. Tool execution is exposed through a small interface, and a separate prompt package provides prompt text that helps a model decide when to trigger an MCP call. The documented server list is broad and links to the upstream project for each entry: Redis and PostgreSQL for database access, GitHub through the official GitHub MCP server, GitLab and Slack through the reference servers, AWS Knowledge Base retrieval through the Bedrock Agent Runtime, Firecrawl for web scraping, Puppeteer for browser automation, EverArt for image generation, Sentry for issue tracking, sequential thinking for structured problem solving, filesystem access, web content fetching, mapping services including Amap and Google Maps, and the note taking service Flomo. Several of these come with runnable demo programs in the demo/client directory that show the registration and call sequence end to end, and each entry links to the documentation of the underlying server. The audience is Go developers building agents or backend services that need to talk to more than one MCP server at a time and want a consistent way to register them, discover their tools and invoke them. Because the package is the client side of the protocol rather than a server, it acts as the Go integration layer for programs that embed an LLM loop and want tool calls routed to external MCP servers.
https://github.com/yincongcyincong/mcp-client-go
A Go SDK implementing the Model Context Protocol (MCP) to enable seamless integration between LLM applications and external data sources and tools.
The official Go SDK for the Model Context Protocol (MCP) providing tools and APIs to build MCP clients and servers, currently unreleased and maintained in collaboration with Google.
go-mcp is a type-safe and intuitive Go SDK designed to simplify and enhance the development of Model Context Protocol (MCP) servers with robust features and developer-friendly APIs.
A Go library for building MCP servers declaratively, with dependency injection, tool and resource registration, and a testing harness.
A zero-configuration Go library that exposes an existing Gin web framework's routes as MCP tools with a single line of code.