piagent_
← ~/map

$ cat ~/map/pi-mcp-adapter.md

Pi MCP Adapter

Use MCP servers with Pi without burning your context window.

extensions✓ Oct 16

Facts

repository
github.com/nicobailon/pi-mcp-adapter ↗
GitHub Stars
★ 1.6K
Forks
391
license
MIT
npm / mo
—
last push
Oct 16, 2026

install

pi install npm:pi-mcp-adapter

## TL;DR

Use MCP servers with pi without burning your context window: one ~200-token proxy tool replaces hundreds of verbose tool definitions, servers start only when used, and the agent discovers capabilities on demand.

## Key points

## FAQ

Q Do I need to restart pi after installing?

Yes — pi install npm:pi-mcp-adapter then restart Pi, after which the /mcp command drives setup, status, and per-server options.

Q What happens on the first run with nothing configured?

/mcp setup scaffolds a minimal .mcp.json, offers a curated known server, quick-adds RepoPrompt, or just shows what the adapter discovered on your machine.

Q Can it run inside DeepSeek Harness?

Yes — the third-party pi2dsh bridge runs the unmodified adapter under DSH, with a verified TUI/Web MCP guide in that project's examples.

## References

## Related entries

## Guides

Last updated: Aug 31, 2026