File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,30 @@ export class ServerSSEPollingScenario implements ClientScenario {
5050 return checks ;
5151 }
5252
53+ // Server may require session context for standalone SSE GET
54+ if ( response . status === 400 ) {
55+ checks . push ( {
56+ id : 'server-sse-polling-endpoint' ,
57+ name : 'ServerSSEPollingEndpoint' ,
58+ description : 'Server supports SSE GET endpoint' ,
59+ status : 'INFO' ,
60+ timestamp : new Date ( ) . toISOString ( ) ,
61+ specReferences : [
62+ {
63+ id : 'SEP-1699' ,
64+ url : 'https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1699'
65+ }
66+ ] ,
67+ details : {
68+ serverUrl,
69+ statusCode : response . status ,
70+ message :
71+ 'Server requires session context for standalone SSE GET endpoint (400 Bad Request)'
72+ }
73+ } ) ;
74+ return checks ;
75+ }
76+
5377 if ( ! response . ok ) {
5478 checks . push ( {
5579 id : 'server-sse-polling-connection' ,
You can’t perform that action at this time.
0 commit comments