Skip to Content
CLI reference

CLI reference

The navflow package installs four entry points.

commandpurpose
navflow upstart the daemon and console
navflow mcprun the MCP server (for remote agents)
navflowdthe daemon, configured by environment only
navflow-mcpthe stdio MCP proxy (spawned by an agent client)

Starts navflowd with a persistent data home and prints the console URL.

navflow up [--host HOST] [--port PORT] [--data-dir DIR] [--open]
flagdefaultdescription
--host127.0.0.1bind address; 0.0.0.0 to expose on the network
--port8787bind port
--data-dir~/.navflowdirectory for the DuckDB file and catalog
--openopen the console in a browser

navflow up sets NAVFLOW_DB and NAVFLOW_CATALOG under --data-dir unless they are already set in the environment.

Runs the MCP server. Use streamable-http to serve a network endpoint for remote agents (stdio is the default and is what an agent client spawns directly — see navflow-mcp).

navflow mcp [--transport {stdio,sse,streamable-http}] [--host HOST] [--port PORT] [--navflowd URL]
flagdefaultdescription
--transportstreamable-httpstdio, sse, or streamable-http
--host127.0.0.1bind address (HTTP transports)
--port8788bind port (HTTP transports)
--navflowdhttp://127.0.0.1:8787the daemon URL to proxy to
navflow mcp --transport streamable-http --host 0.0.0.0 --port 8788 --navflowd http://localhost:8787 # serves http://<host>:8788/mcp

The daemon itself, with no CLI flags — configured entirely by environment variables (see Configuration). navflow up is a thin wrapper over this.

NAVFLOW_DB=/data/navflow.duckdb NAVFLOW_HOST=0.0.0.0 NAVFLOW_PORT=8787 navflowd

The stdio MCP proxy — the entry point an agent client (Claude Code, Claude Desktop) spawns. It reads:

variabledefaultdescription
NAVFLOWD_URLhttp://127.0.0.1:8787the daemon to proxy to
NAVFLOW_AUTH_TOKENunsetbearer token, if the daemon requires one
NAVFLOW_MCP_TRANSPORTstdiostdio, sse, or streamable-http

See Connecting agents for client configuration.

Last updated on