Run Pi with 10+ MCP servers without blowing the context window
When to use: You want filesystem, git, github, postgres, playwright, fetch, firecrawl — more than Pi can eagerly load.
Prerequisites
- Pi installed — See badlogic/pi-mono
Flow
-
Install the adapterRun
pi install npm:pi-mcp-adapterand restart Pi.✓ Copied→ Adapter listed in Pi's extensions -
Configure all your MCPsAdd filesystem, git, github, postgres MCPs to pi-mcp-adapter in lazy mode.✓ Copied→ Servers registered; no boot overhead
-
Use via searchUse mcp({search: 'list files'}) to find the right tool, then call it.✓ Copied→ Relevant tool surfaced; then called
Outcome: Full MCP ecosystem available inside Pi, with a tiny context footprint.
Pitfalls
- Search misses a tool because description is bad — Promote frequent tools to 'direct tools' so Pi sees them eagerly