HolyStitch runs as an MCP (Model Context Protocol) server inside your IDE. Once configured, your AI assistant can call theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/BaselAshraf81/holystitch/llms.txt
Use this file to discover all available pages before exploring further.
convert_stitch_to_react tool directly.
Prerequisites
Before configuring your IDE, build the server from source:Get your Stitch API key
Go to your Stitch project settings and copy your API key. This key is passed to the server via theSTITCH_API_KEY environment variable.
Configure your IDE
- Claude Desktop
- Cursor
- Windsurf
- Other MCP hosts
Open your Claude Desktop config file:Replace
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
holystitch entry inside mcpServers:claude_desktop_config.json
/Users/alice/holystitch with the actual path where you cloned the repo.Restart Claude Desktop after saving the file.Path format by operating system
Theargs array must contain an absolute path to the built dist/index.js file.
- macOS / Linux
- Windows
Environment variables
Your Google Stitch API key. Required when using
projectId to fetch screens from the Stitch API. Not required when passing screens directly via htmlScreens.Obtain this from your Stitch project settings page.Verify the setup
Once your IDE is configured and restarted, ask your AI assistant:convert_stitch_to_react in the response. To run a conversion: