| title | thv llm proxy start | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv llm proxy start` | ||
| last_update |
|
||
| slug | thv_llm_proxy_start | ||
| mdx |
|
Start the LLM gateway localhost proxy
Start a localhost reverse proxy that injects fresh OIDC tokens for AI tools that only accept static API keys (e.g. Cursor).
The proxy runs in the foreground and blocks until interrupted (Ctrl+C). To run it in the background, use your shell or a process manager:
thv llm proxy start &
thv llm proxy start [flags]
-h, --help help for start
--skip-browser Print the OIDC authorization URL instead of opening a browser, then wait for the callback. Use in headless/SSH/CI environments where no system browser is available.
--tls-skip-verify Skip TLS certificate verification for the upstream gateway (overrides stored config; local dev only)
--debug Enable debug mode
- thv llm proxy - Manage the LLM gateway localhost proxy