Skip to content

Bump github.com/mark3labs/mcp-go from 0.18.0 to 0.30.0#12

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/mark3labs/mcp-go-0.30.0
Closed

Bump github.com/mark3labs/mcp-go from 0.18.0 to 0.30.0#12
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/mark3labs/mcp-go-0.30.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 26, 2025

Bumps github.com/mark3labs/mcp-go from 0.18.0 to 0.30.0.

Release notes

Sourced from github.com/mark3labs/mcp-go's releases.

Release v0.30.0

What's Changed

New Contributors

Full Changelog: mark3labs/mcp-go@v0.29.0...v0.30.0

Release v0.29.0

What's Changed

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: mark3labs/mcp-go@v0.28.0...v0.29.0

Release v0.28.0

What's Changed

... (truncated)

Commits

Dependabot compatibility score

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 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)

Summary by Sourcery

Chores:

  • Bump github.com/mark3labs/mcp-go from v0.18.0 to v0.30.0

This change is Reviewable

Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.18.0 to 0.30.0.
- [Release notes](https://github.com/mark3labs/mcp-go/releases)
- [Commits](mark3labs/mcp-go@v0.18.0...v0.30.0)

---
updated-dependencies:
- dependency-name: github.com/mark3labs/mcp-go
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 26, 2025
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 26, 2025

Reviewer's Guide

This PR updates the mcp-go dependency from v0.18.0 to v0.30.0 by modifying the module requirements and regenerating the lockfile entries.

Sequence Diagram for mcp-go Client OAuth Authentication Flow

sequenceDiagram
    participant UserApp as Client Application
    participant McpGoClient as mcp-go Client
    participant OAuthProvider as OAuth Provider
    participant McpGoServer as mcp-go Server

    UserApp->>McpGoClient: Request resource requiring authentication
    McpGoClient->>McpGoClient: Check authentication status
    alt OAuth Required / Token Expired
        McpGoClient->>UserApp: Initiate OAuth flow (e.g., redirect to OAuthProvider)
        UserApp->>OAuthProvider: User authenticates
        OAuthProvider-->>UserApp: Authorization Code / ID Token
        UserApp->>McpGoClient: Provide Authorization Code / ID Token
        McpGoClient->>OAuthProvider: Exchange Code for Access Token (if necessary)
        OAuthProvider-->>McpGoClient: Access Token
        McpGoClient->>McpGoClient: Store Access Token
    end
    McpGoClient->>McpGoServer: API Request with Access Token in header
    McpGoServer->>McpGoServer: Validate Access Token (may involve OAuthProvider)
    McpGoServer-->>McpGoClient: Authenticated Response
    McpGoClient-->>UserApp: Resource / Service Response
Loading

Sequence Diagram for Using the DeletePrompts Method in mcp-go

sequenceDiagram
    participant ClientApp as Application
    participant McpGoClient as mcp-go Client
    participant McpGoServer as mcp-go Server

    ClientApp->>McpGoClient: Call DeletePrompts(promptIDs)
    McpGoClient->>McpGoServer: HTTP DELETE /api/prompts (Payload: promptIDs)
    activate McpGoServer
    McpGoServer->>McpGoServer: Process prompt deletion logic
    McpGoServer-->>McpGoClient: Deletion Confirmation / Status
    deactivate McpGoServer
    McpGoClient-->>ClientApp: Result (e.g., success/failure)
Loading

Sequence Diagram for Customizing Request Headers with mcp-go Client

sequenceDiagram
    participant ClientApp as Application
    participant McpGoClient as mcp-go Client
    participant McpGoServer as mcp-go Server

    ClientApp->>McpGoClient: Configure/Set custom header (e.g., SetRequestHeader("X-Custom-ID", "12345"))
    ClientApp->>McpGoClient: Make API Call (e.g., GetSomeResource())
    activate McpGoClient
    McpGoClient->>McpGoServer: HTTP GET /api/some-resource (Header: "X-Custom-ID: 12345")
    deactivate McpGoClient
    activate McpGoServer
    McpGoServer->>McpGoServer: Process request (may use "X-Custom-ID" header)
    McpGoServer-->>McpGoClient: Response
    deactivate McpGoServer
    McpGoClient-->>ClientApp: Result
Loading

Sequence Diagram for Account Management

sequenceDiagram
    participant User
    participant BankAccountAPI
    participant Database

    User->>BankAccountAPI: createAccount(accountDetails)
    activate BankAccountAPI
    BankAccountAPI->>Database: saveAccount(accountDetails)
    activate Database
    Database-->>BankAccountAPI: Account Created
    deactivate Database
    BankAccountAPI-->>User: accountId
    deactivate BankAccountAPI

    User->>BankAccountAPI: getAccountDetails(accountId)
    activate BankAccountAPI
    BankAccountAPI->>Database: findAccountById(accountId)
    activate Database
    Database-->>BankAccountAPI: accountDetails
    deactivate Database
    BankAccountAPI-->>User: accountDetails
    deactivate BankAccountAPI

    User->>BankAccountAPI: updateAccountDetails(accountId, newDetails)
    activate BankAccountAPI
    BankAccountAPI->>Database: updateAccount(accountId, newDetails)
    activate Database
    Database-->>BankAccountAPI: Update Success
    deactivate Database
    BankAccountAPI-->>User: Success Message
    deactivate BankAccountAPI

    User->>BankAccountAPI: deleteAccount(accountId)
    activate BankAccountAPI
    BankAccountAPI->>Database: deleteAccount(accountId)
    activate Database
    Database-->>BankAccountAPI: Deletion Success
    deactivate Database
    BankAccountAPI-->>User: Success Message
    deactivate BankAccountAPI
Loading

File-Level Changes

Change Details Files
Bump mcp-go module version
  • Update require directive to v0.30.0
  • Regenerate go.sum entries
  • Run go mod tidy to sync dependencies
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Jun 2, 2025

Superseded by #13.

@dependabot dependabot Bot closed this Jun 2, 2025
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/mark3labs/mcp-go-0.30.0 branch June 2, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants