Skip to content

mcp: reject calls to methodDiscover for <20260728 requests - #1084

Merged
guglielmo-san merged 2 commits into
mainfrom
guglielmoc/reject_method_on_new_protocol
Jul 14, 2026
Merged

guglielmo-san merged 2 commits into
mainfrom
guglielmoc/reject_method_on_new_protocol

Conversation

@guglielmo-san

@guglielmo-san guglielmo-san commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds a gate for requests towards methodDiscover if it is coming from a client that does not support the 20260728 protocol version

@guglielmo-san guglielmo-san changed the title mcp: reject calls to methodDiscover and subscriptionsListen mcp: reject calls to methodDiscover for >20260728 requests Jul 14, 2026
@guglielmo-san guglielmo-san changed the title mcp: reject calls to methodDiscover for >20260728 requests mcp: reject calls to methodDiscover for >20260728 requests Jul 14, 2026
@guglielmo-san guglielmo-san changed the title mcp: reject calls to methodDiscover for >20260728 requests mcp: reject calls to methodDiscover for <20260728 requests Jul 14, 2026
@guglielmo-san
guglielmo-san merged commit 7fde7d3 into main Jul 14, 2026
9 checks passed
@guglielmo-san
guglielmo-san deleted the guglielmoc/reject_method_on_new_protocol branch July 14, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants