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

MCP server · Audited from source

pi-mcp-adapter

by nicobailon/pi-mcp-adapterMIT licenceAudited 12 Oct 2026 · source 393ccd3364d6

npm pi-mcp-adapter 5.2.0stdiostreamable-http★ 1,588
!CAUTIONGrade C · 76/100 · 12 Oct 2026 · 393ccd3
1,588GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score76/100!CAUTION C
0 critical0 high5 medium18 low5 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 18 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 5 findings
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 nicobailonUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmpi-mcp-adapter at 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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
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__/secure-keyring-recovery.test.ts:30
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__/fixtures/ca/server-key.pem:1
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
—
LOWFilesystem / pathfs.traversal · __tests__/config.test.ts:363
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
serverName: "../../server",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.beacon_words · __tests__/config.test.ts:1460
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
- `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
F-04 Network egressCWE-200 · CWE-319Layer L1
- `/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
F-04 Network egressCWE-200 · CWE-319Layer L1
- 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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`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
F-13 Inventory / provenanceCWE-1104Layer L0
banner.png
Why
1154589 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · pi-mcp.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
pi-mcp.mp4
Why
3003412 bytes not read
Fix
—

Tools it exposes

68 declared in source · 0 destructive

65 read3 write0 destructive
ToolRiskWhat it does
add_commentwriteAdd a comment to an issue.
add_labelwriteAdd a label to an issue.
create_notewriteCreate a note.
abort_pendingreadWaits for a pending input handler
alphareadExpanded alpha description
appreadApp
app_onlyreadApp
bothreadBoth
briefreadDaily brief on a topic
classic_initialize_reachedreadClassic initialize completed
close_appreadClose the demo app
close_issuereadClose an issue, optionally posting a comment first.
datereadOptional ISO date
demo_lookupreadNew lookup
demo_read_guidereadLive guide
demo_searchreadSearch demo v2
do-thingreadCurrent
do_thingreadDo thing
echoreadEcho a value and record receipt
failreadReturn an MCP tool error
fallback_read_manualreadCached manual
findreadFind
find_recordsreadFind records
fixture_controlreadControls the modern listen fixture
freshreadFresh tool
fresh_promptreadFresh prompt
fresh_toolreadFresh tool
get_issuereadGet one issue by number.
get_nodesreadNodes
get_nodes_secretreadSecret nodes
get_pullreadGet one pull request by number.
get_screenshotreadScreenshot
get_transcriptreadGet a meeting transcript as plain text.
haikureadCompose a haiku
hangreadNever resolves
launch_appreadLaunch the demo app
legacy_after_sibling_probereadClassic initialize completed after disposable probe exit
legacy_completereadLegacy result without a resultType
listreadList things
list_issuesreadList issues in the repository. Results are paginated; request further pages until fewer than per_page items are returned.
list_labelsreadList repository labels.
list_projectsreadList projects
list_pullsreadList pull requests. Paginated like list_issues.
list_transcriptsreadList meeting transcripts.
lookupreadLookup from disk
mcp__team_docsreadTeam docs
modern_discovery_reachedreadMCP 2026-07-28 negotiation completed
namespace.toolreadNamespaced tool
namespace_toolreadUnderscored
needs_uireadNeeds an input handler
oldreadOld tool
one_roundreadOne input-required round
otherreadOther
other_toolreadAnother tool
readreadRead a file
read_namespace.toolreadTool before colliding resource
searchreadSearch
search-recordsreadSearch
search_docsreadSearch product documentation. Returns matching sections as markdown.
search_recordsreadFailed
show_chartreadNo description in the source
sizedreadReturn an exact-sized UTF-8 JSON result
stalereadStale
stream_adventurereadNo description in the source
topicreadTopic to summarize
two_roundsreadTwo input-required rounds
unselectedreadNot selected
visiblereadVisible

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]

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

  1. !CAUTION C 76 / 100

    First audit · 393ccd3364d6

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/nicobailon/pi-mcp-adapter/badge.svg)](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?
Token-efficient MCP adapter for Pi coding agent
What tools does pi-mcp-adapter expose?
68 in total: 65 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is pi-mcp-adapter safe to connect to an agent?
With care. The audit graded it C (76/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 pi-mcp-adapter need?
It reads 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, OPENROUTER_API_KEY, PI_MCP_ADAPTER_DISABLE_AUTH_CACHE, PI_MCP_ADAPTER_DISABLE_KEYRING_RECOVERY and PI_MCP_ADAPTER_FAKE_KEYRING_STORE 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-mcp-adapter run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as pi-mcp-adapter at 5.2.0.
How current is this page?
The grade is for one exact copy of the source (393ccd3364d6), read on 2026-10-12. The repository is watched and re-audited when it changes.

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.