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
|`origins`|`List<string>`|`[]`| List of allowed origins (exact matches). Use `["*"]` to allow any origin (not recommended in production) |
52
+
|`match_origins`|`List<string>`|`[]`| List of regex patterns to match allowed origins (e.g., `"^https://localhost:[0-9]+$"`) |
53
+
|`allow_any_origin`|`bool`|`false`| Allow requests from any origin. Cannot be used with `allow_credentials: true`|
54
+
|`allow_credentials`|`bool`|`false`| Allow credentials (cookies, authorization headers) in CORS requests |
55
+
|`allow_methods`|`List<string>`|`["GET", "POST", "OPTIONS"]`| List of allowed HTTP methods |
56
+
|`allow_headers`|`List<string>`|`["content-type", "mcp-protocol-version", "mcp-session-id", "traceparent", "tracestate"]`| List of allowed request headers |
57
+
|`expose_headers`|`List<string>`|`["mcp-session-id", "traceparent", "tracestate"]`| List of response headers exposed to the browser (includes MCP and W3C Trace Context headers)|
58
+
|`max_age`|`number`|`86400`| Maximum age (in seconds) for preflight cache |
0 commit comments