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
|`central.url`|`STACKROX_MCP__CENTRAL__URL`| string | Yes | central.stackrox:8443 | URL of StackRox Central instance |
74
-
|`central.insecure`|`STACKROX_MCP__CENTRAL__INSECURE`| bool | No |`false`| Skip TLS certificate verification |
75
-
|`central.force_http1`|`STACKROX_MCP__CENTRAL__FORCE_HTTP1`| bool | No |`false`| Force HTTP/1.1 instead of HTTP/2 |
74
+
|`central.auth_type`|`STACKROX_MCP__CENTRAL__AUTH_TYPE`| string | Yes |`passthrough`| Authentication type: `passthrough` (use token from MCP client headers) or `static` (use configured token) |
75
+
|`central.api_token`|`STACKROX_MCP__CENTRAL__API_TOKEN`| string | Conditional | - | API token for static authentication (required when `auth_type` is `static`, must not be set when `passthrough`) |
76
+
|`central.insecure_skip_tls_verify`|`STACKROX_MCP__CENTRAL__INSECURE_SKIP_TLS_VERIFY`| bool | No |`false`| Skip TLS certificate verification (use only for testing) |
77
+
|`central.force_http1`|`STACKROX_MCP__CENTRAL__FORCE_HTTP1`| bool | No |`false`| Route gRPC traffic through the HTTP/1 bridge (gRPC-Web/WebSockets) for environments that block HTTP/2 |
78
+
|`central.request_timeout`|`STACKROX_MCP__CENTRAL__REQUEST_TIMEOUT`| duration | No |`30s`| Maximum time to wait for a single request to complete (must be positive) |
79
+
|`central.max_retries`|`STACKROX_MCP__CENTRAL__MAX_RETRIES`| int | No |`3`| Maximum number of retry attempts (must be 0-10) |
80
+
|`central.initial_backoff`|`STACKROX_MCP__CENTRAL__INITIAL_BACKOFF`| duration | No |`1s`| Initial backoff duration for retries (must be positive) |
81
+
|`central.max_backoff`|`STACKROX_MCP__CENTRAL__MAX_BACKOFF`| duration | No |`10s`| Maximum backoff duration for retries (must be positive and >= initial_backoff) |
82
+
83
+
When `central.force_http1` is enabled, the client uses the [StackRox gRPC-over-HTTP/1 bridge](https://github.com/stackrox/go-grpc-http1) to downgrade requests. This should only be turned on when Central is reached through an HTTP/1-only proxy or load balancer, as client-side streaming remains unsupported in downgrade mode.
0 commit comments