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