go-mcp: A Type-Safe Go SDK for Building MCP Servers

2025-04-17
go-mcp: A Type-Safe Go SDK for Building MCP Servers

go-mcp is a Go SDK simplifying MCP (Model Context Protocol) server development. Its type-safe, intuitive interface streamlines the process. Code generation ensures static typing for tools and prompt parameters, catching errors at compile time. The clean API and developer-friendly design make it easy to learn and use. The project includes comprehensive examples and documentation, supporting features like tools, prompts, resource management, and logging. While dynamic tool addition isn't currently supported, future development plans include batching, streamable HTTP transport, and progress notifications. The project is MIT licensed.

Development