github mark3labs/mcp-go v0.37.0
Release v0.37.0

latest releases: v0.44.0-beta.1, v0.43.2, v0.43.1...
4 months ago

⚠️ Breaking Changes

The Result.Meta field type has changed from map[string]any to *Meta. Code that directly accesses or sets this field will need to be updated:

// Before (v0.36.0 and earlier):
result.Meta = map[string]any{"key": "value"}

// After (v0.37.0):
result.Meta = &mcp.Meta{AdditionalFields: map[string]any{"key": "value"}}

What's Changed

  • Replace Prompts/Resources/Resource Templates by @dgageot in #518
  • Update server.go race condition by @outofthisworld in #524
  • task: add _meta field to relevant types as defined in MCP specification by @buraksenn in #429
  • feat: implement sampling support for Streamable HTTP transport by @andig in #515
  • Fix SSE transport not properly handling HTTP/2 NO_ERROR disconnections by @okoshi-f in #509
  • feat: add thread-safe SetExpectedState for cross-request OAuth flows by @sd2k in #500
  • feat: allow to set a custom logger in the SSE and STDIO clients by @caarlos0 in #525

New Contributors

Full Changelog: v0.36.0...v0.37.0

Don't miss a new mcp-go release

NewReleases is sending notifications on new releases.