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

MCP server · Org-owned · Audited from source

Pi MCP server

by earendil-works/piMIT licenceAudited 11 Oct 2026 · source 4dcd6d34635c

npm @earendil-works/pi-tui 1.1.0streamable-http★ 114,265
✕BLOCKGrade F · 39/100 · 11 Oct 2026 · 4dcd6d3

Is it safe? No — BLOCK, grade F (39/100). It exposes 133 tools: 114 read, 16 write and 3 destructive. The audit recorded 86 findings (0 critical, 2 high, 11 medium, 58 low). Maintainer's description: AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Pi MCP server (earendil-works/pi)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/earendil-works/pi

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at packages/coding-agent/src/core/export-html/vendor/highlight.min.js:133. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

2 MCP servers are called Pi. You are viewing earendil-works/pi. Compare all 2 →

  • earendil-works/pi Org-owned★ 114,265✕BLOCK
  • TGYD-helige/pi Org-owned★ 79✕BLOCK

Trust audit

Audit 0.4.1 · full source read 11 Oct 2026

Trust score39/100✕BLOCK F
0 critical2 high11 medium58 low15 info

86 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

  • FilesystemDeclared6 observations
  • NetworkDeclared6 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (86)

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

HIGHCode injectioncode.eval_exec · packages/coding-agent/src/core/export-html/vendor/highlight.min.js:133
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHFilesystem / pathfs.credential_store · packages/ai/src/providers/google-vertex.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const VERTEX_ADC_PATH = "~/.config/gcloud/application_default_credentials.json";
Why
touches a credential store
Fix
—
MEDIUMInventory / provenanceinv.binary · packages/tui/native/darwin/prebuilds/darwin-arm64/darwin-platform.node
F-13 Inventory / provenanceCWE-1104Layer L0
darwin-platform.node
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · packages/tui/native/darwin/prebuilds/darwin-x64/darwin-platform.node
F-13 Inventory / provenanceCWE-1104Layer L0
darwin-platform.node
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · packages/tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node
F-13 Inventory / provenanceCWE-1104Layer L0
linux-platform-x11.node
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · packages/tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node
F-13 Inventory / provenanceCWE-1104Layer L0
linux-platform-x11.node
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInsecure cryptocrypto.weak_random · packages/ai/src/providers/faux.ts:291
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const tokenSize = minTokenSize + Math.floor(Math.random() * (maxTokenSize - minTokenSize + 1));
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · packages/ai/src/auth/oauth/openrouter.ts:129
F-04 Network egressCWE-200 · CWE-319Layer L1
callback_url: callback.redirectUri,
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · packages/ai/src/auth/oauth/openai-chatgpt.ts:25
F-04 Network egressCWE-200 · CWE-319Layer L1
const REDIRECT_URI = `http://127.0.0.1:${CALLBACK_PORT}${CALLBACK_PATH}`;
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/ai/test/github-copilot-anthropic.test.ts:87
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 · packages/ai/test/github-copilot-anthropic.test.ts:120
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 · packages/ai/test/google-vertex-api-key-resolution.test.ts:96
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
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
clear, delete, logout
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · packages/coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm
F-13 Inventory / provenanceCWE-1104Layer L0
doom.wasm
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.suspicious_name · packages/ai/test/bedrock-thinking-payload.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
bedrock-thinking-payload.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWInventory / provenanceinv.suspicious_name · packages/coding-agent/examples/extensions/provider-payload.ts
F-13 Inventory / provenanceCWE-1104Layer L0
provider-payload.ts
Why
member named after an attack tool
Fix
remove or justify
LOWCode injectioncode.eval_exec · packages/agent/test/utils/calculate.ts:12
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const result = new Function(`return ${expression}`)();
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · packages/ai/test/validation.test.ts:188
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const generatedCheck = new Function(Compile(tool.parameters).Code())() as (value: unknown) => boolean;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · packages/codemode/test/sandbox.test.ts:716
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
new Function("return typeof process")(),
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · packages/coding-agent/examples/extensions/doom-overlay/doom-engine.ts:65
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const moduleFunc = new Function("module", "exports", "__dirname", "__filename", "require", doomJsCode);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInformation disclosuredisclose.log_secret · packages/ai/test/total-tokens.test.ts:519
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\nXiaomi MiMo Token Plan CN / ${llm.id}:`);
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · packages/ai/test/total-tokens.test.ts:544
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\nXiaomi MiMo Token Plan AMS / ${llm.id}:`);
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · packages/ai/test/total-tokens.test.ts:569
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\nXiaomi MiMo Token Plan SGP / ${llm.id}:`);
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · packages/ai/test/total-tokens.test.ts:594
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\nQwen Token Plan / ${llm.id}:`);
Why
No further detail recorded for this rule.
Fix
—
LOWInformation disclosuredisclose.log_secret · packages/ai/test/total-tokens.test.ts:619
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\nQwen Token Plan Individual / ${llm.id}:`);
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

133 declared in source · 3 destructive

114 read16 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
clearClear all messagesdestructive
deleteDelete the last messagedestructive
logoutRemove provider authenticationdestructive
bashExecute a bash command in the current working directory. Returns combined stdout and stderr. Output is truncated to last ${DEFAULT_MAX_LINES} lines or ${DEFAULT_MAX_BYTES / 1024}KB (whichever is hit first). If truncated, full output is saved to a temp file. Optionally provide a timeout in seconds.write
deployDeploy the applicationwrite
editEdit a file.write
forkCreate a new fork from a previous user messagewrite
importImport and resume a session from a JSONL filewrite
nameSet session display namewrite
newStart a new sessionwrite
researchStart a research subagent in the background. It searches while you keep talking with the user; its report arrives later as a message starting with [research report].write
scoped-modelsEnable/disable models for Ctrl+P cyclingwrite
submit_planSubmit the plan as a list of steps.write
submit_triageRecord the triage result. Call exactly once, as the last step.write
thinkingSet thinking levelwrite
todoAdd an item to your todo listwrite
todowriteWrite a todo itemwrite
trustSave project trust decision for future sessionswrite
writeWrite a filewrite
__pi_deferred_placeholder__Reserved placeholder. Never available. Never call this.read
arg-testtestread
attachAttach it.read
badbadread
base_toolbase_tool toolread
blobStream a blobread
brokenStarts owned work, then returns a result that is not strict JSONread
bugReport a bug to the Pi developersread
calculateEvaluate mathematical expressionsread
calculatorPerform basic arithmetic operationsread
changelogShow changelog entriesread
classifyClassify imagesread
cloneDuplicate the current session at the current positionread
compactManually compact the session contextread
constrainedA constrained toolread
copyCopy last agent message to clipboardread
countAdds to a counter kept in the session and returns the new valueread
custom-skillA custom skillread
delegateDelegatesread
demoTestread
deterministic_probeMandatory benchmark tool. Call exactly once with the turn and marker from the user prompt.read
double_numberDoubles a number and returns the resultread
driveDriven by the testread
dummyDummy toolread
duplicate-toolFirstread
echoEcho inputread
echo_valueEcho a string valueread
emitNo description in the sourceread
exampletool declarationread
exportExport session (HTML default, or specify path: .html/.jsonl)read
failAlways fails.read
fanCall leaf in parallelread
findFind files by patternread
foobarread
get_circleReturns a circle image for visualizationread
get_circle_with_descriptionReturns a circle image with a text descriptionread
get_current_timeGet the current date and timeread
grepSearch a fileread
helloCall the bundled Session worker facetread
helpShow helpread
hidden-skillA hidden skill.read
holdWaitsread
hotkeysShow all keyboard shortcutsread
injectedInjected skillread
inspect_schemaInspect the schemaread
latelateread
late_toollate_tool toolread
laterFinishes firstread
leafReturn at onceread
linkedin_skillGet LinkedIn commentsread
listList a directoryread
load-skillsLoad skillsread
loginConfigure provider authenticationread
lookupLook up a valueread
math_operationPerform basic arithmetic operationsread
mcp__docsSearch the product docsread
mcp__docs__searchNo description in the sourceread
mcp__githubGitHub serverread
mcp__xKubernetes cluster toolsread
modelSelect model (opens selector UI)read
models.listList models.read
my-skillCustom project instructionsread
my-toolDashesread
my_custom_toolA custom toolread
my_toolShadowedread
noopnoopread
optionalOptional constrained samplingread
ordinaryAn ordinary toolread
pairpairread
pingPingread
preferredPreferred constrained toolread
printPrintsread
probeproberead
probe_firstUnused probe tool.read
probe_secondUnused probe tool added on the second turn.read
project-agentProject test agentread
quitQuit ${APP_NAME}read
readRead a fileread
read-filedashedread
read_fileunderscoredread
read_imageRead an imageread
read_issueRead one issue in full: status, labels, and body.read
reloadReload keybindings, extensions, skills, prompts, themes, and context filesread
resumeResume a different sessionread
reviewReview templateread
sample_toolSample toolread
scriptRead and classify imagesread
searchSearch travel information about a city. Topics: weather, museums, trains. Slow; call several in parallel.read
search_issuesKeyword search over the repositoryread
secondsecond toolread
sessionShow session info and statsread
settingsOpen settings menuread
shareShare session as a secret GitHub gistread
share_toolRender a value for sharingread
shotReturns an image.read
skill-oneFirst skill.read
skill-twoSecond skill.read
slowslowread
spawnStarts owned work, then throws or hangsread
stepsStreams three stepsread
strictStrict constrained samplingread
subagentDelegate a self-contained task to a subagent with the same tools and get its answer back. Give it everything it needs to know; it does not see this conversation.read
t1strict toolread
t2non-strict toolread
tailPrints linesread
testtest toolread
test-skillA test skill.read
test_toolA test toolread
treeNavigate session tree (switch branches)read
unrelatedunrelatedread
versionReport the toolread
visible-skillA visible skill.read
waitwaitread
xa */ bread

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK F 39 / 100

    First audit · 4dcd6d34635c

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Pi MCP server

What is the Pi MCP server?
AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
What tools does Pi expose?
133 in total: 114 read-only, 16 that write, and 3 that can delete or overwrite (clear, delete, logout). Every one is listed on this page with its risk.
Is Pi safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (39/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Pi need?
It reads ACME_STREAM_API_KEY, AI_GATEWAY_API_KEY, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_OAUTH_TOKEN, ANT_LING_API_KEY, AWS_ACCESS_KEY_ID, AWS_BEARER_TOKEN_BEDROCK, AWS_SECRET_ACCESS_KEY, AZURE_OPENAI_API_KEY, BASETEN_API_KEY and CEREBRAS_API_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 Pi run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @earendil-works/pi-tui at 1.1.0.
How current is this page?
The grade is for one exact copy of the source (4dcd6d34635c), read on 2026-10-11. The repository is watched and re-audited when it changes.
Which Pi MCP server is the right one?
2 unrelated servers share the name “Pi”; compare them side by side before you install.
I already installed Pi. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • earendil-works/pi on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 4dcd6d34635cObserved · 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.