awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mark3labs avatar

mark3labs/mcp-go

0
View on GitHub↗
8,806 stars·844 forks·Go·MIT·14 viewsmcp-go.dev↗

Mcp Go

mcp-go is a Go implementation of the Model Context Protocol (MCP) providing an SDK and framework for building servers that connect large language model applications to external tools and data sources. It serves as a developer kit for implementing bidirectional communication and structured data exchange between AI clients and servers.

The framework enables the creation of executable tools with structured output schemas, reusable prompt templates, and data resource exposure via URI templates. It supports multiple transport layers, including stdio, HTTP, and Server-Sent Events, using a transport-agnostic message bus to decouple protocol logic from the communication channel.

The library includes capabilities for session-based context tracking, capability filtering, and handler middleware for logging and error recovery. It further provides observability through request tracing and lifecycle hooks, as well as security configurations for CORS and OAuth metadata exposure.

Features

  • Model Context Protocol - Implements the standardized Model Context Protocol to connect AI models with local data and external tools.
  • Model Context Protocol Implementations - Implements the Model Context Protocol (MCP) to standardize communication between AI models and external tools.
  • Agent Context Management - Manages agent context by serving static files and dynamic API data as resources for language models.
  • LLM Tooling Integrations - Provides a framework for creating executable functions and tools that language models can trigger in external systems.
  • MCP Servers - Implements the server side of the Model Context Protocol to expose tools and data via stdio, SSE, or HTTP.
  • Resource Exposure - Exposes read-only static files and dynamic data as resources to serve as context for AI models.
  • Transport Layer Connectivity - Supports multiple communication channels including stdio, HTTP, and SSE for reliable connectivity.
  • Model Context Protocol Servers - Provides a framework for creating executable functions that allow language models to perform computations and trigger side effects.
  • Bidirectional Protocol Communication - Enables bidirectional exchange of requests and notifications between servers and clients using HTTP POST and Server-Sent Events.
  • JSON-RPC Implementations - Implements the JSON-RPC protocol to standardize the exchange of requests and responses between AI clients and servers.
  • Go SDKs - Provides a comprehensive Go developer kit for implementing bidirectional communication between AI clients and servers.
  • Conversation Context Tracking - Maintains unique client state to deliver targeted notifications and filtered capability lists based on session context.
  • Middleware Extensions - Provides middleware extensions to intercept and modify protocol communication for logging and error recovery.
  • Structured Tool Outputs - Returns complex data types using defined schemas to ensure precisely formatted output for language models.
  • Prompt Templates - Provides capabilities to define reusable prompt templates with system instructions and arguments for guiding language models.
  • AI Tool Schemas - Uses structured metadata to define precise function arguments and return types for language model execution.
  • Dynamic Resource Templates - Maps unique resource identifiers to dynamic data generators using URI templates to provide model context.
  • Client Session Management - Maintains unique states for connected clients to enable targeted notifications and personalized configurations.
  • Protocol-Agnostic Transport Layers - Decouples protocol logic from underlying communication channels using a transport-agnostic message bus.
  • Asynchronous Task Execution - Implements non-blocking background task execution for tools with polling mechanisms for result retrieval.
  • Task Status Polling - Provides a polling mechanism for clients to retrieve results from long-running background operations.
  • AI Protocol Observability - Tracks request lifecycles and tool executions with telemetry and spans to debug client-server interactions.
  • Request Tracing - Tracks requests and tool executions using spans and attributes for performance debugging.
  • AI Agent Frameworks - SDK for developing Model Context Protocol clients and servers.
  • AI and Machine Learning - Go implementation of the Model Context Protocol.
  • AI & Machine Learning - Implementation of the Model Context Protocol for Go.
  • Development and Debugging Tools - Go language implementation for building efficient MCP servers.

Star history

Star history chart for mark3labs/mcp-goStar history chart for mark3labs/mcp-go

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Mcp Go

Similar open-source projects, ranked by how many features they share with Mcp Go.
  • modelcontextprotocol/inspectormodelcontextprotocol avatar

    modelcontextprotocol/inspector

    8,721View on GitHub↗

    The inspector is a diagnostic and validation tool for the Model Context Protocol. It provides an interactive interface and a transport proxy to discover, inspect, and execute the tools, prompts, and resources provided by an MCP server. The project serves as a debugger and compliance tester to verify that server implementations adhere to the protocol specification and JSON-RPC standards. It allows for real-time monitoring of message exchanges and logs between clients and servers across various transport layers, such as standard input/output and Server-Sent Events. The tool covers a broad rang

    TypeScript
    View on GitHub↗8,721
  • modelcontextprotocol/modelcontextprotocolmodelcontextprotocol avatar

    modelcontextprotocol/modelcontextprotocol

    8,458View on GitHub↗

    Model Context Protocol is a standardized framework for connecting large language models to external data sources and executable tools. It enables the creation of a universal interface where servers expose tools, resources, and prompts that can be discovered and utilized by various AI clients. The protocol utilizes a JSON-RPC message system that is transport-agnostic, supporting both standard input/output for local processes and HTTP with server-sent events for remote connections. It emphasizes security and control by delegating model sampling to the client to keep API keys secure from servers

    TypeScript
    View on GitHub↗8,458
  • mcp-use/mcp-usemcp-use avatar

    mcp-use/mcp-use

    10,137View on GitHub↗

    mcp-use is a development framework designed for building, deploying, and managing servers, clients, and autonomous agents using the Model Context Protocol. It provides a comprehensive toolkit for creating servers that expose custom tools, data resources, and prompts to compatible AI agents. The project distinguishes itself by offering a complete lifecycle for protocol-based applications, including a dedicated hosting platform for production servers and a compliance validator to ensure servers meet marketplace publishing requirements. It also features an observability suite for tracing protoco

    TypeScriptagentic-frameworkaiapps-sdk
    View on GitHub↗10,137
  • modelcontextprotocol/csharp-sdkmodelcontextprotocol avatar

    modelcontextprotocol/csharp-sdk

    3,912View on GitHub↗

    The Model Context Protocol C# SDK is a library for building clients and servers that implement the Model Context Protocol to integrate AI tools and resources. It provides an AI tool integration framework and a multi-modal content handler to exchange text, images, and binary resources between AI models and external context providers. The SDK utilizes a JSON-RPC communication library to manage bidirectional data exchange. It features a transport-agnostic communication layer that supports standard input and output, HTTP, and in-memory pipes, with specific integration for ASP.NET Core hosting. T

    C#
    View on GitHub↗3,912
See all 30 alternatives to Mcp Go→

Frequently asked questions

What does mark3labs/mcp-go do?

mcp-go is a Go implementation of the Model Context Protocol (MCP) providing an SDK and framework for building servers that connect large language model applications to external tools and data sources. It serves as a developer kit for implementing bidirectional communication and structured data exchange between AI clients and servers.

What are the main features of mark3labs/mcp-go?

The main features of mark3labs/mcp-go are: Model Context Protocol, Model Context Protocol Implementations, Agent Context Management, LLM Tooling Integrations, MCP Servers, Resource Exposure, Transport Layer Connectivity, Model Context Protocol Servers.

What are some open-source alternatives to mark3labs/mcp-go?

Open-source alternatives to mark3labs/mcp-go include: modelcontextprotocol/inspector — The inspector is a diagnostic and validation tool for the Model Context Protocol. It provides an interactive interface… modelcontextprotocol/modelcontextprotocol — Model Context Protocol is a standardized framework for connecting large language models to external data sources and… mcp-use/mcp-use — mcp-use is a development framework designed for building, deploying, and managing servers, clients, and autonomous… modelcontextprotocol/csharp-sdk — The Model Context Protocol C# SDK is a library for building clients and servers that implement the Model Context… modelcontextprotocol/java-sdk — This is a software development kit for integrating the Model Context Protocol into Java applications. It serves as a… modelcontextprotocol/go-sdk — This is a software development kit and framework for implementing the Model Context Protocol in Go. It provides a…