mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: bump github.com/mark3labs/mcp-go from 0.28.0 to 0.29.0 (#18031)
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.28.0 to 0.29.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mark3labs/mcp-go/releases">github.com/mark3labs/mcp-go's releases</a>.</em></p> <blockquote> <h2>Release v0.29.0</h2> <h2>What's Changed</h2> <ul> <li>refactor: make CallToolRequest.Arguments more flexible (Breaking Change) by <a href="https://github.com/ezynda3"><code>@ezynda3</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/287">mark3labs/mcp-go#287</a></li> <li>Drop unused fields from server.sseSession by <a href="https://github.com/ggoodman"><code>@ggoodman</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/303">mark3labs/mcp-go#303</a></li> <li>chore: remove unused variables and type arguments by <a href="https://github.com/pottekkat"><code>@pottekkat</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/302">mark3labs/mcp-go#302</a></li> <li>chore(Srv/stdio): duplicated setting of ErrorLogger by <a href="https://github.com/cryo-zd"><code>@cryo-zd</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/306">mark3labs/mcp-go#306</a></li> <li>fix: handle the situation where the channel is closed by <a href="https://github.com/button-chen"><code>@button-chen</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/304">mark3labs/mcp-go#304</a></li> </ul> <h2>Breaking Changes</h2> <p>In <code>v0.29.0</code>, MCP-Go introduces breaking changes to tool request handling. The main change is that <code>request.Params.Arguments</code> is no longer directly accessible as a map. Instead, you must use the new <code>GetArguments()</code> method to retrieve arguments as a map. For type-safe argument access, new helper methods like <code>RequireString()</code>, <code>RequireFloat()</code>, and <code>RequireBool()</code> have been added. To migrate:</p> <ol> <li>Replace direct access to <code>request.Params.Arguments["key"]</code> with <code>request.GetArguments()["key"]</code></li> <li>For better type safety, use the new helper methods: <code>request.RequireString("key")</code>, <code>request.RequireFloat("key")</code>, etc.</li> <li>For complex argument structures, use the new <code>BindArguments()</code> method with a struct, or try the new typed tool handlers with <code>mcp.NewTypedToolHandler()</code> as shown in the new <code>examples/typed_tools</code> example.</li> </ol> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ggoodman"><code>@ggoodman</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/303">mark3labs/mcp-go#303</a></li> <li><a href="https://github.com/button-chen"><code>@button-chen</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/304">mark3labs/mcp-go#304</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0">https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mark3labs/mcp-go/commit/99720bb4c4513ba1d2443b4e5045b7763e0b7142"><code>99720bb</code></a> fix: handle the situation where the channel is closed (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/304">#304</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/420d52199bb3557fe4bd0f5b5aa07c3e3721ae7b"><code>420d521</code></a> chore(Srv/stdio): duplicated setting of ErrorLogger (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/306">#306</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/eaa6f29a3b0776e17c7cdc455eeccc9be72b473a"><code>eaa6f29</code></a> chore: remove unused variables and type arguments (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/302">#302</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/65010c4c5c167e8fa6ca1e4fd242de04027567ce"><code>65010c4</code></a> chore: drop unused fields from sseSession (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/303">#303</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/28c9cc310fed16014107a4e4c970b1d440066b4a"><code>28c9cc3</code></a> refactor: make CallToolRequest.Arguments more flexible (Breaking Change) (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/287">#287</a>)</li> <li>See full diff in <a href="https://github.com/mark3labs/mcp-go/compare/v0.28.0...v0.29.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -488,7 +488,7 @@ require (
|
||||
github.com/coder/preview v0.0.2-0.20250521212114-e6a60ffa74f2
|
||||
github.com/fsnotify/fsnotify v1.9.0
|
||||
github.com/kylecarbs/aisdk-go v0.0.8
|
||||
github.com/mark3labs/mcp-go v0.28.0
|
||||
github.com/mark3labs/mcp-go v0.29.0
|
||||
github.com/openai/openai-go v0.1.0-beta.10
|
||||
google.golang.org/genai v0.7.0
|
||||
)
|
||||
|
||||
@@ -1506,8 +1506,8 @@ github.com/makeworld-the-better-one/dither/v2 v2.4.0 h1:Az/dYXiTcwcRSe59Hzw4RI1r
|
||||
github.com/makeworld-the-better-one/dither/v2 v2.4.0/go.mod h1:VBtN8DXO7SNtyGmLiGA7IsFeKrBkQPze1/iAeM95arc=
|
||||
github.com/marekm4/color-extractor v1.2.1 h1:3Zb2tQsn6bITZ8MBVhc33Qn1k5/SEuZ18mrXGUqIwn0=
|
||||
github.com/marekm4/color-extractor v1.2.1/go.mod h1:90VjmiHI6M8ez9eYUaXLdcKnS+BAOp7w+NpwBdkJmpA=
|
||||
github.com/mark3labs/mcp-go v0.28.0 h1:7yl4y5D1KYU2f/9Uxp7xfLIggfunHoESCRbrjcytcLM=
|
||||
github.com/mark3labs/mcp-go v0.28.0/go.mod h1:rXqOudj/djTORU/ThxYx8fqEVj/5pvTuuebQ2RC7uk4=
|
||||
github.com/mark3labs/mcp-go v0.29.0 h1:sH1NBcumKskhxqYzhXfGc201D7P76TVXiT0fGVhabeI=
|
||||
github.com/mark3labs/mcp-go v0.29.0/go.mod h1:rXqOudj/djTORU/ThxYx8fqEVj/5pvTuuebQ2RC7uk4=
|
||||
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|
||||
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
|
||||
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
|
||||
|
||||
Reference in New Issue
Block a user