pi-mcp-adapter
#68 of 203 by Downloads / week among npm packages
MCP (Model Context Protocol) adapter extension for Pi coding agent
About
Use MCP servers with Pi without burning your context window.
Mario wrote about why you might not need MCP. The problem: tool definitions are verbose. A single MCP server can burn 10k+ tokens, and you're paying that cost whether you use those tools or not. Connect a few servers and you've burned half your context window before the conversation starts.
His take: skip MCP entirely, write simple CLI tools instead.
But the MCP ecosystem has useful stuff - databases, browsers, APIs. This adapter gives you access without the bloat. One proxy tool (200 tokens) instead of hundreds. The agent discovers what it needs on-demand. Servers only start when you actually use them.
The adapter reads…
Excerpted from www.npmjs.com/package/pi-mcp-adapter
Latest metrics
| Downloads / week | 37.7k | 2026-07-16 |
|---|