← Catalog

@matheusbbarni/pi-stitch-mcp

Pi extension that bridges Google Stitch MCP tools into Pi.

Extension

Install

Install with PiG

pig install npm:@matheusbbarni/pi-stitch-mcp

Install with Pi

pi install npm:@matheusbbarni/pi-stitch-mcp
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": [
    "index.ts"
  ]
}

README

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

@matheusbbarni/pi-stitch-mcp

Pi extension that exposes Google Stitch MCP tools inside Pi.

install

pi install npm:@matheusbbarni/pi-stitch-mcp

configuration

Set the API key through your shell environment before starting Pi:

export STITCH_MCP_API_KEY="..."

Optional environment variables:

  • STITCH_MCP_URL — defaults to https://stitch.googleapis.com/mcp
  • GOOGLE_API_KEY — fallback if STITCH_MCP_API_KEY is not set

The extension also supports a local config.json next to index.ts for local development, but config.json and .env* are ignored by git and npm packaging. Do not commit secrets.

usage

After Pi loads the package, run:

/stitch-mcp
/stitch-mcp refresh
/stitch-mcp reconnect

The bridge registers stitch_mcp_status, resource/prompt helpers, and any tools discovered from the Stitch MCP server using the stitch_ prefix.