AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Code Assistant/
pi-mcp-adapter
pi-mcp-adapter logo

pi-mcp-adapter

Active·★ 1.6k·MIT·Updated 2026-10-22

Pi MCP Adapter lets the Pi coding agent use MCP servers without filling its context window. The README's reasoning is that a single MCP server can burn 10k+ tokens on verbose tool definitions, and it cites a blog post arguing you might not need MCP at all. Rather than dropping the MCP ecosystem (databases, browsers, APIs), the adapter exposes one proxy tool of about 200 tokens and lets the agent search and discover tools on demand: `mcp({ search: "screenshot" })` finds a tool, and `mcp({ tool: "...", args: '{...}' })` calls it, which the README contrasts with 26 tools cluttering the context.

Install with `pi install npm:pi-mcp-adapter` and restart Pi. It reads standard MCP files automatically (`~/.config/mcp/mcp.json`, `.mcp.json`, plus Pi-specific override files), with a documented precedence order. Servers are lazy by default: they connect only when a tool is called, disconnect after an idle timeout (10 minutes by default) and use cached metadata so search works offline; `eager` and `keep-alive` modes are available, and `directTools` can promote chosen tools. The README also covers MCP UI integration. It is MIT licensed.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-18.

License
MIT
Latest release
v5.3.2 · 2026-10-17
Last commit
2026-10-18
Contributors
85
Forks
407
Open issues and PRs
0
First published
2026-01-19

Source: GitHub, npm and PyPI public APIs.

#ai#claude#coding-agent#extension#llm#mcp#mcp-servers#model-context-protocol
$ Install
$ pi install npm:pi-mcp-adapter
↗ Visit site★ GitHub
01

Features

01Single proxy tool (~200 tokens) instead of hundreds
02Lazy server connections (connect on first use, disconnect after idle)
03Tool metadata caching for search/list/describe without live connections
04Direct tools support to promote specific tools to first-class Pi tools
05Interactive configuration panel and guided setup via /mcp commands
02

Why choose it

+One ~200-token proxy tool instead of every server's tool definitions in context
+Reads standard `.mcp.json` and shared MCP config files, so existing setups work
+Lazy connections with idle timeout and cached metadata; eager and keep-alive modes if you need them
+`directTools` option to expose chosen tools directly
03

Trade-offs

!Only for the Pi agent, so it is no use with other clients
!Calling tools takes a search step first, and `args` must be a JSON string, which models can get wrong
!Lazy connections add startup latency on the first call to each server
!Several config files with a precedence order take care to understand
04

Maintenance check

ActiveChecked: 2026-10-18
Last commit
2026-10-18
Commits, last 90 days
100+
Releases, last 90 days
30
Latest release
v5.3.2 (2026-10-17)
Open issues
0
Recent issues with at least one comment
6/16
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 44, 33, 39, 26, 28, 16, 25, 53, 91, 13, 22, 2

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

05

Compatibility

cursor
Cursor
Verified via docs
claude-code
Claude Code
Verified via docs
claude-desktop
Claude Desktop
Verified via docs
vscode
VS Code
Verified via docs
windsurf
Windsurf
Verified via docs
codex
Codex
Verified via docs
06

Quick start

1
$ pi install npm:pi-mcp-adapter
07

Use cases

↳Access databases via MCP database servers
↳Automate browser tasks with browser automation MCP servers
↳Integrate external APIs through MCP API servers
08

Alternatives

⚡Top VS:
VStestrail-mcp-server★44→VSrails-ai-context★165→VSopenrouter-mcp-multimodal★99→VSmcp-gateway★84→
testrail-mcp-server logo
testrail-mcp-server★ 44
AI-native MCP server connecting Claude, Cursor, Windsurf, and other AI assistants to TestRail — manage test cases, runs, and results through natural-language conversation, with typed schemas built for LLMs.
VSCompare→
rails-ai-context logo
rails-ai-context★ 165
Auto-expose your Rails app to AI assistants via MCP — zero config, 28 introspectors, 11 read-only tools, 37% fewer tokens. Works with Claude Code, Cursor, Windsurf & Copilot.
VSCompare→
openrouter-mcp-multimodal logo
openrouter-mcp-multimodal★ 99
MCP server for OpenRouter providing text chat and image analysis tools
VSCompare→
mcp-gateway logo
mcp-gateway★ 84
Universal MCP Gateway - Single-port multiplexing with Meta-MCP for ~95% context token savings
VSCompare→
onetool-mcp logo
onetool-mcp★ 24
🧿 One MCP for developers - no tool tax, no context rot. 100+ tools including Brave, Google, Context7, Excalidraw, AWS, Version Checker, Excel, File Ops, Database, Playwright, Chrome DevTools and many more.
VSCompare→
bricks-mcp-open logo
bricks-mcp-open★ 92
The most comprehensive open-source MCP server for Bricks Builder — 105 tools for pages, templates, styles, SEO, content, and more.
VSCompare→
ai-mate logo
ai-mate★ 42
AI development assistant MCP server for Symfony projects
VSCompare→
mcpforge logo
mcpforge★ 18
No description provided.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
nicobailon /
pi-mcp-adapter
↗

Use MCP servers in Pi through one small proxy tool instead of hundreds of definitions

1.6k407MIT
Last commitToday
StatusActive
CategoryCode Assistant
Contributors85
Latest releasev5.3.2
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.