CLI Commands¶
Use dbt-nova in two modes:
- No subcommand: start MCP server (backward compatible behavior)
- Subcommand: run one-shot CLI commands and exit
Command Tree¶
dbt-nova
├── server start
├── manifest load [--manifest-path|--manifest-uri] [--storage-instance-id] [--cleanup-storage-on-start] [--read-only] [--json]
├── manifest reload [--manifest-path|--manifest-uri] [--refresh-secs] [--storage-instance-id] [--cleanup-storage-on-start] [--read-only] [--json]
├── tool call <tool_name> [--params-json|--params-file|--params-stdin] [--manifest-path|--manifest-uri] [--storage-instance-id] [--cleanup-storage-on-start] [--read-only] [--json]
├── config show [--defaults] [--json]
├── config validate [--json]
├── storage inspect [--storage-instance-id] [--json]
├── storage prune [--max-keep] [--max-bytes] [--storage-instance-id] [--json]
├── storage cleanup [--storage-instance-id] [--json]
└── health check [--manifest-path|--manifest-uri] [--json]
No-Arg Compatibility¶
dbt-nova with no subcommand still starts the MCP server:
Equivalent explicit form:
Common Examples¶
Build and inspect manifest indexes¶
Rebuild manifest indexes with override settings¶
dbt-nova manifest reload \
--manifest-path /path/to/target/manifest.json \
--refresh-secs 300 \
--json
One-shot tool execution¶
dbt-nova tool call search \
--params-json '{"query":"orders","limit":5}' \
--manifest-path /path/to/target/manifest.json
Health diagnostics¶
tool call Parameter Input Modes¶
Exactly one of the following may be used at a time:
--params-json '{"query":"orders"}'--params-file /path/to/params.json--params-stdin(reads full JSON payload fromstdin)
Examples:
dbt-nova tool call get_entity \
--params-file ./params/get_entity.json \
--manifest-path /path/to/target/manifest.json
echo '{"query":"customers","limit":10}' | \
dbt-nova tool call search --params-stdin --manifest-path /path/to/target/manifest.json
reload_manifest via tool call¶
reload_manifest is available in CLI mode through tool call:
dbt-nova tool call reload_manifest \
--manifest-path /path/to/target/manifest.json \
--params-json '{"refresh_secs":300}' \
--json
tool call reload_manifest runs as a one-shot reload and returns a SuccessResponse payload with updated manifest settings and loaded manifest metadata (manifest_hash, manifest_version, entity_count).
If both manifest_uri and manifest_path are provided in params, manifest_path takes precedence.
JSON Envelope and Exit Codes¶
When --json is passed, CLI commands return a standard envelope:
{
"command": "health check",
"status": "success",
"data": { "status": "ready" },
"meta": {
"elapsed_ms": 42,
"timestamp_ms": 1772304167827,
"version": "0.0.2"
},
"error": null
}
On errors (status: "error"), error contains the standard Nova error payload.
Exit codes:
| Code | Category |
|---|---|
0 | Success |
1 | Invalid params / request shape |
2 | Manifest/index lifecycle errors |
3 | Runtime/server/provider errors |
See also: