Skip to content

Releases: mark3labs/mcp-go

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

Release v0.35.0

25 Jul 14:10
3964d51
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.34.0...v0.35.0

v0.34.0

15 Jul 10:31
ffea75f
Compare
Choose a tag to compare

What's Changed

  • fix(streamable_http): ensure graceful shutdown to prevent close reque… by @sunerpy in #477
  • fix(streamble_http) SendNotification not work bug by @Robin-ZMH in #473
  • refactor: replace fmt.Errorf with TransportError wrapper by @AdamShannag in #486
  • fix Content-Type: application/json; charset=utf-8 error by @oldweipro in #478
  • feat: Inprocess sampling support by @ezynda3 in #487
  • feat: support in tool result handling & update example by @CocaineCong in #467
  • feat(logging): add support for send log message notifications and implemented the SessionWithLogging interface on streamableHttpSession by @sunerpy in #484

New Contributors

Full Changelog: v0.33.0...v0.34.0

Release v0.33.0

08 Jul 05:56
6a54215
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.32.0...v0.33.0

Release v0.32.0

11 Jun 10:41
Compare
Choose a tag to compare

What's Changed

  • feat(mcp): add NewToolResultErrorf by @icholy in #357
  • feat(mcptest): extend test server with prompt and resource support by @vasayxtx in #346
  • [streamable-http] Add ability to override the http.Client by @tra4less in #359
  • fixed logo issue in home page by @asaf-shitrit in #364
  • feat(mcptest): Change Server.Start to accept a context.Context. by @octo in #339
  • fix(test/stdio): address io:read/write on closed pipe error by @cryo-zd in #360
  • [SSE][OAuth] Add OAuth support to SSE client by @giridhar-murthy-glean in #340
  • More comprehensive docs by @ezynda3 in #374
  • fix(srv/stream): properly remove sessionTool to prevent memory leak by @cryo-zd in #365
  • fix: SSE parser now correctly handles events without event field by @ezynda3 in #376
  • fix: ignore session IDs in stateless mode instead of rejecting them by @ezynda3 in #375
  • support search www doc by @dugenkui03 in #378
  • Optimize docs by @dugenkui03 in #386

New Contributors

Full Changelog: v0.31.0...v0.32.0

Release v0.31.0

30 May 07:47
4b71176
Compare
Choose a tag to compare

What's Changed

  • [feat] separate request struct by @OswinWu in #333
  • fix: logo on website is squashed by @corani in #349
  • fix: panic when streamable HTTP server sends notification by @dugenkui03 in #348
  • fix: move styles.css to www/docs by @corani in #354
  • fix(server): resolve stdio server context cancellation bug by @sonirico in #331
  • Add option to StreamableHTTPServer to allow custom http server instance by @yash025 in #347
  • fix(Srv/stream): add ID field to PingRequest by @cryo-zd in #353

New Contributors

Full Changelog: v0.30.1...v0.31.0

Release v0.30.1

28 May 09:31
c7c0e13
Compare
Choose a tag to compare

What's Changed

  • fix(server): Implement MCP version negotiation. by @octo in #341

Full Changelog: v0.30.0...v0.30.1

Release v0.30.0

25 May 10:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.29.0...v0.30.0