Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Codex Agent Memory MCP server

by marcelocaporale/codex-agent-memApache-2.0 licenceAudited 8 Oct 2026 · source b5dfa85dc031

PyPI codex-agent-mem★ 39
✓SAFEGrade B · 89/100 · 8 Oct 2026 · b5dfa85
39GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 5 tools: 4 read, 1 write and 0 destructive. The audit recorded 10 findings (0 critical, 0 high, 1 medium, 9 low). Maintainer's description: Local-first Model Context Protocol (MCP) memory layer for Codex CLI/Desktop, Claude Code, Gemini CLI, Qwen/DeepSeek/Ollama and agent workflows. SQLite + FTS5 compact context packs, token savings, read-only mode, no external memory server.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Codex Agent Memory MCP server (marcelocaporale/codex-agent-mem)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/marcelocaporale/codex-agent-memory

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium9 low0 info

10 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 4 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner marcelocaporaleUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIcodex-agent-mem, no version recorded
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push5 months agoActivity of the repository when we read it.
  • Source commit readb5dfa85dc031The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory5 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (10)

Sorted by severity

MEDIUMHard-coded secretssecret.generic · tests/test_manual_notes.py:570
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:360
F-04 Network egressCWE-200 · CWE-319Layer L1
http://127.0.0.1:37770/ui
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README_DE.md:360
F-04 Network egressCWE-200 · CWE-319Layer L1
http://127.0.0.1:37770/ui
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README_ES.md:360
F-04 Network egressCWE-200 · CWE-319Layer L1
http://127.0.0.1:37770/ui
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README_JA.md:360
F-04 Network egressCWE-200 · CWE-319Layer L1
http://127.0.0.1:37770/ui
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README_PT_BR.md:360
F-04 Network egressCWE-200 · CWE-319Layer L1
http://127.0.0.1:37770/ui
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · README.md:85
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`codex-agent-mem` runs in Claude Code as a standard MCP stdio server. It does not install session-start hooks, stop hooks, or automatic post-turn summarization. Memory is retrieved on demand through M
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README_DE.md:85
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`codex-agent-mem` läuft in Claude Code als normaler MCP-stdio-Server. Es installiert keine Session-Start-Hooks, Stop-Hooks oder automatische Post-Turn-Zusammenfassungen. Speicher wird bei Bedarf über
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README_JA.md:85
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`codex-agent-mem` は Claude Code で標準 MCP stdio server として動作します。session-start hook、stop hook、自動 post-turn 要約はインストールしません。メモリは `mem_context_pack`、`mem_search`、`mem_open_work`、`mem_completion_check` などの MC
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README_ZH.md:85
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`codex-agent-mem` 在 Claude Code 中作为标准 MCP stdio server 运行。它不会安装 session-start hook、stop hook,也不会做自动 post-turn 总结。内存只在需要时通过 `mem_context_pack`、`mem_search`、`mem_open_work` 和 `mem_completion_check` 等 MC
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

5 declared in source · 0 destructive

4 read1 write0 destructive
ToolRiskWhat it does
mem_snapshot_createwriteNo description in the source
mem_completion_checkreadNo description in the source
mem_context_packreadNo description in the source
mem_health_runtimereadNo description in the source
mem_open_workreadNo description in the source

Install

audited commit b5dfa85

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit b5dfa85 only.

claude mcp add codex-agent-mem -- uvx codex-agent-mem

The command does not pin a version; the audit covers commit b5dfa85dc031. Transport: not declared. No environment variables required.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · b5dfa85dc031

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/marcelocaporale/codex-agent-memory/badge.svg)](https://modelsatlas.com/mcp/marcelocaporale/codex-agent-memory/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Codex Agent Memory MCP server

What is the Codex Agent Memory MCP server?
Local-first Model Context Protocol (MCP) memory layer for Codex CLI/Desktop, Claude Code, Gemini CLI, Qwen/DeepSeek/Ollama and agent workflows. SQLite + FTS5 compact context packs, token savings, read-only mode, no external memory server.
What tools does Codex Agent Memory expose?
5 in total: 4 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Codex Agent Memory safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Codex Agent Memory need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (b5dfa85dc031), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • marcelocaporale/codex-agent-mem on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit b5dfa85dc031Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.