Skip to content

piyushcreates/stitch-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Stitch MCP

A transparent, custom Model Context Protocol (MCP) server for Google Stitch. This server communicates directly with the official Google Stitch API, providing a bridge between AI agents and UI design tools.

Features

  • 100% Transparent: No third-party proxies or hidden logic.
  • Official API: Talks directly to https://stitch.googleapis.com/mcp.
  • Customizable: Written in simple Python for easy inspection and modification.

Requirements

  • Python 3.10+
  • mcp libraries
  • requests

Setup

1. Install Dependencies

pip install mcp requests

2. Get Google Stitch API Key

Follow the official Google Stitch MCP Setup Guide to obtain your API key.

3. Add to Antigravity / MCP Config

Add the following entry to your mcp_config.json:

"stitch": {
  "command": "python3",
  "args": ["/path/to/stitch_mcp.py"],
  "env": {
    "STITCH_API_KEY": "YOUR_GOOGLE_STITCH_API_KEY"
  }
}

Replace /path/to/stitch_mcp.py with the absolute path to the stitch_mcp.py file in this repository.

Usage

Once configured, your AI agent (like Claude or Gemini) will have access to tools such as:

  • create_project
  • generate_screen_from_text
  • list_projects
  • list_screens
  • get_project
  • get_screen

About

A transparent MCP server for Google Stitch. Connects AI agents directly to the official Google design API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages