mark3labs/mcp-go

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Added to GitGenius on September 7th, 2026
Created on November 27th, 2024
Open Issues & Pull Requests: 34 (+0)
GitHub issues: Enabled
Number of forks: 877
Total Stargazers: 9,082 (+0)
Total Subscribers: 55 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 days
Mean response time: 27.0 days
90th percentile: 112.7 days
Tracked items: 314

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Work labelled "priority: medium" is answered fastest, typically in under an hour, while "type: enhancement" waits about 7 days. Only 13% of issues opened in the past year have been closed. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 0
Closed in 7 days: 3
Avg open age: 133 days
Stale 30+ days: 8
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • type: enhancement (26)
  • area: mcp spec (24)
  • help wanted (21)
  • area: sdk (20)
  • good first issue (20)
  • priority: medium (13)
  • type: bug (9)
  • type: question (7)

Detailed Description

mcp-go is a Go implementation of the Model Context Protocol that enables LLM applications to integrate with external data sources and tools through a standardized interface.

The project addresses the complexity of building MCP servers by handling protocol details and server management internally. It provides a high-level interface for exposing data through resources, enabling actions through tools, and defining interaction patterns through prompts. Resources function as data endpoints that can be static or dynamically generated from URI templates, while tools allow LLMs to perform computations and side effects. The implementation supports multiple MCP specification versions with backward compatibility.

Developers building MCP servers in Go should choose this tool if they want to minimize boilerplate and focus on application logic rather than protocol mechanics. It suits projects that need to expose capabilities to LLM applications in a standardized way, whether those capabilities involve database queries, API integrations, file access, or custom computations. The README emphasizes that the tool aims to be fast and simple compared to building protocol compliance from scratch, though it does not name specific alternative implementations for direct comparison.

The project is under active development alongside the MCP specification itself. Core features are functional but some advanced capabilities remain in progress. The maintainers provide a Discord community channel for discussion and maintain comprehensive documentation covering server setup, resource and tool definition, session management, request hooks, and middleware patterns.