mcp-golang

Level ASource

Write Model Context Protocol servers in few lines of go code. Docs at https://mcpgolang.com . Created by https://metoro.io

Overview

mcp-golang is an unofficial Go implementation of the Model Context Protocol for writing MCP servers and clients in a few lines of code. It lets you define tool arguments as native Go structs with automatic schema generation, deserialization and error handling, and offers stdio, HTTP, Gin, SSE and custom transports, with full support for tools, prompts and resources including calls, listing, change notifications and pagination.

⭐ 1.2kDevelopment ToolsGoRepo ↗Updated 2026-02-25

Installation

View source repo →

Related servers