mcp: update return meta in DiscoverResult (SEP-2575) (#1097)

This PR implements the latest changes introduced by
https://github.com/modelcontextprotocol/modelcontextprotocol/pull/3002
This commit is contained in:
Guglielmo Colombo 2026-07-16 16:10:12 +02:00 • committed by GitHub
commit 5cb8339210
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,12 @@ confirmThenGreet
"jsonrpc": "2.0",
"id": 1,
"result": {
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "testServer",
"version": "v1.0.0"
}
},
"content": null,
"requestState": "step=1",
"resultType": "input_required",
@ -71,6 +77,12 @@ confirmThenGreet
"jsonrpc": "2.0",
"id": 2,
"result": {
"_meta": {
"io.modelcontextprotocol/serverInfo": {
"name": "testServer",
"version": "v1.0.0"
}
},
"content": [
{
"type": "text",