Use memtwig with OpenAI Codex
Stdio MCP + HooksAdd memtwig MCP tools to ~/.codex/config.toml in one command with multi-org routing.
OpenAI
OpenAI Codex
~/.codex/config.toml
stdio MCP memtwig
MCP + hook adapter
Studio UI Diff queue
Active vault
cwd & remote routed
Personal rules
SOUL.md · persona/**
Other clients
isolated
Append [mcp_servers.memtwig] to ~/.codex/config.toml
memtwig setup
memtwig install codexVerify MCP tools & open proposals
memtwig status
memtwig proposal list
memtwig uiWhy pair memtwig with OpenAI Codex
- Writes the [mcp_servers.memtwig] TOML block into ~/.codex/config.toml idempotently.
- Includes a dedicated 'memtwig hook codex' stdin/stdout adapter for prompt hooks.
- Codex proposals stay queued as diffs until you approve them.
More integrations
Last updated
Is memtwig install codex safe to run twice? +
Yes. It checks whether [mcp_servers.memtwig] is already present and backs up config.toml before editing.
Does Codex work offline with memtwig? +
Yes. Local FTS5 retrieval runs directly inside the memtwig binary without any network calls.