MCP server · Audited from source
ai-r MCP server
by pro-target/ai-rMIT licenceAudited 11 Oct 2026 · source 02f774875659
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 24 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
agent-session-readerat 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
"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
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
"http://127.0.0.1:*",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:109
_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
_marker("готово", r"\bготово\b"),- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:111
_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
_marker("спасибо", r"\bспасибо\b|\bблагодарю\b"),- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMObfuscation / stealthobf.homoglyph · src/ai_r/outcome.py:113
_marker("ок", r"\bок\b|\bокей\b"),- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.anthropic · tests/test_redact.py:42
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
`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
> `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
| Tool | Risk | What it does |
|---|---|---|
diff | write | Stitch edit rows into a per-file chronological diff — the diff verb. |
find_file_edits | write | Find every file edit across sessions, cross-agent by default. |
rendezvous | write | # Blocks until all N calls arrive — only possible if they run in |
aggregate | read | Roll a list of row dicts up by ``group_by`` — the generic stats verb. |
audit_brief | read | Token-lean, budgeted session digest for auditors — the *audit_brief* preset. |
detect_current | read | Return the current runtime identity (session + agent) from env/fs. |
find_tool_calls | read | Find every tool call across sessions, cross-agent by default. |
get_body | read | Return the on-demand body for an event / plan ``id``. |
incidents | read | Dangerous shell commands + regret reactions — the *incidents* preset. |
list_sessions | read | List discoverable sessions, optionally filtered by ``agent``. |
locate | read | Find a session across all agents by uuid / id-prefix / title — *locate*. |
network | read | Network-egress audit — the *network* preset (F4.3). |
plan | read | Normalized plan atoms for a session — final vs drafts, grouped by task. |
query | read | Filter/search the unified session **event** stream — the workhorse verb. |
quotes | read | User quotes of prior in-session content — the *quotes* preset. |
read_session | read | Read a single session by ``uuid``; ``agent`` is an optional hint. |
search_sessions | read | Case-insensitive search across sessions. |
session_diff | read | Reconstruct *what the agent changed* in one session — without git. |
session_stats | read | Summarise sessions, grouped and ranked — the *bird |
whoami | read | seen[ |
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
- !CAUTION F 51 / 100
First audit ·
02f774875659
README badge
For maintainers · updates on every re-audit
[](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?
What tools does ai-r expose?
Is ai-r safe to connect to an agent?
What credentials does ai-r need?
How does ai-r run?
How current is this page?
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.
- What is the ai-r MCP server?
- What tools does ai-r expose?
- Is ai-r safe to connect to an agent?