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
> When using this in a remote environment, make sure to allow the header parameter `mcp-session-id` in CORS. Otherwise, it may result in a `Bad Request: No valid session ID provided` error.
509
+
>
510
+
> For example, in Node.js you can configure it like this:
@@ -579,6 +600,22 @@ This stateless approach is useful for:
579
600
- RESTful scenarios where each request is independent
580
601
- Horizontally scaled deployments without shared session state
581
602
603
+
#### DNS Rebinding Protection
604
+
605
+
The Streamable HTTP transport includes DNS rebinding protection to prevent security vulnerabilities. By default, this protection is **disabled** for backwards compatibility.
606
+
607
+
**Important**: If you are running this server locally, enable DNS rebinding protection:
608
+
609
+
```typescript
610
+
const transport =newStreamableHTTPServerTransport({
0 commit comments