Set these in the MCP client’s server entry for the server, and in your shell for CLI commands.
Both must agree on MEMORS_HOME and MEMORS_KB to see the same file.
debug, info, warn or error. Unknown values fall back to the default with one warning
MEMORS_HTTP_ADDR
empty (stdio)
Same as serve --http: serve MCP over HTTP at http://<addr>/mcp and the live web UI at http://<addr>/. Loopback addresses only, unless serve --allow-remote
MEMORS_HTTP_AUTH
token when remote or behind a proxy, else none
Same as serve --auth. none is refused on an exposed address unless mTLS is on
MEMORS_HTTP_TOKEN_FILE
<MEMORS_HOME>/http-token
Bearer token file for serve --http. Created with mode 0600 when missing; refused if other users can read it
MEMORS_TLS_CERT / MEMORS_TLS_KEY
empty
Same as serve --tls-cert / --tls-key: PEM certificate (chain) and key; the server speaks HTTPS
MEMORS_TLS_CLIENT_CA
empty
Same as serve --tls-client-ca: require client certificates signed by this PEM CA (mTLS)
MEMORS_PUBLIC_URL
empty
Same as serve --public-url: the URL clients use. Required when remote or behind a proxy
MEMORS_METRICS_ADDR
empty (off)
Same as serve --metrics-addr: serve Prometheus metrics at http://<addr>/metrics. Loopback addresses only
MEMORS_QUERY_LOG
unset
1 records every search in query_log and every tool call in call_log, in the same file. See Call and query logs
Before the rename to memors-mcp every variable here was spelled MEMO_* (for example
MEMO_KB). The old names are not read any more: rename them in client configs and service
files, as described in Upgrading from memo-mcp.
The JOURNAL_TOKEN and JOURNAL_PATH aliases are gone as well.