@@ -44,19 +44,19 @@ These fields are under the top-level `graphos` key and define your GraphOS graph
4444| ` apollo_registry_url ` | ` URL ` | | The URL to use for Apollo's registry |
4545| ` apollo_uplink_endpoints ` | ` URL ` | | List of uplink URL overrides. You can also provide this with the ` APOLLO_UPLINK_ENDPOINTS ` environment variable |
4646
47- ### Headers
47+ ### Static headers
4848
49- The ` headers ` option allows you to specify a list of static, hard-coded headers and value . These headers are included in all GraphQL requests.
49+ The ` headers ` option enables you to specify a list of static, hard-coded headers and values . These are included in all GraphQL requests.
5050
5151``` yaml title="mcp.yaml"
5252headers : { "apollographql-client-name": "my-mcp-server" }
5353` ` `
5454
55- To forward header values from the client, use the [forward headers ](#forward -headers) option .
55+ To forward dynamic header values from the client, use the [` forward_headers` option ](#forwarding -headers) instead .
5656
57- ### Forward headers
57+ # ## Forwarding headers
5858
59- The ` forward_headers` option allows you to forward specific headers from incoming MCP client requests to your GraphQL API.
59+ The `forward_headers` option allows you to forward specific headers from incoming MCP client requests to your GraphQL API.
6060
6161This is useful for :
6262- Multi-tenant applications (forwarding tenant IDs)
@@ -67,6 +67,8 @@ This is useful for:
6767
6868Header names should match exactly but are case-insensitive.
6969
70+ Header values are forwarded as-is, according to what the MCP client provides.
71+
7072Hop-by-hop headers (like `connection`, `transfer-encoding`) are automatically blocked for security.
7173
7274` ` ` yaml title="mcp.yaml"
@@ -78,7 +80,7 @@ forward_headers:
7880
7981<Caution>
8082
81- Don't use header forwarding to pass through sensitive credentials such as API keys or access tokens.
83+ Don't use header forwarding to pass through sensitive credentials such as API keys or access tokens.
8284
8385<br/><br/>
8486
0 commit comments