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

MCP server · Audited from source

ai-r MCP server

by pro-target/ai-rMIT licenceAudited 11 Oct 2026 · source 02f774875659

PyPI agent-session-reader 0.4.2stdiostreamable-http★ 3
!CAUTIONGrade F · 51/100 · 11 Oct 2026 · 02f7748
3GitHub stars

Is it safe? With care — CAUTION, grade F (51/100). It exposes 20 tools: 17 read, 3 write and 0 destructive. The audit recorded 29 findings (0 critical, 0 high, 20 medium, 4 low). Maintainer's description: Read local AI agent sessions (Claude Code, Codex, OpenCode, Antigravity, Pi): intents, plans, tools

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “ai-r MCP server (pro-target/ai-r)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/pro-target/ai-r

Trust audit

Audit 0.4.1 · full source read 11 Oct 2026

Trust score51/100!CAUTION F
0 critical0 high20 medium4 low5 info

29 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

  • FilesystemDeclared2 observations
  • NetworkDeclared8 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 24 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
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 pro-targetUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIagent-session-reader at version 0.4.2
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push11 days agoActivity of the repository when we read it.
  • Source commit read02f774875659The audit covers exactly this commit, read on 11 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory20 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 (29)

Sorted by severity · the 25 most severe of 29 are listed

MEDIUMNetwork egressnet.beacon_words · src/ai_r/network.py:93
F-04 Network egressCWE-200 · CWE-319Layer L1
"secret_in_query",        # ...or on the search-query text (exfil shape)
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · install.sh:262
F-04 Network egressCWE-200 · CWE-319Layer L1
log "then set agent MCP configs to http://127.0.0.1:8756/mcp"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/ai_r/serve.py:174
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1:*",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:109
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
_marker("работает", r"\bзаработал[оа]?\b|\bработает\b|\bсработало\b"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:110
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
_marker("готово", r"\bготово\b"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:111
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
_marker("отлично", r"\bотлично\b|\bсупер\b|\bкласс\b|\bогонь\b|\bидеально\b"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:112
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
_marker("спасибо", r"\bспасибо\b|\bблагодарю\b"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:113
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
_marker("ок", r"\bок\b|\bокей\b"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · tests/test_redact.py:42
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
—
MEDIUMHard-coded secretssecret.generic · tests/test_incidents.py:386
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
—
MEDIUMHard-coded secretssecret.generic · tests/test_quotes.py:211
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
—
MEDIUMHard-coded secretssecret.generic · tests/test_tool_resolution.py:384
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
—
MEDIUMHard-coded secretssecret.github · docs/scenarios.md:1157
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
—
MEDIUMHard-coded secretssecret.github · tests/conftest.py:236
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
—
MEDIUMHard-coded secretssecret.github · tests/test_get_body_tool_call.py:144
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
—
MEDIUMHard-coded secretssecret.github · tests/test_tool_resolution.py:384
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
—
MEDIUMHard-coded secretssecret.github · tests/test_user_refs.py:575
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
—
MEDIUMHard-coded secretssecret.private_key · tests/test_redact.py:69
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
—
MEDIUMHard-coded secretssecret.slack · tests/test_redact.py:47
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
—
MEDIUMHard-coded secretssecret.stripe · docs/scenarios.md:1149
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
—
LOWInsecure cryptocrypto.weak_hash · src/ai_r/parsers/opencode.py:345
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
h = hashlib.sha1(db_path.encode()).hexdigest()[:16]
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/mcp-registration.md:20
F-04 Network egressCWE-200 · CWE-319Layer L1
> claude mcp add --transport http ai-r http://127.0.0.1:8756/mcp
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/shared-server.md:103
F-04 Network egressCWE-200 · CWE-319Layer L1
3. Point each agent at `http://127.0.0.1:8756/mcp` (Claude:
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/shared-server.md:106
F-04 Network egressCWE-200 · CWE-319Layer L1
`claude mcp add --transport http ai-r http://127.0.0.1:8756/mcp -s user` —
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.es.md:23
F-08 Supply chainCWE-829 · CWE-1357Layer L2
> `curl|sh`, `git push --force`): el agente detectó y revirtió dos por sí mismo;
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

20 declared in source · 0 destructive

17 read3 write0 destructive
ToolRiskWhat it does
diffwriteStitch edit rows into a per-file chronological diff — the diff verb.
find_file_editswriteFind every file edit across sessions, cross-agent by default.
rendezvouswrite# Blocks until all N calls arrive — only possible if they run in
aggregatereadRoll a list of row dicts up by ``group_by`` — the generic stats verb.
audit_briefreadToken-lean, budgeted session digest for auditors — the *audit_brief* preset.
detect_currentreadReturn the current runtime identity (session + agent) from env/fs.
find_tool_callsreadFind every tool call across sessions, cross-agent by default.
get_bodyreadReturn the on-demand body for an event / plan ``id``.
incidentsreadDangerous shell commands + regret reactions — the *incidents* preset.
list_sessionsreadList discoverable sessions, optionally filtered by ``agent``.
locatereadFind a session across all agents by uuid / id-prefix / title — *locate*.
networkreadNetwork-egress audit — the *network* preset (F4.3).
planreadNormalized plan atoms for a session — final vs drafts, grouped by task.
queryreadFilter/search the unified session **event** stream — the workhorse verb.
quotesreadUser quotes of prior in-session content — the *quotes* preset.
read_sessionreadRead a single session by ``uuid``; ``agent`` is an optional hint.
search_sessionsreadCase-insensitive search across sessions.
session_diffreadReconstruct *what the agent changed* in one session — without git.
session_statsreadSummarise sessions, grouped and ranked — the *bird
whoamireadseen[

Install

Package version 0.4.2 · audited commit 02f7748

Read the findings first. The most severe is Network egress (medium) at src/ai_r/network.py.

claude mcp add agent-session-reader -- uvx agent-session-reader==0.4.2

The command pins the package version recorded in the source (0.4.2); the audit covers commit 02f774875659. Transport: stdio · streamable-http. Reads this environment variable: AI_R_DEDUP_KEY_LEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION F 51 / 100

    First audit · 02f774875659

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION FMODELSATLASCAUTION · F
[![ModelsAtlas: CAUTION F](https://modelsatlas.com/mcp/pro-target/ai-r/badge.svg)](https://modelsatlas.com/mcp/pro-target/ai-r/)

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 ai-r MCP server

What is the ai-r MCP server?
Read local AI agent sessions (Claude Code, Codex, OpenCode, Antigravity, Pi): intents, plans, tools
What tools does ai-r expose?
20 in total: 17 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is ai-r safe to connect to an agent?
With care. The audit graded it F (51/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does ai-r need?
It reads AI_R_DEDUP_KEY_LEN 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 ai-r run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as agent-session-reader.
How current is this page?
The grade is for one exact copy of the source (02f774875659), read on 2026-10-11. The repository is watched and re-audited when it changes.

Sources

  • pro-target/ai-r on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 02f774875659Observed · 11 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.