Running memors-mcp with no arguments is the same as memors-mcp serve. memors-mcp --help prints
the summary. Flags may come before or after positional arguments.
Opens shows how each command opens the knowledge base:
rw: creates and migrates the file.
rw, no create: migrates, but refuses a missing file.
ro: never writes, and refuses a missing or out-of-date file.
MCP server on stdio. --metrics-addr 127.0.0.1:PORT exposes /metrics on loopback (default $MEMORS_METRICS_ADDR, off when empty). Starts a background backfill and reindex for the current model. --http 127.0.0.1:PORT (default $MEMORS_HTTP_ADDR) serves MCP over HTTP at /mcp instead of stdio, with the web UI and its live pages at / and metrics at /metrics, all on one port. --allow-remote permits a non-loopback --http address; it then also needs TLS (--tls-cert/--tls-key, or --behind-proxy), --public-url, and authentication. --auth token|none (default token when remote or behind a proxy), --token-file, --tls-client-ca for mTLS. See Connecting MCP clients
memors-mcp http-token
rw
Prints the bearer token for serve --http, creating <MEMORS_HOME>/http-token (0600) when missing. --rotate replaces it; restart the server afterwards. --file picks another path
memors-mcp ui
ro
Read-only web UI. --addr (default 127.0.0.1:0, a random port; the URL is printed), --allow-remote permits a non-loopback address, --no-model gives keyword-only search
Create or list work items. --ns, --kinds page,stale,conflict,merge,duplicate, --lint, --json, --executor ollama, --apply (with an executor; dry run otherwise), --allow-remote
memors-mcp submit <item-id>
rw
Complete a work item. Pages: --content-file f.md|-, --title. Conflicts: --keep memo://fact/... Merges: --accept or --reject. Any item: --skip, --reason, --dry-run
memors-mcp lint
ro
Contradictions, orphan entities, missing and stale pages, expired facts. --ns, --json
Check documents without chunks, orphan vectors and facts, missing vectors for the current model, and FTS integrity. --repair queues missing vectors and rebuilds broken indexes
memors-mcp backfill
rw, no create
Embed passages whose vectors are pending
memors-mcp reindex
rw, no create
Embed every passage lacking a vector for a model. --model <id> (default $MEMORS_MODEL)