Run Pi with 10+ MCP servers without blowing the context window
Когда использовать: You want filesystem, git, github, postgres, playwright, fetch, firecrawl — more than Pi can eagerly load.
Предварительные требования
- Pi installed — See badlogic/pi-mono
Поток
-
Install the adapterRun
pi install npm:pi-mcp-adapterand restart Pi.✓ Скопировано→ Adapter listed in Pi's extensions -
Configure all your MCPsAdd filesystem, git, github, postgres MCPs to pi-mcp-adapter in lazy mode.✓ Скопировано→ Servers registered; no boot overhead
-
Use via searchUse mcp({search: 'list files'}) to find the right tool, then call it.✓ Скопировано→ Relevant tool surfaced; then called
Итог: Full MCP ecosystem available inside Pi, with a tiny context footprint.
Подводные камни
- Search misses a tool because description is bad — Promote frequent tools to 'direct tools' so Pi sees them eagerly