pi-mcp-adapter

pi-mcp-adapter

An efficient MCP adapter for Pi coding proxy, reducing token consumption.

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

pi-mcp-adapter is an efficient MCP adapter designed specifically for the Pi coding proxy. It reduces token consumption in the context window by minimizing redundant tool definitions. The adapter allows you to leverage useful tools from the MCP ecosystem without sacrificing functionality—just one proxy tool (around 200 tokens) instead of hundreds. The proxy discovers required tools on demand, and the server starts only when actually used. Ideal for developers and teams needing to efficiently utilize tokens.

Capabilities

  • Reduces token consumption
  • On-demand loading of MCP servers
  • Automatically reads standard MCP files
  • Supports multiple transport protocols

Use cases

Optimizing token usage in Pi proxyIntegrating database, browser, and API toolsSimplifying MCP configuration management

Setup

Requires: Node 环境API Key
pi install npm:pi-mcp-adapter

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I install pi-mcp-adapter?

Run `pi install npm:pi-mcp-adapter` and restart Pi.

What happens on first run?

The adapter automatically reads standard MCP files, requiring no additional setup.

Related skills