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
The HTTP Stream transport supports two response modes:
314
+
315
+
1.**Stream Mode** (Default): All responses are sent over a persistent SSE connection. This is ideal for real-time applications.
316
+
2.**Batch Mode**: Responses are collected and sent as a single JSON-RPC response. This is suitable for traditional REST-like integrations.
317
+
318
+
#### HTTP Stream Transport Features
319
+
320
+
-**Session Management**: Automatic session tracking and management
321
+
-**Stream Resumability**: Optional support for resuming streams after connection loss
322
+
-**Batch Processing**: Support for JSON-RPC batch requests/responses
323
+
-**Comprehensive Error Handling**: Detailed error responses with JSON-RPC error codes
324
+
270
325
## Authentication
271
326
272
327
MCP Framework provides optional authentication for SSE endpoints. You can choose between JWT and API Key authentication, or implement your own custom authentication provider.
0 commit comments