You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Interactive Streamable HTTP client | CLI client that exercises tools/resources/prompts, notifications, elicitation, and tasks. |[`src/simpleStreamableHttp.ts`](src/simpleStreamableHttp.ts)|
30
-
| Backwards-compatible client (Streamable HTTP → SSE) | Tries Streamable HTTP first, falls back to legacy SSE on 4xx responses. |[`src/streamableHttpWithSseFallbackClient.ts`](src/streamableHttpWithSseFallbackClient.ts)|
31
-
| SSE polling client (legacy) | Polls a legacy HTTP+SSE server and demonstrates notification handling. |[`src/ssePollingClient.ts`](src/ssePollingClient.ts)|
| Multiple clients in parallel | Connects multiple clients concurrently to the same server. |[`src/multipleClientsParallel.ts`](src/multipleClientsParallel.ts)|
| Interactive Streamable HTTP client | CLI client that exercises tools/resources/prompts, notifications, elicitation, and tasks. |[`src/simpleStreamableHttp.ts`](src/simpleStreamableHttp.ts)|
30
+
| Backwards-compatible client (Streamable HTTP → SSE) | Tries Streamable HTTP first, falls back to legacy SSE on 4xx responses. |[`src/streamableHttpWithSseFallbackClient.ts`](src/streamableHttpWithSseFallbackClient.ts)|
31
+
| SSE polling client (legacy) | Polls a legacy HTTP+SSE server and demonstrates notification handling. |[`src/ssePollingClient.ts`](src/ssePollingClient.ts)|
| Multiple clients in parallel | Connects multiple clients concurrently to the same server. |[`src/multipleClientsParallel.ts`](src/multipleClientsParallel.ts)|
| Streamable HTTP server (stateful) | Feature-rich server with tools/resources/prompts, logging, tasks, sampling, and optional OAuth. |[`src/simpleStreamableHttp.ts`](src/simpleStreamableHttp.ts)|
31
-
| Streamable HTTP server (stateless) | No session tracking; good for simple API-style servers. |[`src/simpleStatelessStreamableHttp.ts`](src/simpleStatelessStreamableHttp.ts)|
32
-
| JSON response mode (no SSE) | Streamable HTTP with JSON-only responses and limited notifications. |[`src/jsonResponseStreamableHttp.ts`](src/jsonResponseStreamableHttp.ts)|
33
-
| Server notifications over Streamable HTTP | Demonstrates server-initiated notifications via GET+SSE. |[`src/standaloneSseWithGetStreamableHttp.ts`](src/standaloneSseWithGetStreamableHttp.ts)|
34
-
| Output schema server | Demonstrates tool output validation with structured output schemas. |[`src/mcpServerOutputSchema.ts`](src/mcpServerOutputSchema.ts)|
35
-
| Form elicitation server | Collects **non-sensitive** user input via schema-driven forms. |[`src/elicitationFormExample.ts`](src/elicitationFormExample.ts)|
36
-
| URL elicitation server | Secure browser-based flows for **sensitive** input (API keys, OAuth, payments). |[`src/elicitationUrlExample.ts`](src/elicitationUrlExample.ts)|
37
-
| Sampling + tasks server | Demonstrates sampling and experimental task-based execution. |[`src/toolWithSampleServer.ts`](src/toolWithSampleServer.ts)|
38
-
| Task interactive server | Task-based execution with interactive server→client requests. |[`src/simpleTaskInteractive.ts`](src/simpleTaskInteractive.ts)|
39
-
| Hono Streamable HTTP server | Streamable HTTP server built with Hono instead of Express. |[`src/honoWebStandardStreamableHttp.ts`](src/honoWebStandardStreamableHttp.ts)|
40
-
| SSE polling demo server | Legacy SSE server intended for polling demos. |[`src/ssePollingExample.ts`](src/ssePollingExample.ts)|
| Streamable HTTP server (stateful) | Feature-rich server with tools/resources/prompts, logging, tasks, sampling, and optional OAuth. |[`src/simpleStreamableHttp.ts`](src/simpleStreamableHttp.ts)|
31
+
| Streamable HTTP server (stateless) | No session tracking; good for simple API-style servers. |[`src/simpleStatelessStreamableHttp.ts`](src/simpleStatelessStreamableHttp.ts)|
32
+
| JSON response mode (no SSE) | Streamable HTTP with JSON-only responses and limited notifications. |[`src/jsonResponseStreamableHttp.ts`](src/jsonResponseStreamableHttp.ts)|
33
+
| Server notifications over Streamable HTTP | Demonstrates server-initiated notifications via GET+SSE. |[`src/standaloneSseWithGetStreamableHttp.ts`](src/standaloneSseWithGetStreamableHttp.ts)|
34
+
| Output schema server | Demonstrates tool output validation with structured output schemas. |[`src/mcpServerOutputSchema.ts`](src/mcpServerOutputSchema.ts)|
35
+
| Form elicitation server | Collects **non-sensitive** user input via schema-driven forms. |[`src/elicitationFormExample.ts`](src/elicitationFormExample.ts)|
36
+
| URL elicitation server | Secure browser-based flows for **sensitive** input (API keys, OAuth, payments). |[`src/elicitationUrlExample.ts`](src/elicitationUrlExample.ts)|
37
+
| Sampling + tasks server | Demonstrates sampling and experimental task-based execution. |[`src/toolWithSampleServer.ts`](src/toolWithSampleServer.ts)|
38
+
| Task interactive server | Task-based execution with interactive server→client requests. |[`src/simpleTaskInteractive.ts`](src/simpleTaskInteractive.ts)|
39
+
| Hono Streamable HTTP server | Streamable HTTP server built with Hono instead of Express. |[`src/honoWebStandardStreamableHttp.ts`](src/honoWebStandardStreamableHttp.ts)|
40
+
| SSE polling demo server | Legacy SSE server intended for polling demos. |[`src/ssePollingExample.ts`](src/ssePollingExample.ts)|
41
41
| Custom (non-standard) methods server | Registers `acme/*` custom request + notification handlers and emits custom progress notifications. |[`src/customMethodExample.ts`](src/customMethodExample.ts)|
/** Result schema is resolved automatically; the second argument is accepted for v1 source compatibility and ignored. */
889
+
/** @deprecated The result schema is resolved internally; use `callTool(params)`. The second argument is accepted for v1 source compatibility and ignored. */
0 commit comments