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