vulkro-sf serve
Opens the Vulkro for Salesforce local console in your browser. The server runs on your machine and sends no data anywhere.
vulkro-sf serve
vulkro-sf serve --port 7070 --no-browser
The console shows your scans, findings and triage, the code and security views, org posture, anti-patterns and the AgentExchange (formerly AppExchange) readiness report. Scan history is kept in a local SQLite database. Stop it with Ctrl-C.
By default it binds 127.0.0.1 on a free port and requires an access token. A new token is created on every start and the printed link carries it (http://127.0.0.1:<port>/?token=...). Anyone with the link can use the console until you stop it. Scripts send the token as Authorization: Bearer <token>.
| Flag | What it does |
|---|---|
--port <n> | Use this port instead of a free one. Overrides VULKRO_SF_PORT. |
--no-browser | Do not open the browser (headless or CI). |
Environment variables
| Variable | What it does |
|---|---|
VULKRO_SERVE_TOKEN | Use this token instead of a generated one. Required for any non-loopback bind. Shared with vulkro serve. |
VULKRO_SF_BIND | Bind address. Default 127.0.0.1. 0.0.0.0 is refused unless VULKRO_SERVE_TOKEN is set; put it behind a TLS reverse proxy. |
VULKRO_SERVE_ALLOWED_HOSTS | Extra hosts whose Origin is accepted, for a reverse proxy that rewrites Host. |
VULKRO_SF_PORT | Fixed port. |
VULKRO_SF_DATA_DIR | Database and state folder. Default ~/.vulkro-sf/data. |
Exit codes
| Code | Meaning |
|---|---|
0 | Served and shut down cleanly. |
2 | Error (bad bind address, network bind without a token, port in use, data folder not writable). |
See also: Share the local console on a team server
Command reference
Generated from vulkro-sf serve --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Open the Vulkro for Salesforce console in your browser. Everything runs on this machine.
vulkro-sf serve [OPTIONS]
Options
| Flag | Description |
|---|---|
--port <PORT> | Bind a specific port instead of letting the OS pick a free one. Overrides VULKRO_SF_PORT. |
--no-browser | Do not auto-open the browser after the server starts. |
-v, --verbose... | Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins) |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro-sf serve --help
Open the Vulkro for Salesforce console in your browser. Everything runs on this machine.
Launch the embedded Vulkro for Salesforce desktop console.
Boots a local Axum server on a random high port, serves the embedded React UI from `web-ui/sf/dist/`, and auto-opens your default browser. The server runs entirely on your machine; no data is sent anywhere.
Stop with Ctrl-C. Use `--no-browser` for headless / CI usage.
The console requires an access token. By default a new random token is minted on every start and the printed URL carries it (`http://127.0.0.1:<port>/?token=...`); that link opens the console and signs the browser in. Anyone who has the link can use the console until you stop the server. Scripts that call the local API send the token as `Authorization: Bearer <token>`; to know it in advance, set VULKRO_SERVE_TOKEN yourself. A request without the token gets HTTP 401, and a request another web page sends (a foreign `Origin`) gets 403.
Environment variables (for self-hosted / container deployments):
VULKRO_SERVE_TOKEN The access token to require instead of a generated one. It is not printed: sign in with it at the console root, open `<console URL>/?token=<token>`, or send it as a bearer header. Same variable the general `vulkro serve` console honours, so one secret covers both. Required for any non-loopback bind. VULKRO_SERVE_ALLOWED_HOSTS Comma-separated hosts whose `Origin` the console also accepts (for example `sf.internal:8443`), for a console behind a reverse proxy that rewrites `Host`. Shared with `vulkro serve`. VULKRO_SF_BIND Bind IP. Default 127.0.0.1 (loopback, local-only). Set to 0.0.0.0 to expose the console on the network. The console serves live org posture, so a non-loopback bind is REFUSED unless VULKRO_SERVE_TOKEN is set, and should still sit behind a TLS-terminating reverse proxy. VULKRO_SF_PORT Fixed port. Overridden by --port. Default: the OS picks a free high port. VULKRO_SF_DATA_DIR Directory for the SQLite DB and on-disk state. Default ~/.vulkro-sf/data. Point this at a mounted volume when running in a container.
On a loopback bind the console also pins the Host header to localhost / 127.0.0.1, so a web page cannot reach it by pointing its own DNS name at loopback (DNS rebinding).
Exit codes: 0 = served and shut down cleanly; 2 = error (bad bind address, an unauthenticated network bind, port in use, or data-dir not writable).
Usage: vulkro-sf serve [OPTIONS]
Options:
--port <PORT>
Bind a specific port instead of letting the OS pick a free one. Overrides VULKRO_SF_PORT
--no-browser
Do not auto-open the browser after the server starts
-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')