Meko for Codex
A coding agent often builds up hours of reasoning, then throws it away when the process finishes. In the next session, Codex cannot access why it made past changes or reached past decisions.
Over MCP, Meko provides Codex with:
Agent-scoped memory
What your agent learns persists beyond the session and is readable via every AI tool you connect to.
A shared knowledge base
Documents and promoted conclusions are searchable by all agents and teammates with access to the datapack.
A trace of every read and write
Each conversation is stored with its reasoning, so you can see what an agent did and why.
Long runs keep their work
What Codex figures out is preserved in your datapack: the facts, the reasoning, and the full trail, readable from another machine.
The installer configures the CLI, IDE extension, and desktop app together; saves are explicit in the current release.
How Meko Benefits Codex
Read the run back after it ends
“Show me from Meko what yesterday’s refactor run decided, and why.”
Every decision is recorded with its reasoning and plan, readable from a different machine after the process is finished.
Keep the durable facts out of the chatter
“Remember in Meko that the payments API rate limit is 40 requests per minute.”
Saves are explicit. Your code decides what persists.
Continue in a different tool
“Pick up the migration where Codex left off. Check Meko for its trail.”
Works from Claude, Cursor, or any other agent pointed at the datapack.
Configure once, use it in three places
One entry in ~/.codex/config.toml covers the Codex CLI, the IDE extension, and the ChatGPT desktop app.
Connecting Meko in Codex
1. One command connects every Codex surface and teaches it when to use Meko:
npx @yugabytedb/meko-mcp --client codex --api-key <your-api-key>The installer registers the Meko MCP server, installs the meko-mcp-tools agent skill that tells Codex when to record and when to recall on its own, and wires the Codex session hooks. It configures both the CLI and the desktop app. Generate the API key in the Meko portal under Settings, then API Keys.
2. Ask the agent to save conversations and memories as you work. Explicit saves are the reliable path in Codex today.
3. To add the server by hand instead, use codex mcp add with: https://mcp.mekodata.ai/mcp, then run /mcp inside a session to confirm the server is connected and listing its tools.