← Catalog

@rackrot/pi-mcp-templates

Catalog of MCP server templates for pi, installed into mcp.json with /mcp-add

Extension

Install

Install with PiG

pig install npm:@rackrot/pi-mcp-templates

Install with Pi

pi install npm:@rackrot/pi-mcp-templates
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.3 (README.md). PiG does not review it.

@rackrot/pi-mcp-templates

A catalog of MCP server templates for pi. pi already speaks MCP natively; this package only writes server entries into its config files, so you do not hand-write mcp.json.

pi install npm:@rackrot/pi-mcp-templates

Requires @rackrot/pi-core (installed alongside the other rackrot packages).

Commands

  • /mcp-add [id] [--name <server-name>] [--scope project|global] [--exposure codemode|deferred|direct|hidden] [--yes]: pick a template (fuzzy picker when no id), choose scope and name, confirm, write. An existing server with the same name is only replaced after confirming or with --yes. Headless use needs an id and --yes for overwrites.
  • /mcp-templates: list all templates with their source (builtin, global, project); * marks names already configured in either mcp.json.
  • /mcp-templates show <id>: print the entry, auth, requirements and docs link.
  • /mcp-templates save <server-name> [--scope project|global] [--yes]: turn a server from your mcp.json into a user template (default: global).

After writing, run /reload. OAuth servers then need /mcp login <name> (or pi mcp login <name>).

Where files live

WhatPath
User servers<agentDir>/mcp.json (~/.pi/agent/mcp.json)
Project servers<project>/.pi/mcp.json (loaded only in trusted projects; a project entry replaces a user entry with the same name)
Global user templates<agentDir>/rackrot/mcp-templates/*.json
Project user templates<project>/.pi/mcp-templates/*.json

Template precedence by id: builtin < global user < project user. Each user file holds one template or an array. Invalid templates are reported and skipped.

Default scope is the template's defaultScope, else global when it has secrets or auth: "env", else project.

Template schema

FieldMeaning
idLetters, digits, _, -
descriptionOne line
tagsString array
entryA pi mcpServers entry: exactly one of command (+args, env, cwd) or url (+headers, oauth), plus optional timeout, enabled, exposure, toolExposure, description. Legacy SSE is not supported
requiresHuman prerequisites, e.g. "Node.js 20+"
secretsEnv var names the entry references as ${NAME}; every reference must be listed
authoauth, env or none
sourceDocs URL
defaultScopeproject or global
{
	"id": "internal-docs",
	"description": "Company docs search",
	"tags": ["docs"],
	"auth": "env",
	"secrets": ["DOCS_TOKEN"],
	"entry": {
		"url": "https://mcp.example.com/mcp",
		"headers": { "Authorization": "Bearer ${DOCS_TOKEN}" },
		"exposure": "deferred"
	}
}

Builtin catalog

Each entry was checked against the vendor's README or docs (links in data/templates.json).

idWhatAuthNeeds
context7Up-to-date library docs and code examples (anonymous, rate limited)none-
context7-keyedContext7 with an API key for higher rate limitsenv (CONTEXT7_API_KEY)-
playwrightBrowser automation through Playwright accessibility snapshotsnoneNode.js 20+
chrome-devtoolsDrive and debug a live Chrome: DevTools, performance traces, network, consolenoneNode.js LTS, Chrome (stable)
githubGitHub repos, issues, PRs and Actions through the hosted server (many tools, deferred)oauth-
github-patGitHub hosted server authenticated with a personal access token (many tools, deferred)env (GITHUB_TOKEN)-
sentrySentry issues, events and Seer analysis through the hosted serveroauth-
supabaseSupabase projects, SQL, migrations and docs through the hosted server (many tools, deferred)oauth-
linearLinear issues, projects and documents through the hosted serveroauth-
serenaSemantic code retrieval, symbol editing and refactoring backed by language serversnoneuv
filesystemSandboxed file read, write and search for the current directorynoneNode.js
memoryKnowledge-graph persistent memorynoneNode.js 24+
sequential-thinkingStructured step-by-step reasoning scratchpadnoneNode.js 24+
fetchFetch web pages and convert them to Markdownnoneuv
gitRead, search and modify the current git repositorynoneuv
toolbox-postgresPostgreSQL schema inspection and SQL through MCP Toolbox for Databasesenv (POSTGRES_HOST, POSTGRES_PORT, POSTGRES_DATABASE, POSTGRES_USER, POSTGRES_PASSWORD)Node.js, A reachable PostgreSQL database
dockerDocker MCP Toolkit gateway: the servers enabled in Docker DesktopnoneDocker with the MCP Toolkit (docker mcp)
cloudflareCloudflare API through code execution (Workers, DNS, R2, ...)oauth-
figmaFigma designs and Code Connect through the hosted serveroauth-
atlassianJira and Confluence through the Atlassian Rovo MCP server (v2)oauth-

Hosted OAuth servers need no credentials in the file. Large servers (github, supabase) default to exposure: "deferred" to keep tool lists out of the prompt.

Trust and secrets

  • Templates only ever write ${ENV} references (or a whole-value !command you add yourself), never secret values. /mcp-add warns about each secret env var that is unset right now.
  • Keep credentialed servers in the global file: project mcp.json is usually committed and loads only in trusted projects.
  • npx/uvx templates run third-party code on your machine; read the linked source first.
  • serena runs from the latest git main of oraios/serena; playwright and chrome-devtools use @latest.

Relation to pi mcp add

pi mcp add <server> -- <command> / --url writes one hand-specified server. This package adds a reviewed catalog, scope defaults, secret warnings and reusable user templates on top of the same files.