nicobailon/pi-mcp-adapter

Token-efficient MCP adapter for Pi coding agent

58
/ 100
Established

Implements lazy-loading MCP server connections with on-demand tool discovery and metadata caching, reducing the proxy tool cost to ~200 tokens regardless of server count. Supports stdio, HTTP, and StreamableHTTP transports with configurable lifecycle modes (lazy, eager, keep-alive) and automatic idle disconnection. Integrates with Pi's agent framework via a single `mcp()` proxy tool, optional direct tool registration for selective tools, and MCP UI standard for interactive dashboards with bidirectional agent communication.

186 stars. Available on npm.

Maintenance 10 / 25
Adoption 10 / 25
Maturity 20 / 25
Community 18 / 25

How are scores calculated?

Stars

186

Forks

29

Language

TypeScript

License

MIT

Last pushed

Feb 20, 2026

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/nicobailon/pi-mcp-adapter"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.