If you only need repository build commands and style rules, stick with CLAUDE.md in Git. If you want Claude Code, Codex, Cursor, Claude desktop, and ChatGPT to remember last week's architecture decision, yesterday's meeting transcript, and your open todos, local coding-agent memory breaks down quickly and you need a shared MCP memory layer.
We hit this problem building Char itself. An engineer finishes a design call on Mac, discusses pricing constraints inside a chat, and opens Claude Code or Codex an hour later. Inside the terminal, the coding agent knows every file in the repository and nothing about the decision made two hours earlier.
Why does native Claude Code memory stay trapped?
Claude Code splits persistence into two local mechanisms, and both solve narrower jobs than cross-agent work memory:
CLAUDE.mdhandles static repo instructions. You check it into Git so anyone cloning the repo gets build commands, test filters, and architecture boundaries. Keeping it short works well, and mixing in personal meeting context pollutes the repository for teammates.- Auto-memory (
MEMORY.md) stays on one laptop. Claude Code writes learned preferences and workflow fixes to a local folder under your home directory, with an index budget around 200 lines or 25 KB. Swap machines, open Cursor, run Codex, or ask a question in ChatGPT, and that learned context is invisible.
Neither file hears your calls, tracks what changed across Gmail or Linear, or gives a teammate or another AI client a clean permission boundary.
Claude Code's /memory panel separates user-level ~/.claude/CLAUDE.md, project ./CLAUDE.md,
and local auto-memory toggles on one machine. Terminal capture via @kunchenguid on X, cropped to
the dialog.
How do MCP memory options compare in 2026?
In the table below, Char behavior reflects our hosted MCP implementation at api.char.com/v2/mcp; third-party tools are summarized from public documentation and repositories as of November 2026.
| Option | Where state lives | Transport & setup | Human inspection & editing | Best fit |
|---|---|---|---|---|
CLAUDE.md + MEMORY.md | Git repo + local laptop config folder | Built into Claude Code; zero external setup | Plain text files on disk | Repo rules and one-machine coding quirks |
| Basic Memory | Local Markdown + SQLite/index on your machine | Local stdio MCP server | Edit local .md files directly | Single-machine local knowledge base with explicit agent tool calls |
| Mem0 MCP | Managed cloud API or self-hosted vector/graph store | Hosted API or local/self-hosted MCP setup | SDK/dashboard inspection rather than daily workspace Pages | Application developers embedding programmatic user memory in custom agent backends |
| Zep / Graphiti MCP | Temporal knowledge graph database | Self-hosted/cloud server + MCP adapter | Graph queries and entity inspection tools | Engineering teams modeling temporal entity graphs in custom pipelines |
Char MCP (api.char.com/v2/mcp) | Cloud-synced Char Library (local-first Mac cache + server) | Hosted Streamable HTTP + OAuth 2.1 PKCE (char:read, char:write, char:delete, char:charlie) | Ordinary Pages, Home, Collections, and History timeline you read and edit in Char | People coordinating coding agents, meetings, todos, and daily work across apps |
The biggest practical gap is who the memory is built for. Developer libraries store embeddings and graph edges inside backend services; a workspace notepad stores Pages that a human already opens every morning.
How does shared memory work in Char?
Char stores your work in Markdown-backed Pages (including your Home page home, daily pages daily-YYYY-MM-DD, project Pages, and entity Collections for people, organizations, projects, and meetings) plus an append-only History timeline inside Charpedia.
When an external agent connects over MCP, it sees the exact same Library that Charlie uses inside the app:
Local Claude Code files stay scoped to one repository or laptop. Char's hosted OAuth MCP endpoint puts Claude Code, Codex, Cursor, Claude, ChatGPT, and Charlie on the same editable Pages and Charpedia memory.
- 20 default tools plus progressive discovery. Out of the box, the server lists core tools (
agenda_get,calendar_list_events,pages_search,pages_read,pages_create,pages_edit,todos_list,todos_add,pages_set_todo_status,todos_suggest,meetings_list,meetings_get,meetings_get_transcript,contacts_search,contacts_get,history_read_day) along withtools_search,tools_read,tools_write, andtools_deleteso clients do not burn their context window on dozens of unused schemas. Clients with native tool search can also inspect the full catalog via?tools=all.
Claude Code's /context view makes upfront tool bloat visible. Keeping Char's default MCP surface
at 20 tools plus tools_search protects context budget before a session starts. Terminal capture
via @trq212 / @d4m1n on X, cropped to the /context block.
- Safe writes instead of silent overwrites. Calling
pages_editagainst a block requires the currentsourceRevision, and edits land as suggestions you accept or undo in Char. Proactive follow-ups usetodos_suggest, filing grouped proposals at the top of Home rather than mutating your todo list behind your back. - Append-only History with provenance. Every line Charlie writes inside a Collections Page keeps source chips back to the meeting, chat, or Page it came from. Corrections add a superseding atom rather than rewriting the past.
- Explicit privacy tradeoffs. Char is not end-to-end encrypted: your Library syncs to Char's cloud so hosted AI and OAuth-connected agents can work with it. Model providers run with zero data retention and do not train on customer content. Raw Awareness capture stays stored only on your Mac and is sent transiently for zero-retention cloud analysis, then deleted from your Mac once distilled or within 24 hours at most.
How do you connect Char to Claude Code, Codex, Cursor, or ChatGPT?
Because https://api.char.com/v2/mcp is a hosted Streamable HTTP endpoint backed by OAuth 2.1 (https://auth.char.com), there is no local Python or Node server to run in the background. Inside Char desktop, Settings -> Apps configures supported agents in one click, or you can register the server directly:
| Client | Command or configuration | Sign-in step |
|---|---|---|
| Claude Code | claude mcp add --transport http --scope user char https://api.char.com/v2/mcp | Run /mcp, pick char, and approve access in browser |
| Codex | codex mcp add char --url https://api.char.com/v2/mcp | Run codex mcp login char |
| Cursor | Add "char": { "type": "http", "url": "https://api.char.com/v2/mcp" } under mcpServers in ~/.cursor/mcp.json | Sign in from Cursor's MCP settings panel |
| OpenCode | Add "char": { "type": "remote", "url": "https://api.char.com/v2/mcp", "enabled": true } under mcp in ~/.config/opencode/opencode.json | Run opencode mcp auth char |
| Claude / ChatGPT | Settings -> Connectors -> Add custom connector (ChatGPT developer mode) with https://api.char.com/v2/mcp | Complete OAuth sign-in when prompted |
If your agent supports skills, point it to our MCP setup guide or install the public char skill from SKILL.md so the model calls agenda_get, pages_search, and history_read_day accurately instead of guessing Page IDs. Read our handbook guide on connecting agents for full scope rules.
When should you pick another tool?
Shared cloud MCP memory is the wrong fit in three common cases:
- You only need repo coding rules. Keep compiler flags, lint quirks, and directory maps in
CLAUDE.md. They belong with the code in version control. - You require zero-cloud, disk-only storage. If nothing beyond your codebase may touch a hosted service, run a strictly local stdio MCP server such as Basic Memory with local Markdown files on your laptop.
- You are building a multi-tenant agent backend for your own customers. Purpose-built agent memory infrastructure like Mem0 or Zep/Graphiti fits SDK integration far better than a personal productivity workspace.
If your daily bottleneck is the handoff between meetings, written decisions, and coding sessions across tools, shared Pages close that gap. See how we designed one continuous Page that remembers and why we rebuilt around what happens after the meeting ends.
