-
Notifications
You must be signed in to change notification settings - Fork 673
Comparing changes
Open a pull request
base repository: mark3labs/mcp-go
base: v0.30.0
head repository: mark3labs/mcp-go
compare: v0.31.0
- 13 commits
- 13 files changed
- 12 contributors
Commits on May 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 243a292 - Browse repository at this point
Copy the full SHA 243a292View commit details
Commits on May 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 64cea69 - Browse repository at this point
Copy the full SHA 64cea69View commit details -
Configuration menu - View commit details
-
Copy full SHA for e581ab8 - Browse repository at this point
Copy the full SHA e581ab8View commit details
Commits on May 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 96f1b3b - Browse repository at this point
Copy the full SHA 96f1b3bView commit details -
fix(server): Implement MCP protocol negotiation. (#341)
According to [the MCP spec](https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle#version-negotiation): > If the server supports the requested protocol version, it MUST respond with > the same version. Otherwise, the server MUST respond with another protocol > version it supports. This adds `mcp.ValidProtocolVersions`, a slice with all currently specified MCP versions. In the `server` package we check if the client provided a known MCP version and, if so, return that version. Otherwise `LATEST_PROTOCOL_VERSION` is returned as previously.
Configuration menu - View commit details
-
Copy full SHA for c7c0e13 - Browse repository at this point
Copy the full SHA c7c0e13View commit details
Commits on May 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a283d23 - Browse repository at this point
Copy the full SHA a283d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc3773 - Browse repository at this point
Copy the full SHA bfc3773View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991b31c - Browse repository at this point
Copy the full SHA 991b31cView commit details -
fix: panic when streamable HTTP server sends notification (#348)
fix: panic when streamable HTTP server sends notification
Configuration menu - View commit details
-
Copy full SHA for e744c19 - Browse repository at this point
Copy the full SHA e744c19View commit details
Commits on May 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d5847c0 - Browse repository at this point
Copy the full SHA d5847c0View commit details -
fix(server): resolve stdio server context cancellation bug (#331)
* fix(server): resolve stdio server context cancellation bug Fix a critical bug in the stdio server's readNextLine function that was causing "Error reading input" and "context cancelled" errors when Claude Desktop attempted to connect to MCP servers. The issue was in the select-default pattern that would immediately bypass context cancellation checks and proceed with blocking ReadString operations even when the context was cancelled. This prevented proper cleanup and caused connection failures. Changes: - Remove problematic select-default pattern in readNextLine goroutine - Simplify the read logic to directly call reader.ReadString('\n') - Maintain proper done channel handling for result communication - Ensure context cancellation is respected throughout the read operation This resolves connection issues introduced in version 0.30.0 where the stdio transport became unreliable for client connections. Fixes: stdio server connection failures with Claude Desktop * refactor: remove redudant signaling channels --------- Co-authored-by: Marcos <marcos@atani.com>
Configuration menu - View commit details
-
Copy full SHA for d250b38 - Browse repository at this point
Copy the full SHA d250b38View commit details -
Add option to StreamableHTTPServer to allow custom http server instan…
…ce (#347) * Add WithStreamableHTTPServer option to StreamableHTTPServer to allow setting a custom HTTP server instance, similar to existing functionality in SSE. * Add better documentation notes to WithHTTPServer and WithStreamableHTTPServer --------- Co-authored-by: Yashwanth H L <yashwanth_hl@intuit.com>
Configuration menu - View commit details
-
Copy full SHA for 7f2ea88 - Browse repository at this point
Copy the full SHA 7f2ea88View commit details -
fix(Srv/stream): add ID field to
PingRequest
(#353)* fix(Srv/stream): add ID field to PingRequest * fix: make session requestID unique and incremental
Configuration menu - View commit details
-
Copy full SHA for 4b71176 - Browse repository at this point
Copy the full SHA 4b71176View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.30.0...v0.31.0