pi-mcp-extension weekly downloads statistics
By irahardianto · npm · MCP servers
Full-featured, lightweight MCP extension for the Pi coding agent: stdio, SSE & Streamable HTTP transports, OAuth 2.1 (PKCE + DCR), lazy/eager lifecycles — minimal dependencies, zero bloat.
pi-mcp-extension has 28,790 recorded weekly downloads on npm, a decrease of 85.0% over the past 30 days, ranking #935 of 3,247 tracked listings.
About pi-mcp-extension
<img src="https://raw.githubusercontent.com/irahardianto/pi-mcp-extension/main/docs/icon.svg" width="32" height="32" align="top" alt="" /> pi-mcp-extension
Connect Pi to any MCP server. Supabase, DeepSource, Playwright, Context7, filesystem, databases — if it speaks MCP, Pi can use it.
pi-mcp-extension is a production-ready Model Context Protocol client extension for the Pi coding agent. It manages server connections, discovers tools, and bridges them into Pi so the LLM can call them directly.
Quick Start · Configuration · OAuth 2.1 · Commands & Agent Tools · Debug Log · How It Works · MCP Spec Compliance
Features
- Multi-transport —
stdiosubprocesses,streamable-http(including"http"and URL-only shorthand), and legacysseout of the box - Auto-discovery — Paginated
tools/listwith cursor following (MCP 2025-03-26 spec) - Live tool refresh —
notifications/tools/list_changedtriggers re-discovery without restart - Live tool progress — a server's
notifications/progressevents stream into Pi as live tool-call updates (server text is sanitized and secret-redacted, repeated lines are collapsed), and every notification restarts the per-request timeout, so a long-running tool that keeps reporting — a browser flow, migration, or test runner — is no longer killed atrequestTimeoutMswhile it is demonstrably working - Clean cancellation —
AbortSignalpropagation vianotifications/cancelled - Smart reconnection — Fixed delay retry schedule (1s → 3s → 5s → 10s → 30s), configurable max retries, automatic recovery when a server transport closes or errors unexpectedly, and mid-session HTTP
401/403 insufficient_scopedetection that invalidates stale tokens and prompts for re-authorization - Health checks — Opt-in periodic pings to detect stale connections
- Safe process lifecycle — Child PID tracking with tree-aware cleanup: descendants of wrapper commands (
npx,npm exec,uvx,sh -c) are terminated too, and inherited pipes are released so teardown never stalls - Stable tool names — Sanitized, collision-avoiding names (
<prefix>_<server>_<tool>, max 64 chars) that stay constant across reconnects and connection orders: within a server, the raw name needing no substitution keeps the unhashed form (my_toolwins overmy-tool) and ties break by raw-name order; across configured peers with the same sanitized stem (my_srvvsmy-srv), the lossless/code-point winner keeps the unhashed form while losing peers hash; cross-server_boundary collisions (a/b_cvsa_b/c) symmetrically settle both tools onto deterministic hashed identifiers without stealing names acrosstools/list_changedrefreshes; and built-in management/resource tools and peer-extension tools are never overwritten or disabled - Stable tool order — Active MCP tools keep one deterministic order across session starts,
/treenavigation, and idle or mid-turnsetActiveToolsupdates (includingtool_search): each active owned tool is sorted by Pi name among the slots it occupies, inactive tools stay off, and other extensions' tools never move. The same order is applied to outgoing provider tool declarations (top-leveltools, AWS Bedrock ConversetoolConfig.tools, Google/Vertexconfig.tools[].functionDeclarations, andpi-messagescontext.messages[].toolsAdded), which Pi otherwise rebuilds from the transcript's first-appearance order, so the system prompt's tool section and the tools this extension declares stay identical across session starts whatever order the eager servers connected in or the servers list their tools in — keeping a server-side prefix cache warm. A server that connects after an earlier turn is announced on that later turn through the provider's mid-conversation tool-addition channel, which cannot move back into earlier turns - No tool churn — Activate/deactivate pattern ensures tools don't flicker during reconnection
- Tool exposure control — Honor Pi 1.3.0's
exposure/toolExposure: declare only the handful of tools a task needsdirect, leave the rest to Pi'stool_searchand codemode on-demand loading, or hide them entirely — so a 30–80-tool server (GitHub, Supabase, Playwright, Notion) no longer spends 10k–30k tokens of tool declarations per turn or degrades tool selection - Layered config & trust boundary — Global
<agent dir>/mcp.json, project.pi/mcp.json(loaded only in trusted projects, including Pi 1.3.0 partial overrides), and Pi 1.x extension-registered servers (pi.registerMcpServer()) - **Rich tool results &…
Description from the npm listing.
- pi-package
- mcp
- model-context-protocol
- pi
- pi-extension
- ai-agent
- tool-bridge
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 pi-mcp-extension alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/pi-mcp-extension. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.