Atlas / MCP servers / roampal-ai / Roampal

RoampalBLOCK

mcp/roampal-ai/roampal

Outcome-based persistent memory MCP server for Claude Code and OpenCode. Good advice promoted, bad advice demoted. pip install roampal.

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
6 3r · 2w · 1d
Transport
stdio · streamable-http
License
Apache-2.0
Stars
54
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

roampal-core

Outcome-Based Persistent Memory MCP Server

Two commands. Your AI coding assistant gets outcome-based memory. Works with Claude Code and OpenCode.

Benchmarks

85.8% on the corrected LoCoMo benchmark (non-adversarial, end-to-end answer accuracy) — validated on 1,986 questions across 10 conversations with dual grading. All figures in this section are sourced from the paper and [roampal-labs](https://github.com/roamp

Read from source at commit 3609a3083676OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add roampal --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env ROAMPAL_SIDECAR_KEY=${ROAMPAL_SIDECAR_KEY} -- uvx roampal
claude-desktop
{
  "mcpServers": {
    "roampal": {
      "command": "uvx",
      "args": [
        "roampal"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "ROAMPAL_SIDECAR_KEY": "${ROAMPAL_SIDECAR_KEY}"
      }
    }
  }
}
03

Exposed tools (6)

3 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_to_memory_bankwriteStore permanent facts about the user
delete_memorydestructiveDelete a memory by ID
record_responsereadStore key takeaways from significant exchanges. NOT for permanent preferences or standing rules — use add_to_memory_bank for those.
score_memoriesreadScore previous exchange outcomes
search_memoryreadSearch across memory collections for relevant context
update_memorywriteUpdate an existing memory
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
declared (1 observation(s))
Shell
declared (6 observation(s))
Dependencies
pinned
Secrets in source
none-found

Findings (21)

HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
dev/docs/releases/v0.5.4/RELEASE_NOTES.md:1
# Roampal Core v0.5.4 -- 2026-04-23
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
roampal/cli/__init__.py:55
importlib.import_module(name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
roampal/cli/diagnose.py:287
module = __import__(import_name)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
roampal/cli/sidecar/__init__.py:465
print(f"    Key:   {'*' * min(len(api_key), 8)}...")
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_memory
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
roampal/backend/modules/memory/tests/unit/test_neutral_spawn.py:126
hook = __import__(hook_module, fromlist=["_spawn_fresh_server"])
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
roampal/backend/modules/memory/tests/integration/test_multi_profile_routing.py:84
hashlib.md5(text.encode("utf-8")).digest()[:4], "big"
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
roampal/backend/modules/memory/tests/unit/test_book_reingest.py:24
rng = random.Random(int.from_bytes(hashlib.md5(text.encode()).digest()[:4], "big"))
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
roampal/backend/modules/memory/tests/unit/test_context_dedup.py:56
seed = int.from_bytes(hashlib.md5(text.encode("utf-8")).digest()[:4], "big")
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
roampal/backend/modules/memory/tests/unit/test_context_dedup.py:163
assert injection_hash("hello") == hashlib.md5(b"hello").hexdigest()[:12]
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
roampal/backend/modules/memory/tests/unit/test_context_dedup.py:164
assert injection_hash("") == hashlib.md5(b"").hexdigest()[:12]
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:294
- Check HTTP server: `curl http://127.0.0.1:27182/api/health`
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:308
- Check that the server auto-started: `curl http://127.0.0.1:27182/api/health`
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
dev/docs/releases/v0.2.0/RELEASE_NOTES.md:623
health_url = f"http://127.0.0.1:{port}/api/health"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
dev/docs/releases/v0.3.2/RELEASE_NOTES.md:349
1. curl -X POST http://127.0.0.1:27182/api/hooks/stop  → stores working_60fafbf1 ✓
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
dev/docs/releases/v0.3.2/RELEASE_NOTES.md:350
2. curl -X POST http://127.0.0.1:27182/api/hooks/get-context "test probe"  → finds it ✓
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
ARCHITECTURE.md:522
- **OpenCode plugin** (`roampal/plugins/opencode/roampal.ts`): `resolveRoampalProfile()` reads `process.env.ROAMPAL_PROFILE` first, then the project's `opencode.json` `mcp.roampal-core.environment.ROA
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:271
│    All clients share one server, isolated by session    │
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
dev/docs/releases/v0.3.2/RELEASE_NOTES.md:548
| `roampal/server/main.py` | Added `POST /api/record-response` + `POST /api/context-insights` endpoints, `RecordResponseRequest` + `ContextInsightsRequest` models, `metadata_filters`/`sort_by` on `Sea
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
dev/docs/releases/v0.6.0/RELEASE_NOTES.md:36
**Change:** clients always send their profile (explicit `default` included); OpenCode sends its project folder and the server applies that folder's binding; the server never guesses from its own envir
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOPrompt injection · prompt.read_system · CWE-94, CWE-1427
dev/docs/releases/v0.4.5/RELEASE_NOTES.md:221
- anthropics/claude-code#45849 — ephemeral hook output or system prompt access for dynamic per-turn context injection without accumulation

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 3609a3083676full audit observations/trust-audit/mcp-server/roampal-ai__roampal.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-083609a3083676BLOCKD69first audit
06

Questions

What is the Roampal MCP server?

Outcome-based persistent memory MCP server for Claude Code and OpenCode. Good advice promoted, bad advice demoted. pip install roampal.

What tools does Roampal expose?

6 in total: 3 read-only, 2 that write, and 1 that can delete or overwrite (delete_memory). Every one is listed on this page with its risk.

Is Roampal safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Roampal need?

It reads ANTHROPIC_API_KEY and ROAMPAL_SIDECAR_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Roampal run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as roampal.

How current is this page?

The grade is for one exact copy of the source (3609a3083676), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement