@ryan_nookpi/pi-extension-claude-mcp-bridge 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Bridge [Claude Code MCP](https://modelcontextprotocol.io/) server configurations
|
|
|
10
10
|
- Global: `~/.mcp.json`, `~/.claude.json`
|
|
11
11
|
- First-seen server name wins on duplicates
|
|
12
12
|
- **Server transports** — `stdio`, `sse`, `http` (streamable-HTTP)
|
|
13
|
-
- **Tool registration** — each MCP tool becomes a pi tool named `
|
|
13
|
+
- **Tool registration** — each MCP tool becomes a pi tool named `mcp__<server>__<tool>`
|
|
14
14
|
- **Tool toggle** — enable/disable per-tool via `/mcp-status` overlay; persisted in `~/.pi/agent/claude-mcp-bridge-tools.json`
|
|
15
15
|
- **Auto-reconnect** — exponential backoff on unexpected disconnection (up to 5 attempts)
|
|
16
16
|
- **Status bar** — footer shows `MCP connected/total`
|
package/index.ts
CHANGED
|
@@ -658,7 +658,7 @@ export function sanitizeName(value: string): string {
|
|
|
658
658
|
export function buildPiToolName(serverName: string, toolName: string): string {
|
|
659
659
|
const safeServer = sanitizeName(serverName) || "server";
|
|
660
660
|
const safeTool = sanitizeName(toolName) || "tool";
|
|
661
|
-
return `
|
|
661
|
+
return `mcp__${safeServer}__${safeTool}`;
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
export function mimeToExt(mimeType: string): string {
|
package/package.json
CHANGED