@gjermundgaraba/pi-mcp-bleeding-edge0.3.4
Replaces pi's built-in MCP support with a client on the official MCP TypeScript SDK v2, speaking protocol 2026-07-28 and falling back to 2025-era servers.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-mcp-bleeding-edge
Replaces pi's built-in MCP support with a client on the official MCP TypeScript SDK v2, speaking protocol 2026-07-28 and falling back to 2025-era servers.
[!CAUTION] Experimental: Breaking changes may happen without notice.
Install
Run pi install npm:@gjermundgaraba/pi-mcp-bleeding-edge. To run a checkout instead, run vp install in it, then add its path to packages in ~/.pi/agent/settings.json.
Usage
- Servers in
~/.pi/agent/mcp.jsonand a trusted project's.pi/mcp.jsonconnect when a session starts, as with pi's built-in support. - Use
/mcpto inspect servers, see the protocol each negotiated, sign in, reconnect, and change exposure.
Use outside pi
@gjermundgaraba/pi-mcp-bleeding-edge/client exports one server's connection (ServerConnection), with its tools, resources, and skills (the MCP Skills extension: skills, onSkills, and readSkill, which verifies each file against the server's entry), the conversion of tool results to model content, and pi's tool and namespace naming (createMcpToolName, mcpNamespace, mcpServerSummary) and input-schema defaults (normalizeMcpInputSchema), and the refresh-only OAuth auth of a connection (createOAuthConnectionAuth) over credentials the host stores itself (ConnectionCredentials), for hosts that manage their own servers and credentials. It needs neither pi-coding-agent nor pi-tui.
Configuration
See configuration for the protocol setting, where credentials and logs live, and how this differs from the built-in support.