Commit 4f75476
committed
Exercise the SEP-2575 stateless probes and SEP-2243 resource/prompt headers in the conformance fixtures
Two conformance scenarios were green against this SDK without measuring
anything.
server-stateless probes tools named test_streaming_elicitation and
test_logging_tool for its no-independent-requests-on-stream and
no-log-without-logLevel checks. The everything-server had neither, and
MCPServer answers an unknown tool with an isError result rather than a
JSON-RPC error, so the harness's not-testable guard never fired and both
checks passed on "Unknown tool". test_streaming_elicitation is now a tool
that genuinely needs elicitation, asked through a Resolve() dependency:
on 2026-07-28 the question comes back as an InputRequiredResult instead
of an elicitation/create on the response stream (the behaviour the check
enforces), on 2025-11-25 it is a mid-call elicitation, and without a
declared elicitation capability it is rejected with -32021.
test_logging_tool logs once on the request-scoped channel so the
per-request logLevel gate is what the check observes.
The client's http-standard-headers handler only listed and called a
tool, so the Mcp-Method/Mcp-Name checks for resources/list,
resources/read, prompts/list and prompts/get were reported SKIPPED. It
now reads the first resource and gets the first prompt as well (3 -> 9
checks judged; initialize/notifications/initialized stay SKIPPED because
the modern path never sends them).
No-Verification-Needed: conformance fixtures only1 parent c55d7f7 commit 4f75476
2 files changed
Lines changed: 49 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
315 | 322 | | |
316 | | - | |
317 | | - | |
318 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
319 | 332 | | |
320 | 333 | | |
321 | 334 | | |
| |||
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| |||
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
373 | 403 | | |
374 | 404 | | |
375 | 405 | | |
| |||
0 commit comments