Releases: mark3labs/mcp-go
Releases · mark3labs/mcp-go
Release v0.26.0
What's Changed
- feat(sse): Add
SessionWithToolssupport to SSEServer by @robert-jackson-glean in #232 - Fix bug with MarshalJSON for NotificationParams by @Gelembjuk in #233
- fix: write back error message if the response marshal failed by @ppzqh in #235
- fix(server/sse): potential goroutine leak in Heartbeat sender by @cryo-zd in #236
- Fix stdio test compilation issues in CI by @ezynda3 in #240
- refactor(server/sse): rename WithBasePath to WithStaticBasePath by @robert-jackson-glean in #238
- fix(MCPServer): Session tool handler not used due to variable shadowing by @cryo-zd in #242
- test: build mockstdio_server with isolated cache to prevent flaky CI by @robert-jackson-glean in #241
- fix: Use detached context for SSE message handling by @yash025 in #244
New Contributors
- @Gelembjuk made their first contribution in #233
- @ppzqh made their first contribution in #235
- @yash025 made their first contribution in #244
Full Changelog: v0.25.0...v0.26.0
Release v0.25.0
What's Changed
- update doc comments to match Go conventions by @yinebebt in #226
- fix: Add Accept Header in StreamableHTTP Client by @hhxiao in #230
- fix(SSE): only initialize
http.Serverwhen not set by @cryo-zd in #229 - fix: Prevent panic in parsing functions for null results by @cocovs in #218
- [SSEClient] Add ability to override the http.Client by @sks in #109
- feat(SSEServer): add WithAppendQueryToMessageEndpoint() by @liut in #136
- feat: quick return tool-call request, send response via SSE in goroutine by @CeerDecy in #163
- feat(server/sse): Add support for dynamic base paths by @robert-jackson-glean in #214
New Contributors
- @yinebebt made their first contribution in #226
- @hhxiao made their first contribution in #230
- @cocovs made their first contribution in #218
- @sks made their first contribution in #109
- @liut made their first contribution in #136
- @CeerDecy made their first contribution in #163
Full Changelog: v0.24.1...v0.25.0
Release v0.24.1
What's Changed
- fix: marshal
ToolInputSchema.Propertiesto {} when len=0 by @cryo-zd in #225 - fix(client/test): verify mock server binary exists after compilation by @robert-jackson-glean in #215
Full Changelog: v0.24.0...v0.24.1
Release v0.24.0
What's Changed
- Use correct name in Go documentation by @oschwald in #202
- fix(client): resource leak in
SSEClient.SendRequest()by @cryo-zd in #206 - fix(client): risk of resource leak and closing closed channel by @cryo-zd in #208
- no need to check empty text by @graydovee in #209
- refactor: Pull out
Annotationsstructure rather than being an anonymous inner struct by @rm-hull in #203 - perf: optimize usage of RWMutex in MCPServer for performance by @cryo-zd in #181
- feat: Add server hooks:OnRequestInitialization by @AlexNiny in #164
- fix: Improve content type handling in streamable_http.go by @TBXark in #210
- Add
mcptestpackage for in-process MCP testing by @octo in #149 - Manage tools on a per session basis by @ezynda3 in #179
- Fix: fix client sse tcp connection re-use by draining outstanding io by @bcain99 in #212
- perf(server): release Mutex early for performance by @cryo-zd in #213
New Contributors
- @oschwald made their first contribution in #202
- @graydovee made their first contribution in #209
- @rm-hull made their first contribution in #203
- @AlexNiny made their first contribution in #164
- @octo made their first contribution in #149
- @bcain99 made their first contribution in #212
Full Changelog: v0.23.1...v0.24.0
Release v0.23.1
What's Changed
- fix(client): prevent panics by @jkoelker in #192
- fix: correct JSON key for client capabilities by @TBXark in #197
- fix(client): check stdio started before sending notification by @cryo-zd in #199
- fix(client): potential risk of sending on closed channel by @cryo-zd in #194
New Contributors
Full Changelog: v0.23.0...v0.23.1
Release v0.23.0
What's Changed
- Export SendNotificationToAllClients by @scottfeldman in #176
- feat(server): Add hooks.AddOnUnregisterSession functionality by @robert-jackson-glean in #175
- Refact: pre-allocate memory for memory-efficiency by @cryo-zd in #178
- fix sse shutdown by @karngyan in #128
- fix: update spec link by @warjiang in #188
- Add
InProcessTransportby @dugenkui03 in #189 - Optimize capability and notification according to specification by @dugenkui03 in #184
New Contributors
- @scottfeldman made their first contribution in #176
- @cryo-zd made their first contribution in #178
- @karngyan made their first contribution in #128
- @warjiang made their first contribution in #188
Full Changelog: v0.22.0...v0.23.0
Release v0.22.0
What's Changed
- fix: add mutex to SSEServer to avoid data race between Start and Shutdown; fix test error on Windows (#166 #172) by @Wood-Q in #170
- feat(server): convert ping messages to be spec compliant by @robert-jackson-glean in #169
- feat: Implement Streamable-HTTP Client Basic by @leavez in #168
- feat:Added the parameter parsing mode to parse any to the specified type by @hl540 in #148
- Add RemoveResource method to MCPServer by @isaacphi in #141
- feat: add message to ProgressNotification by @xhdd123321 in #119
New Contributors
- @Wood-Q made their first contribution in #170
- @robert-jackson-glean made their first contribution in #169
- @hl540 made their first contribution in #148
- @isaacphi made their first contribution in #141
- @xhdd123321 made their first contribution in #119
Full Changelog: v0.21.1...v0.22.0
Release v0.21.1
Release v0.21.0
What's Changed
- Add DefaultArray by @tiborvass in #67
- Unified Client Transport Layer for Streamable HTTP Support by @leavez in #114
- fix(tools): add
omitemptyto properties by @jkoelker in #116 - new feat: tool annotation by @dugenkui03 in #158
- introduce NewToolResultErrorWithErr and update docs by @deviantony in #140
New Contributors
- @tiborvass made their first contribution in #67
- @leavez made their first contribution in #114
- @dugenkui03 made their first contribution in #158
- @deviantony made their first contribution in #140
Full Changelog: v0.20.1...v0.21.0
Release v0.20.1
What's Changed
- Dustin/138 deadlock remove global mutex by @StarpTech in #139
New Contributors
- @StarpTech made their first contribution in #139
Full Changelog: v0.20.0...v0.20.1