fix: stamp server info on graceful subscription results (#1078)

* fix: stamp server info on graceful subscription results

* fix: expose subscription server info metadata

---------

Co-authored-by: mrcs64 <9069178+mrcs64@users.noreply.github.com>
This commit is contained in:
mrcs64 2026-07-29 19:34:33 +02:00 • committed by GitHub
commit cb50ae7890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 94 additions and 26 deletions

View file

@ -3450,6 +3450,14 @@
"SubscriptionsListenResultMeta": {
"type": "object",
"properties": {
"io.modelcontextprotocol/serverInfo": {
"description": "Identifies the server software producing the response. Servers SHOULD include this field on every response unless specifically configured not to do so.",
"allOf": [
{
"$ref": "#/definitions/Implementation"
}
]
},
"io.modelcontextprotocol/subscriptionId": {
"$ref": "#/definitions/NumberOrString"
}

View file

@ -3450,6 +3450,14 @@
"SubscriptionsListenResultMeta": {
"type": "object",
"properties": {
"io.modelcontextprotocol/serverInfo": {
"description": "Identifies the server software producing the response. Servers SHOULD include this field on every response unless specifically configured not to do so.",
"allOf": [
{
"$ref": "#/definitions/Implementation"
}
]
},
"io.modelcontextprotocol/subscriptionId": {
"$ref": "#/definitions/NumberOrString"
}