Go library for implementing the Model Context Protocol (MCP).

go-mcp

GitHub tag (latest
SemVer) Go
Reference GitHub Go Report
Card

Go library for implementing the Model Context Protocol (MCP).

Features

  • Supports protocol revision 2024-11-05
  • Server support
  • Client support
  • Type safe RPC handlers without reflection
  • Built-in validation of tool arguments

Installation

go get github.com/dstotijn/go-mcp

Usage

See examples/server/main.go for a detailed example of a server implementation.

License

Apache License 2.0

© 2025 David Stotijn

Stars
10
Mar 13Mar 18Mar 24Mar 30Apr 05Apr 11
mcpradar.com © 2024 - 2025.
Made by @bytesbay