Pi Mcp Tools banner
tickernelz tickernelz

Pi Mcp Tools

Git community

Description

Universal MCP tools extension for pi coding agent — connect to filesystem, GitHub, databases, and more

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

@zhafron/pi-mcp-tools

[![npm version](https://img.shields.io/npm/v/@zhafron/pi-mcp-tools)](https://www.npmjs.com/package/@zhafron/pi-mcp-tools) [![npm downloads](https://img.shields.io/npm/dm/@zhafron/pi-mcp-tools)](https://www.npmjs.com/package/@zhafron/pi-mcp-tools) [![license](https://img.shields.io/npm/l/@zhafron/pi-mcp-tools)](https://www.npmjs.com/package/@zhafron/pi-mcp-tools)

Universal MCP (Model Context Protocol) tools extension for pi coding agent.

Install

pi install git:github.com/tickernelz/pi-mcp-tools

Or via npm:

pi install npm:@zhafron/pi-mcp-tools

Quick Start

Add to `~/.pi/agent/settings.json`:

{
  "mcp": {
    "web-search": {
      "type": "local",
      "command": ["npx", "-y", "@zhafron/mcp-web-search"]
    },
    "context7": {
      "type": "local",
      "command": ["npx", "-y", "@upstash/context7-mcp", "--api-key", "your-api-key"]
    },
    "deepwiki": {
      "type": "remote",
      "url": "https://mcp.deepwiki.com/mcp"
    },
    "filesystem": {
      "type": "local",
      "command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"],
      "enabled": true
    }
  }
}

Config Format

Each MCP server is a key under `"mcp"` with the following structure:

Local Servers

{
  "server-name": {
    "type": "local",
    "command": ["npx", "-y", "package-name", "args..."],
    "env": { "KEY": "value" },
    "cwd": "/path/to/workdir",
    "enabled": true,
    "toolPrefix": "prefix",
    "filterPatterns": ["pattern1", "pattern2"]
  }
}
Field Type Required Description
type "local" Server type
command string[] Command and args as array
env object - Environment variables
cwd string - Working directory
enabled boolean - Enable/disable (default: true)
toolPrefix string - Custom tool name prefix
filterPatterns `strin