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
Copy file name to clipboardExpand all lines: router/pkg/config/config.schema.json
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2071,6 +2071,25 @@
2071
2071
"type": "boolean",
2072
2072
"default": false,
2073
2073
"description": "Expose the full GraphQL schema through MCP. When enabled, AI models can request the complete schema of your API."
2074
+
},
2075
+
"forward_headers": {
2076
+
"type": "object",
2077
+
"description": "Configuration for forwarding additional HTTP headers from MCP requests to GraphQL requests. The Authorization header is always forwarded regardless of this configuration to maintain backward compatibility. Use this to forward additional headers like tenant IDs, trace IDs, or custom authentication tokens.",
2078
+
"additionalProperties": false,
2079
+
"properties": {
2080
+
"enabled": {
2081
+
"type": "boolean",
2082
+
"default": false,
2083
+
"description": "Enable forwarding of additional headers beyond Authorization. When false (default), only the Authorization header is forwarded. When true, headers matching the allow_list are also forwarded."
2084
+
},
2085
+
"allow_list": {
2086
+
"type": "array",
2087
+
"description": "List of additional header names or regex patterns to forward (beyond Authorization which is always forwarded). Supports exact matches (e.g., 'X-Tenant-ID') and regex patterns (e.g., 'X-.*' for all headers starting with 'X-'). Header matching is case-insensitive.",
0 commit comments