mcp: fix conformance tests (#132)

- Use new AddXXX API.

- Update goldens to reflect new capability logic.

Fixes #131.
This commit is contained in:
Jonathan Amsterdam 2025-07-14 12:47:58 -04:00 • committed by GitHub
commit de4b788e59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 75 deletions

View file

@ -29,12 +29,6 @@ code_review
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}
},
"protocolVersion": "2024-11-05",

View file

@ -47,14 +47,8 @@ info.txt
"capabilities": {
"completions": {},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}
},
"protocolVersion": "2024-11-05",

View file

@ -30,12 +30,6 @@ greet
"capabilities": {
"completions": {},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}

View file

@ -19,18 +19,9 @@ response with its latest supported version.
"result": {
"capabilities": {
"completions": {},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}
"logging": {}
},
"protocolVersion": "2025-03-26",
"protocolVersion": "2025-06-18",
"serverInfo": {
"name": "testServer",
"version": "v1.0.0"

View file

@ -19,16 +19,7 @@ support.
"result": {
"capabilities": {
"completions": {},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
},
"tools": {
"listChanged": true
}
"logging": {}
},
"protocolVersion": "2024-11-05",
"serverInfo": {