nicobailon/pi-mcp-adapter
#529 of 803 by Stars among GitHub repos
Token-efficient MCP adapter 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 github.com/nicobailon/pi-mcp-adapter
Latest metrics
| Stars | 1.5k | 2026-09-12 |
|---|---|---|
| Forks | 333 | 2026-09-12 |
| Commits | 506 | 2026-09-12 |
| Releases | 62 | 2026-09-12 |
| Watchers | 5 | 2026-09-12 |
| Open issues | 2 | 2026-09-12 |
| Open PRs | 2 | 2026-09-12 |