File tree Expand file tree Collapse file tree 4 files changed +19
-9
lines changed
docs/toolhive/reference/cli Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ thv proxy [flags] SERVER_NAME
69
69
--oidc-client-id string OIDC client ID
70
70
--oidc-issuer string OIDC issuer URL (e.g., https://accounts.google.com)
71
71
--oidc-jwks-url string URL to fetch the JWKS from
72
+ --oidc-skip-opaque-token-validation Allow skipping validation of opaque tokens
72
73
--port int Port for the HTTP proxy to listen on (host port)
73
74
--remote-auth Enable OAuth authentication to remote MCP server
74
75
--remote-auth-callback-port int Port for OAuth callback server during remote authentication (default: 8666) (default 8666)
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
62
62
--oidc-client-id string OIDC client ID
63
63
--oidc-issuer string OIDC issuer URL (e.g., https://accounts.google.com)
64
64
--oidc-jwks-url string URL to fetch the JWKS from
65
+ --oidc-skip-opaque-token-validation Allow skipping validation of opaque tokens
65
66
--otel-enable-prometheus-metrics-path Enable Prometheus-style /metrics endpoint on the main transport port
66
67
--otel-endpoint string OpenTelemetry OTLP endpoint URL (e.g., https://api.honeycomb.io)
67
68
--otel-env-vars stringArray Environment variable names to include in OpenTelemetry spans (comma-separated: ENV1,ENV2)
@@ -71,6 +72,7 @@ thv run [flags] SERVER_OR_IMAGE_OR_PROTOCOL [-- ARGS...]
71
72
--otel-service-name string OpenTelemetry service name (defaults to toolhive-mcp-proxy)
72
73
--permission-profile string Permission profile to use (none, network, or path to JSON file) (default "network")
73
74
--port int Port for the HTTP proxy to listen on (host port)
75
+ --proxy-mode string Proxy mode for stdio transport (sse or streamable-http) (default "sse")
74
76
--secret stringArray Specify a secret to be fetched from the secrets manager and set as an environment variable (format: NAME,target=TARGET)
75
77
--target-host string Host to forward traffic to (only applicable to SSE or Streamable HTTP transport) (default "127.0.0.1")
76
78
--target-port int Port for the container to expose (only applicable to SSE or Streamable HTTP transport)
Original file line number Diff line number Diff line change @@ -23,15 +23,16 @@ thv serve [flags]
23
23
### Options
24
24
25
25
```
26
- -h, --help help for serve
27
- --host string Host address to bind the server to (default "127.0.0.1")
28
- --oidc-audience string Expected audience for the token
29
- --oidc-client-id string OIDC client ID
30
- --oidc-issuer string OIDC issuer URL (e.g., https://accounts.google.com)
31
- --oidc-jwks-url string URL to fetch the JWKS from
32
- --openapi Enable OpenAPI documentation endpoints (/api/openapi.json and /api/doc)
33
- --port int Port to bind the server to (default 8080)
34
- --socket string UNIX socket path to bind the server to (overrides host and port if provided)
26
+ -h, --help help for serve
27
+ --host string Host address to bind the server to (default "127.0.0.1")
28
+ --oidc-audience string Expected audience for the token
29
+ --oidc-client-id string OIDC client ID
30
+ --oidc-issuer string OIDC issuer URL (e.g., https://accounts.google.com)
31
+ --oidc-jwks-url string URL to fetch the JWKS from
32
+ --oidc-skip-opaque-token-validation Allow skipping validation of opaque tokens
33
+ --openapi Enable OpenAPI documentation endpoints (/api/openapi.json and /api/doc)
34
+ --port int Port to bind the server to (default 8080)
35
+ --socket string UNIX socket path to bind the server to (overrides host and port if provided)
35
36
```
36
37
37
38
### Options inherited from parent commands
Original file line number Diff line number Diff line change @@ -362,6 +362,9 @@ components:
362
362
permission_profile :
363
363
description : Permission profile to apply
364
364
type : string
365
+ proxy_mode :
366
+ description : Proxy mode to use
367
+ type : string
365
368
secrets :
366
369
description : Secret parameters to inject
367
370
items :
@@ -470,6 +473,9 @@ components:
470
473
v1.oidcOptions :
471
474
description : OIDC configuration options
472
475
properties :
476
+ allow_opaque_tokens :
477
+ description : Allow opaque tokens (non-JWT) for OIDC validation
478
+ type : boolean
473
479
audience :
474
480
description : Expected audience
475
481
type : string
You can’t perform that action at this time.
0 commit comments