chore: bump github.com/mark3labs/mcp-go from 0.28.0 to 0.29.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(5 months ago)
(5 months ago)
(5 months ago)
by github-actions[bot]
dependencies go
Bumps github.com/mark3labs/mcp-go from 0.28.0 to 0.29.0.
Release notes
Sourced from github.com/mark3labs/mcp-go's releases.
Release v0.29.0
What's Changed
- refactor: make CallToolRequest.Arguments more flexible (Breaking Change) by
@ezynda3in mark3labs/mcp-go#287- Drop unused fields from server.sseSession by
@ggoodmanin mark3labs/mcp-go#303- chore: remove unused variables and type arguments by
@pottekkatin mark3labs/mcp-go#302- chore(Srv/stdio): duplicated setting of ErrorLogger by
@cryo-zdin mark3labs/mcp-go#306- fix: handle the situation where the channel is closed by
@button-chenin mark3labs/mcp-go#304Breaking Changes
In
v0.29.0, MCP-Go introduces breaking changes to tool request handling. The main change is thatrequest.Params.Argumentsis no longer directly accessible as a map. Instead, you must use the newGetArguments()method to retrieve arguments as a map. For type-safe argument access, new helper methods likeRequireString(),RequireFloat(), andRequireBool()have been added. To migrate:
- Replace direct access to
request.Params.Arguments["key"]withrequest.GetArguments()["key"]- For better type safety, use the new helper methods:
request.RequireString("key"),request.RequireFloat("key"), etc.- For complex argument structures, use the new
BindArguments()method with a struct, or try the new typed tool handlers withmcp.NewTypedToolHandler()as shown in the newexamples/typed_toolsexample.New Contributors
@ggoodmanmade their first contribution in mark3labs/mcp-go#303@button-chenmade their first contribution in mark3labs/mcp-go#304Full Changelog: https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0
Commits
99720bbfix: handle the situation where the channel is closed (#304)420d521chore(Srv/stdio): duplicated setting of ErrorLogger (#306)eaa6f29chore: remove unused variables and type arguments (#302)65010c4chore: drop unused fields from sseSession (#303)28c9cc3refactor: make CallToolRequest.Arguments more flexible (Breaking Change) (#287)- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-3
Package Dependencies
github.com/mark3labs/mcp-go
go
0.28.0 → 0.29.0
Minor
Technical Details
| ID: | 1119588 |
| UUID: | 2542011757 |
| Node ID: | PR_kwDOGkVX1s6XhAVt |
| Host: | GitHub |
| Repository: | coder/coder |
| Merge State: | Unknown |