Skip to main content
pmb connect writes the agent’s MCP config and appends the usage rules to CLAUDE.md / AGENTS.md. Restart the agent and memory is live.

Three tiers of integration

Full hooks

Claude Code - auto-recall before each message, ambient write, session restore, follow-through. Memory works without calling a tool.

Ambient hooks

Codex - MCP plus ambient write on turn-complete; no per-turn read hook.

MCP only

Cursor · Windsurf · Gemini · VS Code · Zed · OpenCode · Continue - memory via tools; ambient optional via pmb ambient-watch.

Useful flags

Prefer the all-in-one path: pmb setup (or pmb setup --all) detects your agents, picks the model, wires + warms + starts the shared daemon in one flow.

Remove it anytime

Delete the pmb entry from the agent’s MCP config to disconnect - your stored memory stays on disk and is still readable via the CLI.