# mcp-go

> MCP Server

MCP Go is a Go implementation of the Model Context Protocol, enabling seamless integration between LLM applications and external data sources and tools. It simplifies building great tools by handling

## Overview

- **Category:** AI
- **Language:** Go
- **Stars:** 9086
- **Forks:** 137
- **Owner:** mark3labs
- **GitHub:** https://github.com/mark3labs/mcp-go
- **Created:** 2024-11-27T12:38:33+00:00
- **Updated:** 2025-03-28T23:58:49+00:00
- **Source:** https://model-context-protocol.com/servers/go-model-context-protocol-integration-library

## Setup

## Setup

1.  `go get github.com/mark3labs/mcp-go`

**Contributing**

1.  Create a fork of this repository, then clone it:

    ```bash
    git clone https://github.com/mark3labs/mcp-go.git
    cd mcp-go
    ```

**Prerequisites**

Go version >= 1.23

## Tools

## Available Tools

1.  **Resources** (Expose data to LLMs, can be static or dynamic).
2.  **Tools** (Let LLMs take actions through the server, similar to POST endpoints).
3.  **Prompts** (Reusable templates that help LLMs interact with the server effectively).
4.  **Server** (Core interface to the MCP protocol, handles connection management, protocol compliance, and message routing).
5.  **Request Hooks** (Hook into the request lifecycle for telemetry and observability).
