@matheusbbarni/pi-stitch-mcp
Pi extension that bridges Google Stitch MCP tools into Pi.
Package details
Install @matheusbbarni/pi-stitch-mcp from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@matheusbbarni/pi-stitch-mcp- Package
@matheusbbarni/pi-stitch-mcp- Version
0.1.1- Published
- May 13, 2026
- Downloads
- 50/mo · 8/wk
- Author
- matheusbbarni
- License
- MIT
- Types
- extension
- Size
- 19.4 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"extensions": [
"index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@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 tohttps://stitch.googleapis.com/mcpGOOGLE_API_KEY— fallback ifSTITCH_MCP_API_KEYis 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.