Memo CLI configuration
Look up every setting in Memo's config file and the environment variables it reads.
Use this reference to look up Memo's own configuration settings and environment variables. You
rarely need to edit the file by hand. memo folders add adds a folder
and memo jobs start turns the timer on for you. Edit the file yourself for files to skip and where
exported notes go.
The file is ~/.config/cli-memo/config.json. It is a JSON file: keep the quotes, commas and braces
as in the example.
memo config show lists every setting with its value, its default, and whether the file sets it. memo config migrate writes each setting the file lacks at its default, so you see and edit them all in the file; your values,
their order and keys memo does not know stay as they are. It adds notes.embed only when the
file already has notes. Any write memo makes to the file, such as memo folders add, adds them as well.
A file with a problem stops every command except memo doctor and memo config unset. The refusal names the first
problem and the command that removes it; memo doctor lists them all, each with its line or its memo config unset <key>. config unset removes a setting by its dotted path, also one Memo does not know, such as
memo config unset notes.colour or memo config unset permissions.notes.edit. A file that is not valid
JSON is fixed by hand at the line and column memo doctor names.
{
"notes": {
"folders": [{ "id": "1", "path": "/path/to/vault", "format": "obsidian" }],
"ignore": ["Journal/Private.md", "Archive", "**/Private*"],
"embed": true,
"export": { "dir": "/path/to/vault/memo", "format": "obsidian" }
},
"auto": { "enabled": true, "every": "5m" }
}notes
| Key | Meaning |
|---|---|
folders | Your note folders. Each has the id the local store gave it, its path on this computer and its format: obsidian or markdown, picked by memo folders add when you give no --format. memo folders add writes an entry; an entry with no id is refused by import. See Markdown or Obsidian. |
ignore | Files and folders that import skips: a path inside the folder, a folder, or a pattern such as **/Private*. --ignore adds rules for one run. |
embed | false keeps notes out of search by meaning. |
export | dir and format for memo notes export and --export when you give no folder. |
The folder id is the same on every computer; the path is different on each. See
use the same notes on another computer.
mail
Retired. Memo no longer imports mail: the mail CLI syncs each mailbox into the
shared store, with its own settings. An old config that still has mail loads and nothing reads it; memo doctor
names the mailboxes it lists, and memo config unset mail removes it.
auto
| Key | Meaning |
|---|---|
enabled | true when the import timer is on. |
every | How often it runs: 90s, 5m, 1h; one minute or more. |
places | The variables that move memo's folders and the store (MEMO_CONFIG_DIR, MESSAGING_STORE…), as they were at memo jobs start; every timer run gets them. |
memo jobs start and memo jobs stop write these. If you edit them by hand, the timer follows at its
next run. See importing on a timer.
sources
"sources": { "reader": "ollama", "model": "llama3.2:latest" }The reader memo sources suggest sends a source's text to, and its model. memo sources readers set <reader> [--model <model>] writes both; with neither set, sources suggest refuses. Claude Code and Codex use their own
model when model is not set; Ollama and the API readers need one.
Have a reader propose facts lists the readers.
update_check
false stops the once-a-day check for a newer memo. MEMO_NO_UPDATE_CHECK=1 does the same for one shell.
record, record_input and keep_runs_for_days
Memo keeps a run of every command: the command as typed, how it ended, and the requests it made, with their
timings and status codes. A secret in the command (an option named for a token,
password or API key, a password in a URL, a long opaque string) and a phone number are written [redacted].
What the command read or wrote is never kept: no note, mail text or folder name it reached.
memo runs list shows them, memo runs show <run-id> shows one.
| Key | Meaning |
|---|---|
record | false keeps only failed runs. Unset or true: every run. --record keeps one command's run anyway, --no-record keeps nothing for it. memo mcp serve and other commands that run until stopped keep a success only under --record. |
record_input | false writes every typed value that may be content as [redacted], keeping only command words, option names, numbers, dates and choices. "failed" does that in a successful run and keeps the words in a failed one. Default true: the command is kept as typed, secrets hidden. |
keep_runs_for_days | How many days a failed run is kept. Default 30. |
keep_successful_runs_for_days | How many days a successful run is kept. Default 7. |
runs_size_limit_mb | The most the runs folder may hold; the oldest successful runs go first. Default 200. |
Change the keys in config.json by hand (memo config migrate writes them in); memo config unset <key> removes one.
agent_decisions
By default only you confirm or reject a proposal (a fact, a memory, an action, a
project proposal); an agent's attempt is refused. Set the top-level
agent_decisions key to true to let an agent decide them for you with a reason recorded in the decision, but never
one its own bot proposed:
{
"agent_decisions": true
}Meeting findings keep their own permissions whatever this key says.
Add the key to your existing config rather than replacing your notes and timer settings with
this small example. When the key is missing or false, the CLI and MCP refuse every decision an agent makes; reading
and proposing still work.
Owner decisions remain available in the terminal. In an agent's terminal, --as-owner asks y/N at the terminal
before a decision counts as yours. The setting does not change the separate permission for confirmation of
meeting findings or replace the tool's other permission checks.
agent_merges
strong, the default: an agent's memo people link merges two people at once when memo itself finds strong
evidence: one mobile number or personal address that no one else has, or that each holder has from a different
source, whatever their names, given by two different sources (how). Anything weaker waits for you in memo people review. propose: every
agent's link waits for you, as before. agent_decisions does not change this, and matches stay yours to confirm.
{
"agent_merges": "propose"
}Environment variables
| Variable | Meaning |
|---|---|
MEMO_CONFIG_DIR | The folder that holds config.json. |
MEMO_STATE_DIR | Memo's state folder: what each folder looked like at the last import. |
MEMO_MODELS_ANALYSIS_PROVIDER, MEMO_MODELS_ANALYSIS_MODEL | The AI provider and the model identifier (the name the provider uses for it) that memo answers create --analyze calls. |
MEMO_MODELS_ANALYSIS_BASE_URL | Optional: the provider's address. |
MEMO_MODEL_API_KEY | The provider's key. |
MEMO_READ_ONLY | Any value but 0 refuses every change with permission_error (exit 5): writes to the store, your files, mail at the provider, the timer, the skill files, upgrade and answers create --allow-remote. Reads, memo sync and tasks link still run (a link is only suggested, and linking two tasks is refused); reminders claim is refused; memo mcp serve marks writing commands unavailable. |
Memo calls a provider outside your computer only when memo answers create has both --analyze and
--allow-remote. See give your agent the sources.
permissions
Dotted command paths limit MCP tools. A key covers that command and its children; the most specific saved key
wins. deny marks commands unavailable in discovery, readonly permits reads, and ask or allow permits writes. Over MCP ask runs
without a terminal question; approval prompts depend on the client app. Writes without a saved level use ask.
{
"permissions": {
"notes": "readonly",
"mail.delete": "deny",
"mcp.authority": "deny"
}
}mcp.authority defaults to deny for source-folder changes. meetings.actions.confirm,
meetings.actions.reject, messages.reset and projects.annotations.restore default to deny too; explicitly set the relevant
key to ask or allow to delegate one of these owner operations. Unless agent_decisions is true, project
proposal decisions stay refused. The shared WireCat read ceiling and MEMO_READ_ONLY cap every permission.
search all shows an agent business data only as far as its lists are allowed: with "invoices": "deny" (or
invoices.list, payments.list, orders.list) it leaves those hits out and says so in its issues.
business.list, a key that names no command, set to deny leaves all of it out: invoices, payments, orders,
contracts, subscriptions, products and wallets.
Deals and leads follow deals.list and leads.list the same way, and crm.list set to deny leaves the whole CRM
lane out. events.list set to deny refuses memo events list and leaves calendar events and phone calls out of
search all.
memo show refuses a reference whose own command a key denies: with "invoices": "deny" (or invoices.show) an
agent's memo show invoice:4 is a permission_error, the same as memo invoices show invoice:4. The same holds for
notes, people (context), organizations, projects, tasks, facts, memories, messages, payments, orders, deals, leads,
pipelines, products, contracts, subscriptions, wallets, transactions and events (events.show).
Supported commands stay visible with their current availability. Saved permission changes take effect
on existing connections too. memo mcp serve --permission notes.edit=deny tightens one key for that server
without changing the file; an override that loosens any saved key is refused.