---
name: "Build Go MCP servers with MCP Go"
slug: "build-go-mcp-servers-with-mcp-go"
description: "Use MCP Go to implement typed Model Context Protocol servers in Go that expose tools, resources, prompts, and transport handlers to agent clients."
github_stars: 8815
verification: "security_reviewed"
source: "https://github.com/mark3labs/mcp-go"
author: "mark3labs"
publisher_type: "organization"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
  github_repo: "mark3labs/mcp-go"
  github_stars: 8815
---

# Build Go MCP servers with MCP Go

Use MCP Go to implement typed Model Context Protocol servers in Go that expose tools, resources, prompts, and transport handlers to agent clients.

## Prerequisites

Go, MCP Go module, MCP-compatible client or host runtime

## Installation

Requirements and caveats from upstream:
- // Example: A tool that requires task execution
- Servers that require OAuth can advertise their authorization requirements

Basic usage or getting-started notes:
- go get github.com/mark3labs/mcp-go
- Let's create a simple MCP server that exposes a calculator tool and some data:
- go

- Source: https://github.com/mark3labs/mcp-go
- Extracted from upstream docs: https://raw.githubusercontent.com/mark3labs/mcp-go/HEAD/README.md

## Documentation

- https://mcp-go.dev/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-go-mcp-servers-with-mcp-go/)
