pi-mcp-adapter
Token-efficient MCP adapter for Pi coding agent.
The Pi MCP Adapter allows users to utilize MCP servers with the Pi coding agent without consuming excessive context tokens. Traditional MCP servers can use up to 10,000 tokens, which can significantly limit the context available for conversations. This adapter streamlines the process by connecting to servers only when needed, thereby saving valuable tokens and resources.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pi-mcp-adapter": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pi-mcp-adapter"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions