Configuration
Configuration
Know the Origin settings that matter: spaces, MCP client wiring, daemon bind address, local paths, models, and keys.
At a glance
01
Most configuration should go through /init, origin setup, origin mcp add, origin model, origin key, or origin space.
02
The only environment knobs most users need are ORIGIN_SPACE and, rarely, ORIGIN_BIND_ADDR.
01
Use commands first
Origin is configured through the plugin, CLI, and MCP connector. Start with /init in Claude Code or npx -y @7xuanlu/origin setup for other MCP clients.
Use origin doctor after changing setup. It checks the daemon, local runtime, MCP connector, model state, key state, and common path issues.
Setup checks
/init
origin doctor02
Spaces
Spaces separate work, personal, client, and project memory without requiring multiple Origin installs. Set a space for a shell session with ORIGIN_SPACE, or define stable spaces in ~/.origin/spaces.toml.
Use origin space commands when you want the CLI to list, create, inspect, or move spaces instead of editing the file directly.
Space config
ORIGIN_SPACE=client-a claude
origin space list
origin space add client-a03
MCP client wiring
MCP clients need to launch the same local origin-mcp connector. The normal path is origin mcp add because each client stores MCP config differently.
If a client requires manual JSON, use origin mcp add --dry-run to inspect the command path for your machine, then paste the generated shape into that client's settings.
Client config
~/.origin/bin/origin mcp add claude-code
# or: codex, cursor, claude-desktop, vscode, gemini04
Daemon bind address
The daemon binds to 127.0.0.1:7878 by default. That is the right setting for normal laptop use because the memory API stays local to the machine.
Only change ORIGIN_BIND_ADDR when you deliberately need a non-loopback bind, such as a Docker or VM environment. Exposing the daemon is a privacy decision, not a normal setup step.
Environment
ORIGIN_SPACE=client-a
ORIGIN_HOST=http://127.0.0.1:7878
ORIGIN_BIND_ADDR=127.0.0.1:7878
ORIGIN_BIND_ADDR=0.0.0.0:7878 # Docker or VM only05
Local files
Human-facing Origin artifacts live under ~/.origin. The daemon-owned database and platform service files live under the OS application data location.
Read Markdown pages and session logs freely. Avoid hand-editing the database; use capture, review, distill, forget, and the CLI so the index, pages, and metadata stay consistent.
Paths
~/.origin/
~/.origin/bin/
~/.origin/db/
~/.origin/pages/
~/.origin/sessions/
~/.origin/spaces.toml
~/Library/Application Support/origin/
~/.local/share/origin/
%LOCALAPPDATA%\origin\06
Models and keys
Origin works in local memory mode without a model download or API key. Configure a model or Anthropic key only when you want daemon-side language work such as richer extraction, recaps, or page synthesis.
Treat keys as an explicit opt-in. The connected AI client may already call its own provider during chat; Origin's model and key settings only cover daemon-side work.
Next
Environment Variables
Know which Origin environment variables are normal configuration, which are development-only, and which belong to eval or Windows repair paths.
Read next