MCP server · Org-owned · Audited from source
Pi MCP server
by earendil-works/piMIT licenceAudited 11 Oct 2026 · source 4dcd6d34635c
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
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
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
}),!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
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
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
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
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
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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
| Tool | What it does | Risk |
|---|---|---|
clear | Clear all messages | destructive |
delete | Delete the last message | destructive |
logout | Remove provider authentication | destructive |
bash | Execute 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 |
deploy | Deploy the application | write |
edit | Edit a file. | write |
fork | Create a new fork from a previous user message | write |
import | Import and resume a session from a JSONL file | write |
name | Set session display name | write |
new | Start a new session | write |
research | Start 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-models | Enable/disable models for Ctrl+P cycling | write |
submit_plan | Submit the plan as a list of steps. | write |
submit_triage | Record the triage result. Call exactly once, as the last step. | write |
thinking | Set thinking level | write |
todo | Add an item to your todo list | write |
todowrite | Write a todo item | write |
trust | Save project trust decision for future sessions | write |
write | Write a file | write |
__pi_deferred_placeholder__ | Reserved placeholder. Never available. Never call this. | read |
arg-test | test | read |
attach | Attach it. | read |
bad | bad | read |
base_tool | base_tool tool | read |
blob | Stream a blob | read |
broken | Starts owned work, then returns a result that is not strict JSON | read |
bug | Report a bug to the Pi developers | read |
calculate | Evaluate mathematical expressions | read |
calculator | Perform basic arithmetic operations | read |
changelog | Show changelog entries | read |
classify | Classify images | read |
clone | Duplicate the current session at the current position | read |
compact | Manually compact the session context | read |
constrained | A constrained tool | read |
copy | Copy last agent message to clipboard | read |
count | Adds to a counter kept in the session and returns the new value | read |
custom-skill | A custom skill | read |
delegate | Delegates | read |
demo | Test | read |
deterministic_probe | Mandatory benchmark tool. Call exactly once with the turn and marker from the user prompt. | read |
double_number | Doubles a number and returns the result | read |
drive | Driven by the test | read |
dummy | Dummy tool | read |
duplicate-tool | First | read |
echo | Echo input | read |
echo_value | Echo a string value | read |
emit | No description in the source | read |
example | tool declaration | read |
export | Export session (HTML default, or specify path: .html/.jsonl) | read |
fail | Always fails. | read |
fan | Call leaf in parallel | read |
find | Find files by pattern | read |
foo | bar | read |
get_circle | Returns a circle image for visualization | read |
get_circle_with_description | Returns a circle image with a text description | read |
get_current_time | Get the current date and time | read |
grep | Search a file | read |
hello | Call the bundled Session worker facet | read |
help | Show help | read |
hidden-skill | A hidden skill. | read |
hold | Waits | read |
hotkeys | Show all keyboard shortcuts | read |
injected | Injected skill | read |
inspect_schema | Inspect the schema | read |
late | late | read |
late_tool | late_tool tool | read |
later | Finishes first | read |
leaf | Return at once | read |
linkedin_skill | Get LinkedIn comments | read |
list | List a directory | read |
load-skills | Load skills | read |
login | Configure provider authentication | read |
lookup | Look up a value | read |
math_operation | Perform basic arithmetic operations | read |
mcp__docs | Search the product docs | read |
mcp__docs__search | No description in the source | read |
mcp__github | GitHub server | read |
mcp__x | Kubernetes cluster tools | read |
model | Select model (opens selector UI) | read |
models.list | List models. | read |
my-skill | Custom project instructions | read |
my-tool | Dashes | read |
my_custom_tool | A custom tool | read |
my_tool | Shadowed | read |
noop | noop | read |
optional | Optional constrained sampling | read |
ordinary | An ordinary tool | read |
pair | pair | read |
ping | Ping | read |
preferred | Preferred constrained tool | read |
print | Prints | read |
probe | probe | read |
probe_first | Unused probe tool. | read |
probe_second | Unused probe tool added on the second turn. | read |
project-agent | Project test agent | read |
quit | Quit ${APP_NAME} | read |
read | Read a file | read |
read-file | dashed | read |
read_file | underscored | read |
read_image | Read an image | read |
read_issue | Read one issue in full: status, labels, and body. | read |
reload | Reload keybindings, extensions, skills, prompts, themes, and context files | read |
resume | Resume a different session | read |
review | Review template | read |
sample_tool | Sample tool | read |
script | Read and classify images | read |
search | Search travel information about a city. Topics: weather, museums, trains. Slow; call several in parallel. | read |
search_issues | Keyword search over the repository | read |
second | second tool | read |
session | Show session info and stats | read |
settings | Open settings menu | read |
share | Share session as a secret GitHub gist | read |
share_tool | Render a value for sharing | read |
shot | Returns an image. | read |
skill-one | First skill. | read |
skill-two | Second skill. | read |
slow | slow | read |
spawn | Starts owned work, then throws or hangs | read |
steps | Streams three steps | read |
strict | Strict constrained sampling | read |
subagent | Delegate 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 |
t1 | strict tool | read |
t2 | non-strict tool | read |
tail | Prints lines | read |
test | test tool | read |
test-skill | A test skill. | read |
test_tool | A test tool | read |
tree | Navigate session tree (switch branches) | read |
unrelated | unrelated | read |
version | Report the tool | read |
visible-skill | A visible skill. | read |
wait | wait | read |
x | a */ b | read |
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
- ✕BLOCK F 39 / 100
First audit ·
4dcd6d34635c
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Pi expose?
Is Pi safe to connect to an agent?
What credentials does Pi need?
How does Pi run?
How current is this page?
Which Pi MCP server is the right one?
I already installed Pi. What should I do?
Can the verdict change?
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.
- What is the Pi MCP server?
- What tools does Pi expose?
- Is Pi safe to connect to an agent?