Download Latest Version Release v0.32.0 source code.tar.gz (353.7 kB)
Email in envelope

Get an email when there's a new version of MCP Go

Home / v0.29.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-20 1.8 kB
Release v0.29.0 source code.tar.gz 2025-05-20 166.5 kB
Release v0.29.0 source code.zip 2025-05-20 204.3 kB
Totals: 3 Items   372.5 kB 0

What's Changed

Breaking Changes

In v0.29.0, MCP-Go introduces breaking changes to tool request handling. The main change is that request.Params.Arguments is no longer directly accessible as a map. Instead, you must use the new GetArguments() method to retrieve arguments as a map. For type-safe argument access, new helper methods like RequireString(), RequireFloat(), and RequireBool() have been added. To migrate: 1. Replace direct access to request.Params.Arguments["key"] with request.GetArguments()["key"] 2. For better type safety, use the new helper methods: request.RequireString("key"), request.RequireFloat("key"), etc. 3. For complex argument structures, use the new BindArguments() method with a struct, or try the new typed tool handlers with mcp.NewTypedToolHandler() as shown in the new examples/typed_tools example.

New Contributors

Full Changelog: https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0

Source: README.md, updated 2025-05-20