Commit 76b7016
committed
Arm the Mcp-Param server-validation conformance checks with an x-mcp-header fixture tool
All five SEP-2243 Mcp-Param-* server-validation checks in
http-custom-header-server-validation skipped silently because no
everything-server tool carried an x-mcp-header annotation — the scenario
printed a green 0-passed/0-failed in every leg that selected it.
Add a test_x_mcp_header tool whose region parameter carries the
annotation via json_schema_extra (mirroring the typescript-sdk fixture).
The checks now execute: the accept-path checks pass and the reject-path
checks fail because server-side Mcp-Param validation is not implemented
yet, so the scenario is baselined in both expected-failures files. The
stale-entry rule forces the entries out when validation lands.1 parent d372c07 commit 76b7016
3 files changed
Lines changed: 30 additions & 2 deletions
File tree
- .github/actions/conformance
- examples/servers/everything-server/mcp_everything_server
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| |||
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
330 | 348 | | |
331 | 349 | | |
332 | 350 | | |
| |||
0 commit comments