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: mark3labs/mcp-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.20.1
Choose a base ref
...
head repository: mark3labs/mcp-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.21.0
Choose a head ref
  • 5 commits
  • 17 files changed
  • 5 contributors

Commits on Apr 16, 2025

  1. Add DefaultArray (#67)

    Allows to specify the default for an array parameter.
    
    Signed-off-by: Tibor Vass <teabee89@gmail.com>
    tiborvass authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    2e084df View commit details
    Browse the repository at this point in the history
  2. Unified Client Transport Layer for Streamable HTTP Support (#114)

    * add transport layer interface
    
    * universal client
    
    * impl sse & stdio transport based on the original client
    
    * refactor old client to provide compibility
    
    * rename
    
    * remove old client types
    
    * add test for stdio transport
    
    * rename 'done' to 'closed', to distinguish with ctx.Done
    
    * add cancelSSEStream for better handling of close
    
    * fix connection leak when start timeout
    
    * avoid multiple starting
    
    * use atomic for closed to be more natural compared to started
    
    * fix leak of timer
    
    * Create sse_test.go
    
    * enforce test
    
    * add comment
    
    * sse: add custom header in start request
    
    * update comment
    
    * comment
    
    * cover #88
    
    * cover #107
    
    * fix demo sse server in race test
    leavez authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    342c14d View commit details
    Browse the repository at this point in the history
  3. fix(tools): add omitempty to properties (#116)

    When there is no input to a tool, the `Properies` map is `nil` if the
    Tool is not created using `NewTool`. This causes the `property` field to
    be set to `null` and clients such as `claude-desktop` to skip the tools
    silently.
    
    Annotating the field as `omitempty` is inline with the behavior of the
    [typescript-sdk](https://github.com/modelcontextprotocol/typescript-sdk/blob/fbdeb06a4185ba2f7581603a768cd7171c64d6fc/src/types.ts#L749).
    jkoelker authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    7335e3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fa49a8 View commit details
    Browse the repository at this point in the history
  5. introduce NewToolResultErrorWithErr and update docs (#140)

    * introduce NewToolResultErrorWithErr and update docs
    
    * rename to NewToolResultErrorFromErr
    deviantony authored Apr 16, 2025
    Configuration menu
    Copy the full SHA
    37ac814 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy