php-sdk/tests/Unit/Server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christopher Hertel de35ca40bf
[Server][Tests] Validate the standard MCP request headers (SEP-2243) (#445)
The revision puts the method, the subject name and the mirrored arguments in
headers so an intermediary can route and cache without parsing the body. A
header that contradicts the body it travels with therefore has to be
refused, not ignored: StandardHeaderValidator compares each against the
request and answers -32020 on a mismatch.

Set with Builder::setHeaderValidator(); a transport with no header layer is
unaffected.
2026-08-18 22:27:05 +02:00
..
Extension [Schema][Server] Add the extensions framework SEP-2133 defines (#443) 2026-08-18 20:47:27 +02:00
Handler/Request [Capability] Harden structuredContent extraction (#417) 2026-08-15 04:03:20 +02:00
Session [Server] Throw the SDK's own RuntimeException from FileSessionStore (#404) 2026-08-14 21:29:26 +02:00
Stateless [Server][Tests] Validate the standard MCP request headers (SEP-2243) (#445) 2026-08-18 22:27:05 +02:00
Transport [Tests] Pin that protected resource metadata advertises no scope of its own (#440) 2026-08-18 20:20:55 +02:00
BuilderTest.php [Schema][Server] Add the extensions framework SEP-2133 defines (#443) 2026-08-18 20:47:27 +02:00
ClientGatewayTest.php [Schema][Client][Server] Close MCP Apps gaps: extension negotiation checks (#429) 2026-08-18 01:46:53 +02:00
ProtocolTest.php [Schema][Server] Preserve request id in JSON-RPC error responses instead of fabricating id:"" (#379) 2026-08-18 15:47:27 +02:00
RequestContextTest.php [Capability] Harden structuredContent extraction (#417) 2026-08-15 04:03:20 +02:00
SessionSubscriptionManagerTest.php Add missing handler for resource subscribe and unsubscribe (#220) 2026-02-18 00:11:35 +01:00