MCP server · Audited from source
pi-mcp-adapter
by nicobailon/pi-mcp-adapterMIT licenceAudited 12 Oct 2026 · source 393ccd3364d6
Is it safe? With care — CAUTION, grade C (76/100). It exposes 68 tools: 65 read, 3 write and 0 destructive. The audit recorded 28 findings (0 critical, 0 high, 5 medium, 18 low). Maintainer's description: Token-efficient MCP adapter for Pi coding agent
Cite
Cite this page
ModelsAtlas. “pi-mcp-adapter (nicobailon/pi-mcp-adapter)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/nicobailon/pi-mcp-adapter
Trust audit
Audit 0.4.1 · full source read 12 Oct 2026
28 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
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- 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 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 18 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 5 findings |
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
nicobailonUser accountAccount type recorded when we read the repository. - PackagePublished on npm
pi-mcp-adapterat version 5.2.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit read393ccd3364d6The audit covers exactly this commit, read on 12 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory68 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 (28)
Sorted by severity · the 25 most severe of 28 are listed
MEDIUMInformation disclosuredisclose.log_secret · dist/mcp-auth-flow.js:958
console.log(`MCP Auth: Token expired for ${serverName}, attempting refresh`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · mcp-auth-flow.ts:1157
console.log(`MCP Auth: Token expired for ${serverName}, attempting refresh`)- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · __tests__/host-managed.test.ts:19
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__/secure-keyring-recovery.test.ts:30
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__/fixtures/ca/server-key.pem:1
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · __tests__/config.test.ts:363
writeJson(join(home, ".pi", "agent", "settings.json"), { packages: ["git:../../outside-package"] });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · __tests__/fixtures/mcp-code-fd-runner.ts:1
import { runMcpScript } from "../../mcp-code.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · __tests__/fixtures/mcp-code-fd-runner.ts:2
import type { McpExtensionState } from "../../state.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · __tests__/fixtures/request-headers-stream.ts:4
import { createRequestHeadersCommandFetch } from "../../request-headers-command.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · __tests__/mcp-install.test.ts:35
serverName: "../../server",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.beacon_words · __tests__/config.test.ts:1460
it("does not exfiltrate the baked VK when a url-only override repoints the server", async () => {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CHANGELOG.md:35
- `SYSTEMONE_ENDPOINT` can point at a System One server on your own machine, such as `http://127.0.0.1:8080/v1/systemone`. Plain `http` is accepted only on `localhost`, `127.0.0.0/8`, and `[::1]`; eve
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CHANGELOG.md:129
- `/mcp-adapter setup` offers Figma (desktop) when the Figma app is installed. It adds the app's local server at `http://127.0.0.1:3845/mcp` and, if nothing answers there yet, says how to turn it on i
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CHANGELOG.md:205
- OAuth callbacks now default to `http://127.0.0.1:<port>/callback` instead of `localhost`, as RFC 8252 recommends. Servers that reject `localhost`, such as Lovable, now work without extra setup. If a
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · __tests__/agent-plugin-conformance.test.ts:109
url: `http://127.0.0.1:${address.port}/mcp`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · __tests__/agent-plugin-conformance.test.ts:131
url: `http://127.0.0.1:${address.port}/mcp`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · examples/interactive-visualizer/package.json
@modelcontextprotocol/ext-apps, @modelcontextprotocol/sdk, chart.js, mermaid, zod, esbuild, typescript
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/ext-tasks, @napi-rs/keyring, ajv, ajv-formats, cross-spawn, open, smol-toml, strip-json-comments
- Why
- 14 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:86
- HTTP servers accept `"auth": { "provider": "<name>" }`, in adapter config and Pi's `mcp.json`, to send the token of a provider you signed in to with Pi's `/login` (Pi 0.99.2 or later). The token is- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:308
- Jev can send System One requests to any HTTPS provider endpoint set in `SYSTEMONE_ENDPOINT`. TypeSafe stays the default. API keys are stored per endpoint, and an invalid endpoint turns Jev off inste
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:173
- Each Pi session runs its own server processes; [rmcp-mux](https://github.com/nicobailon/pi-mcp-adapter/blob/main/docs/servers.md#shared-mcp-processes-with-rmcp-mux) can share one across sessions
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/configuration.md:114
Servers defined or changed by project-scoped MCP files (`.mcp.json`, `.pi/mcp-adapter.json`, and opted-in ancestor project files) do not run merely because a repository was opened. This includes serve
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/configuration.md:120
`pi-mcp-adapter doctor` loads the config a session in the current directory would (including Pi's own `mcp.json` files when `pi --version` reports 0.99 or later), gives each enabled server 15 seconds
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · banner.png
banner.png
- Why
- 1154589 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · pi-mcp.mp4
pi-mcp.mp4
- Why
- 3003412 bytes not read
- Fix
- —
Tools it exposes
68 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
add_comment | write | Add a comment to an issue. |
add_label | write | Add a label to an issue. |
create_note | write | Create a note. |
abort_pending | read | Waits for a pending input handler |
alpha | read | Expanded alpha description |
app | read | App |
app_only | read | App |
both | read | Both |
brief | read | Daily brief on a topic |
classic_initialize_reached | read | Classic initialize completed |
close_app | read | Close the demo app |
close_issue | read | Close an issue, optionally posting a comment first. |
date | read | Optional ISO date |
demo_lookup | read | New lookup |
demo_read_guide | read | Live guide |
demo_search | read | Search demo v2 |
do-thing | read | Current |
do_thing | read | Do thing |
echo | read | Echo a value and record receipt |
fail | read | Return an MCP tool error |
fallback_read_manual | read | Cached manual |
find | read | Find |
find_records | read | Find records |
fixture_control | read | Controls the modern listen fixture |
fresh | read | Fresh tool |
fresh_prompt | read | Fresh prompt |
fresh_tool | read | Fresh tool |
get_issue | read | Get one issue by number. |
get_nodes | read | Nodes |
get_nodes_secret | read | Secret nodes |
get_pull | read | Get one pull request by number. |
get_screenshot | read | Screenshot |
get_transcript | read | Get a meeting transcript as plain text. |
haiku | read | Compose a haiku |
hang | read | Never resolves |
launch_app | read | Launch the demo app |
legacy_after_sibling_probe | read | Classic initialize completed after disposable probe exit |
legacy_complete | read | Legacy result without a resultType |
list | read | List things |
list_issues | read | List issues in the repository. Results are paginated; request further pages until fewer than per_page items are returned. |
list_labels | read | List repository labels. |
list_projects | read | List projects |
list_pulls | read | List pull requests. Paginated like list_issues. |
list_transcripts | read | List meeting transcripts. |
lookup | read | Lookup from disk |
mcp__team_docs | read | Team docs |
modern_discovery_reached | read | MCP 2026-07-28 negotiation completed |
namespace.tool | read | Namespaced tool |
namespace_tool | read | Underscored |
needs_ui | read | Needs an input handler |
old | read | Old tool |
one_round | read | One input-required round |
other | read | Other |
other_tool | read | Another tool |
read | read | Read a file |
read_namespace.tool | read | Tool before colliding resource |
search | read | Search |
search-records | read | Search |
search_docs | read | Search product documentation. Returns matching sections as markdown. |
search_records | read | Failed |
show_chart | read | No description in the source |
sized | read | Return an exact-sized UTF-8 JSON result |
stale | read | Stale |
stream_adventure | read | No description in the source |
topic | read | Topic to summarize |
two_rounds | read | Two input-required rounds |
unselected | read | Not selected |
visible | read | Visible |
Install
Package version 5.2.0 · audited commit 393ccd3
Read the findings first. The most severe is Information disclosure (medium) at dist/mcp-auth-flow.js.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 5.2.0. The audit covers commit 393ccd3 only.
claude mcp add pi-mcp-adapter --env CHILD_SECRET=${CHILD_SECRET} --env MCP_AUTH_URL=${MCP_AUTH_URL} --env MCP_HASH_TOKEN=${MCP_HASH_TOKEN} --env MCP_OAUTH_CALLBACK_PORT=${MCP_OAUTH_CALLBACK_PORT} -- npx -y [email protected]{
"mcpServers": {
"pi-mcp-adapter": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CHILD_SECRET": "${CHILD_SECRET}",
"MCP_AUTH_URL": "${MCP_AUTH_URL}",
"MCP_HASH_TOKEN": "${MCP_HASH_TOKEN}",
"MCP_OAUTH_CALLBACK_PORT": "${MCP_OAUTH_CALLBACK_PORT}"
}
}
}
}The command pins the package version recorded in the source (5.2.0); the audit covers commit 393ccd3364d6. Transport: stdio · streamable-http. Reads these environment variables: CHILD_SECRET, MCP_AUTH_URL, MCP_HASH_TOKEN, MCP_OAUTH_CALLBACK_PORT, MCP_OAUTH_DIR, MCP_TEST_BEARER_TOKEN, MCP_TEST_BEARER_TOKEN_ENV, MCP_TEST_MALFORMED_TOKEN and 4 more. Give it the narrowest token it needs.
Audit history
- !CAUTION C 76 / 100
First audit ·
393ccd3364d6
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/nicobailon/pi-mcp-adapter/)
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 pi-mcp-adapter
What is the pi-mcp-adapter MCP server?
What tools does pi-mcp-adapter expose?
Is pi-mcp-adapter safe to connect to an agent?
What credentials does pi-mcp-adapter need?
How does pi-mcp-adapter run?
How current is this page?
Sources
- nicobailon/pi-mcp-adapter on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 393ccd3364d6Observed · 12 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-adapter MCP server?
- What tools does pi-mcp-adapter expose?
- Is pi-mcp-adapter safe to connect to an agent?