add-mcp-server

Installation
SKILL.md

Add an MCP Server

Add an MCP server configuration to pi-mcp-adapter. Determine scope and server type, write the config, and verify the connection.

Step 1: Determine Scope

Ask the user if not obvious from context:

Scope Config File When to Use
Global ~/.pi/agent/mcp.json Server used across all projects
Project .pi/mcp.json (project root) Server specific to one project

Project-local configs override global ones. Both files use the same format.

Step 2: Determine Server Type

MCP servers connect via stdio (local process) or HTTP (remote URL).

Related skills

More from hazat/pi-config

Installs
2
Repository
hazat/pi-config
GitHub Stars
341
First Seen
Apr 28, 2026