Problem
The sep-2322-client-request-state scenario's mock server does not implement server/discover. It dispatches only notifications/initialized, tools/list, tools/call, and elicitation/create; any other method falls through to default: -32601 Method not found.
This makes the scenario unreachable for clients that probe with server/discover first per spec.
Spec text
From Versioning and Compatibility:
Servers MUST implement server/discover. Clients MAY call it before sending any other requests to learn the server's supported versions up front [...]
Since the spec mandates server/discover for every modern server, a draft-only scenario mock should provide it too, otherwise it can't be used to evaluate a spec-conformant client.
Suggested fix
Add a server/discover handler to the sep-2322-client-request-state scenario server that returns a minimal DiscoverResult advertising the draft protocol version, matching what the companion request-metadata scenario already does.
Problem
The
sep-2322-client-request-statescenario's mock server does not implementserver/discover. It dispatches onlynotifications/initialized,tools/list,tools/call, andelicitation/create; any other method falls through todefault: -32601 Method not found.This makes the scenario unreachable for clients that probe with
server/discoverfirst per spec.Spec text
From Versioning and Compatibility:
Since the spec mandates
server/discoverfor every modern server, a draft-only scenario mock should provide it too, otherwise it can't be used to evaluate a spec-conformant client.Suggested fix
Add a
server/discoverhandler to thesep-2322-client-request-statescenario server that returns a minimalDiscoverResultadvertising the draft protocol version, matching what the companionrequest-metadatascenario already does.