Merge pull request #2281 from modelcontextprotocol/v2/fix/2206-duplicate-resource-uri-keys

fix: key resource list rows by position so duplicate URIs cannot collide
This commit is contained in:
Cliff Hall 2026-09-06 22:29:38 -04:00 • committed by GitHub
commit 849eb08db0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,12 @@
{
"serverInfo": {
"name": "duplicate-resource-uris",
"version": "1.0.0"
},
"resources": [{ "preset": "numbered_resources", "params": { "count": 4 } }],
"duplicateResourceUris": ["test://resource_1", "test://resource_3"],
"transport": {
"type": "streamable-http",
"port": 3143
}
}