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", "authorization"]`| List of allowed request headers |
57
+
|`expose_headers`|`List<string>`|`[]`| List of response headers exposed to the browser (e.g., `["mcp-session-id"]`) |
58
+
|`max_age`|`number`|`86400`| Maximum age (in seconds) for preflight cache |
59
+
43
60
### Health checks
44
61
45
62
These fields are under the top-level `health_check` key. Learn more about [health checks](/apollo-mcp-server/health-checks).
@@ -154,7 +171,6 @@ The available fields depend on the value of the nested `type` key:
154
171
|`port`|`5000` (default) |`u16`| The port to bind to |
155
172
|`stateful_mode`|`true` (default) |`bool`| Flag to enable or disable stateful mode and session management. |
156
173
157
-
158
174
##### SSE (Deprecated, use StreamableHTTP)
159
175
160
176
| Option | Value | Value Type | Description |
@@ -167,14 +183,14 @@ The available fields depend on the value of the nested `type` key:
167
183
168
184
These fields are under the top-level `transport` key, nested under the `auth` key. Learn more about [authorization and authentication](/apollo-mcp-server/auth).
0 commit comments