Skip to content

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

License

Notifications You must be signed in to change notification settings

dstotijn/go-mcp

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages