Skip to content

Releases: mark3labs/mcp-go

Release v0.42.0-beta.2

14 Oct 18:49
6d52180
Compare
Choose a tag to compare

What's Changed

  • fix: documentation typos by @Artmorse in #608
  • fix: prevent tools invocation without valid session initialization by @ezynda3 in #607
  • fix: make transport Start() idempotent to resolve issue #583 by @ezynda3 in #606
  • feat: extend resource middlewares to resource templates by @tjhop in #582
  • Preserve Tool _meta when marshaling to JSON by @jaredly in #609
  • fix: reuse sessions correctly in streamable HTTP transport by @ezynda3 in #615

New Contributors

Full Changelog: v0.42.0-beta.1...v0.42.0-beta.2

Release v0.42.0-beta.1

30 Sep 16:34
Compare
Choose a tag to compare

What's Changed

  • HTTP Sampling Improvements by @ezynda3 in #601
  • feat: update type definition of _meta field to text/blob resources. by @rabbah in #591

New Contributors

Full Changelog: v0.41.1...v0.42.0-beta.1

Release v0.41.1

30 Sep 15:45
a1dd4ef
Compare
Choose a tag to compare

What's Changed

  • fix: replace bufio.Scanner with bufio.Reader to support large message… by @ezynda3 in #603

Full Changelog: v0.41.0...v0.41.1

Release v0.41.0

27 Sep 21:01
Compare
Choose a tag to compare

What's Changed

  • fix(oauth): use oauth-authorization-server discovery before default endpoints by @trungutt in #581
  • Improve JSON-RPC error handling with typed errors and response constructors by @peteski22 in #595
  • fix: Streamable HTTP client ping response handling by @havasik in #578
  • feat: add support for call tool result annotations by @Crescent617 in #547

New Contributors

Full Changelog: v0.40.0...v0.41.0

Release v0.40.0

19 Sep 12:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.39.1...v0.40.0

Release v0.39.1

02 Sep 15:22
3d1bfca
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.39.0...v0.39.1

Release v0.39.0

02 Sep 08:00
Compare
Choose a tag to compare

What's Changed

  • fix: use bufio.Scanner for stdio transport to avoid panic when stdio mcp server outputs a long line by @WingT in #464
  • fix(tool): Return the OutputSchema from the tool definition by @alex210501 in #571
  • feat: add resource handler middleware capability by @tjhop in #569
  • feat: add tls support for streamable-http by @opencow in #568
  • fix: prevent double-starting stdio transport in client by @linw1995 in #564
  • docs(client): improve server reliability and error handling by @appleboy in #560
  • oauth client example: skip DCR if MCP_CLIENT_ID is set by @djoreilly in #549

New Contributors

Full Changelog: v0.38.0...v0.39.0

Release v0.38.0

20 Aug 08:09
Compare
Choose a tag to compare

What's Changed

  • fix: resolve stdio transport race condition for concurrent tool calls by @ezynda3 in #529
  • fix CallToolResult json marshaling and unmarshaling: need structuredC… by @sunfuze in #523
  • feat: refactor constants for resource content types by @CocaineCong in #489
  • feat: add missing SetPrompts, DeleteResources, and SetResources methods by @vasayxtx in #445
  • feat: support creating tools using go-struct-style input schema by @Grivn in #534
  • fix: remove duplicate methods server.SetPrompts & server.SetResources by @matthisholleville in #542

New Contributors

Full Changelog: v0.37.0...v0.38.0

Release v0.37.0

05 Aug 02:23
6da5cd1
Compare
Choose a tag to compare

⚠️ 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

Release v0.36.0

28 Jul 18:02
v0.36.0
cf35264
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.35.0...v0.36.0