Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modelcontextprotocol/go-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: modelcontextprotocol/go-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.1
Choose a head ref
  • 9 commits
  • 14 files changed
  • 6 contributors

Commits on Aug 25, 2025

  1. go.mod: update to fixed jsonschema (#370)

    Update to a version that doesn't copy descriptions of subschemas.
    
    Fixes #366.
    jba authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    73dd76b View commit details
    Browse the repository at this point in the history
  2. relax requirements on resource URIs (#365)

    remove checks for URI scheme; nothing in the spec requires one
    
    # Background
    
    When adding resource templates, we are currently doing checks for
    schemes on absolute uris. It is still common for MCP servers to use
    custom uris that would not pass these checks. For example, if the
    official GitHub MCP server were to use this sdk, it would show failures
    like:
    
    ```
    "repo://{owner}/{repo}/contents{/path*}": parse "repo://{owner}/{repo}/contents{/path*}": invalid character "{" in host name
    "repo://{owner}/{repo}/refs/heads/{branch}/contents{/path*}": parse "repo://{owner}/{repo}/refs/heads/{branch}/contents{/path*}": invalid character "{" in host name
    "repo://{owner}/{repo}/sha/{sha}/contents{/path*}": parse "repo://{owner}/{repo}/sha/{sha}/contents{/path*}": invalid character "{" in host name
    invalid resource template uri "repo://{owner}/{repo}/refs/pull/{prNumber}/head/contents{/path*}": parse "repo://{owner}/{repo}/refs/pull/{prNumber}/head/contents{/path*}": invalid character "{" in host name
    "repo://{owner}/{repo}/refs/tags/{tag}/contents{/path*}": parse "repo://{owner}/{repo}/refs/tags/{tag}/contents{/path*}": invalid character "{" in host name
    ```
    
    The wikipedia MCP would also show problems with missing schemes.
    
    ```
    "/search/{query}": <nil>
    "/article/{title}": <nil>
    "/summary/{title}": <nil>
    "/summary/{title}/query/{query}/length/{max_length}": <nil>
    "/summary/{title}/section/{section_title}/length/{max_length}": <nil>
    "/sections/{title}": <nil>
    "/links/{title}": <nil>
    "/facts/{title}/topic/{topic_within_article}/count/{count}": <nil>
    "/coordinates/{title}": <nil>
    ```
    slimslenderslacks authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    c1c2292 View commit details
    Browse the repository at this point in the history
  3. examples/server/memory: fix misleading code (#369)

    Tools shouldn't both set StructuredContent and return a typed output.
    Remove the assignment.
    jba authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    03c5113 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. mcp/examples: move server example into example folder (#357)

    For better organization.
    samthanawalla authored Aug 26, 2025
    Configuration menu
    Copy the full SHA
    392f719 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2025

  1. mcp/streamable: fixes broken DELETE request on connection close

    Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
    mathetake authored and findleyr committed Aug 27, 2025
    Configuration menu
    Copy the full SHA
    c24d985 View commit details
    Browse the repository at this point in the history
  2. address review comments

    Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
    mathetake authored and findleyr committed Aug 27, 2025
    Configuration menu
    Copy the full SHA
    a76bae3 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. mcp: fix the type of the Complete handler

    The Complete handler was returning an abstract Result type, rather than concrete CompleteResult type.
    
    Fixes #375
    zhaohuabing authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    f6118aa View commit details
    Browse the repository at this point in the history
  2. mcp/streamable: use event store to fix unbounded memory issues (#335)

    This CL utilizes the event store to write outgoing messages and removes
    the unbounded outgoing data structure.
    
    It also adds a new interface [EventStore.Open]
    
    For #190
    samthanawalla authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    ddaf35e View commit details
    Browse the repository at this point in the history
  3. examples/client: add a loadtest command

    Add a loadtest client example, to help confirm performance of our
    streamable transport implementation.
    
    For #190
    findleyr authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    8f11a86 View commit details
    Browse the repository at this point in the history
Loading