aicoolies logo

mcp-go

Go implementation of the Model Context Protocol SDK

Share
open-sourceOpen Source
Visit Website →

mcp-go is a Go implementation of the Model Context Protocol, providing both server and client SDKs for building MCP integrations in Go. It supports stdio and SSE transports, resource management, tool registration, and prompt templates. Designed for Go developers building MCP servers for DevOps tools, CLI applications, and backend services. Over 8,000 GitHub stars.

We have a review for this tool

A detailed review by the aicoolies team — click to read

mcp-go brings the Model Context Protocol to the Go ecosystem, enabling developers to build high-performance MCP servers and clients using Go's concurrency primitives and deployment simplicity. While the official MCP SDKs focus on Python and TypeScript, many infrastructure tools, CLI utilities, and backend services that would benefit from MCP integration are written in Go. mcp-go provides idiomatic Go interfaces for all MCP capabilities including tool registration with typed parameter schemas, resource exposure with template URI patterns, prompt template management, and both stdio and server-sent event transport protocols.

The server SDK makes it straightforward to expose existing Go functionality as MCP tools. A Kubernetes management tool, for example, can register tools for listing pods, describing deployments, and scaling replicas, making these capabilities available to any MCP-compatible AI assistant. The client SDK enables Go applications to discover and invoke tools from remote MCP servers, useful for building agent orchestrators or CLI tools that aggregate capabilities from multiple MCP servers. The library handles protocol negotiation, capability advertisement, and connection lifecycle management transparently.

With over 8,000 GitHub stars, mcp-go has become the de facto MCP implementation for the Go community. Its adoption is driven by the large number of DevOps and infrastructure tools written in Go — from Kubernetes operators to CLI utilities to cloud platform SDKs — that represent natural candidates for MCP integration. The library's focus on correctness and performance aligns with Go's ecosystem values, providing a production-ready foundation for teams extending their Go tooling with AI-accessible interfaces.

Pricing

Free and open source (MIT)

Platforms

Go library — go get, any platform

Categories

Tags

Use Cases

Alternatives

Related Tools

Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source

Safari MCP Server

Apple's Safari-native MCP server for web debugging agents

Safari MCP Server is Apple's safaridriver-based MCP server in Safari Technology Preview, giving compatible coding agents local access to Safari page content, console logs, network requests, screenshots, JavaScript evaluation, interactions, viewport controls, and accessibility/performance checks.

freeTelemetry

Headroom

Context compression for LLM apps and coding agents

Headroom is an Apache-2.0 context compression layer for LLM apps and coding agents. It compresses tool output, logs, files, RAG chunks, and agent history through a local library, proxy, wrapper, or MCP server, with retrieval hooks for bringing originals back when needed. Treat its savings numbers as Headroom-reported benchmarks, not independent aicoolies measurements.

open-sourceOpen SourceTelemetry

Codebase Memory MCP

Codebase knowledge graph MCP server for AI coding agents

Codebase Memory MCP is an MIT-licensed MCP server that turns a repository into a persistent code knowledge graph for AI coding agents. It gives Claude Code, Cursor, Codex-style agents, and other MCP clients structural queries for functions, classes, call chains, routes, and architecture, helping them explore large projects without repeatedly rereading files or relying only on broad search.

open-sourceOpen SourceTelemetry
BeeAI Framework logo

BeeAI Framework

Python and TypeScript framework for production multi-agent systems

BeeAI Framework is an Apache-2.0 toolkit for building production-ready AI agents and multi-agent systems in Python and TypeScript. Its docs cover agents, tools, RAG, memory, workflows, backend providers, serving, and A2A/MCP integration surfaces, making it a vendor-neutral option for teams comparing LangGraph, CrewAI, Mastra, and related agent runtimes.

open-sourceOpen SourceTelemetry

Supabase MCP

MCP server for connecting AI assistants to Supabase projects

Supabase MCP is Supabase's Apache-2.0 server for connecting AI assistants to Supabase projects. It can expose database, configuration, and project-management workflows to MCP clients such as Cursor, Claude, and Windsurf, while the official docs emphasize permission and security review before production use, SQL changes, or high-privilege database access.

open-sourceOpen SourceTelemetry

Comparisons