Command line
Use the VaultDock CLI to run MCP stdio, generate .env.example files, inject keys, and manage backups.
Run these commands after setting up the VaultDock desktop app. If the executable is outside your PATH, use its full path. On Windows, use the installed vaultdock.com for terminal commands.
| Command | What it does |
|---|---|
vaultdock hub stdio --client claude-code |
Starts the MCP connection over standard input/output for an AI app. |
vaultdock hub env example [--file F] [NAME ...] |
Creates or extends .env.example with blank entries for variable names from the nearby .env or the command arguments. |
vaultdock hub run [--file F] -- <command> [args] |
Runs a command with project keys named in .env.example or the specified file. The values go into the child process environment. |
vaultdock hub secret get <NAME> --reveal |
Prints a key after you confirm your identity with the operating system. |
vaultdock hub backup list |
Lists database backups. |
vaultdock hub backup restore <name> |
Queues a database restore for the next start. |