Content-Length: 509137 | pFad | https://github.com/mark3labs/mcp-go/releases

AB Releases · mark3labs/mcp-go · GitHub
Skip to content

Releases: mark3labs/mcp-go

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

Release v0.29.0

20 May 06:40
v0.29.0
99720bb
Compare
Choose a tag to compare

What's Changed

  • refactor: make CallToolRequest.Arguments more flexible (Breaking Change) by @ezynda3 in #287
  • Drop unused fields from server.sseSession by @ggoodman in #303
  • chore: remove unused variables and type arguments by @pottekkat in #302
  • chore(Srv/stdio): duplicated setting of ErrorLogger by @cryo-zd in #306
  • fix: handle the situation where the channel is closed by @button-chen in #304

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: v0.28.0...v0.29.0









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mark3labs/mcp-go/releases

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy