Stitch-MCP
Stitch-MCP
Google Stitchの機能をリモートのStitch MCPエンドポイントにリクエストを転送することで、ローカルツールとして公開するMCP(Model Context Protocol)サーバーです。
このサーバーの機能
このサーバーは以下のことを行います:
mcp.server.fastmcp.FastMCPを使用してローカルMCPツールサーバー(stdio)を実行しますツール呼び出しを
https://stitch.googleapis.com/mcpに転送しますSTITCH_API_KEY環境変数を通じて提供されるStitch APIキーを必要とします
Related MCP server: stitch-pro-mcp
要件
Python 3.11以上
Stitch APIキー (
STITCH_API_KEY)
インストール
仮想環境を作成して有効化し、パッケージをインストールします:
python -m venv .venv
source .venv/bin/activate
pip install -e .設定
サーバーは、存在する場合、ローカルの .env ファイルから環境変数を読み込みます(python-dotenv を使用)。
.env ファイルを作成します:
STITCH_API_KEY=your_api_key_hereサーバーの実行
インストールされたスクリプト経由で実行できます:
stitch-mcpまたは直接実行します:
python server.pyMCPクライアントで、stitch-mcp(または python server.py)を実行するstdioサーバーを登録し、そのプロセス環境で STITCH_API_KEY が利用可能であることを確認してください。
利用可能なツール
プロジェクト管理:
list_projects(filter: Optional[str] = None)create_project(title: str)get_project(name: str)
画面管理:
list_screens(projectId: str)get_screen(name: str, projectId: str, screenId: str)
AI生成:
generate_screen_from_text(projectId: str, prompt: str, deviceType: str = "MOBILE", modelId: str = "GEMINI_3_FLASH")edit_screens(projectId: str, selectedScreenIds: list[str], prompt: str, deviceType: str = "DEVICE_TYPE_UNSPECIFIED", modelId: str = "GEMINI_3_FLASH")generate_variants(projectId: str, selectedScreenIds: list[str], prompt: str, variantCount: int = 3, creativeRange: str = "EXPLORE", aspects: Optional[list[str]] = None, deviceType: str = "DEVICE_TYPE_UNSPECIFIED", modelId: str = "GEMINI_3_FLASH")
デザインシステム:
list_design_systems(projectId: Optional[str] = None)create_design_system(...)update_design_system(...)apply_design_system(projectId: str, assetId: str, screen_instance_ids: list[str], screen_source_names: list[str])
注意事項とトラブルシューティング
STITCH_API_KEY environment variable not setと表示される場合は、.envファイルまたは環境変数を確認し、MCPクライアントプロセスを再起動してください。一部の生成操作には数分かかる場合があります。リクエストがタイムアウトした場合は、しばらく待ってから
get_screenを呼び出してください(この場合、サーバーはタイムアウトメッセージを返します)。
開発
agent.py は、MCPクライアントなしでツールを手動で試すための小さなヘルパースクリプトです。プレースホルダーIDを更新して実行してください:
python agent.py貢献
このプロジェクトやスクリプトに関する提案があれば、お気軽にお知らせください。気に入っていただけたなら、ご自由にお使いください。(追伸:スターもお願いします!! 😬 )
皆様からの貢献を大歓迎します!
プロジェクトをフォークする
作業をコンパイルする
プルリクエストを送る
クレジット: Samuel Jayasingh
最終編集日: 2026年4月16日
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA universal MCP server for Google Stitch that enables AI-powered UI/UX design generation by extracting design context and metadata from existing screens. It allows users to fetch screen code and images to create consistent, styled UI components across multiple projects.625121Apache 2.0
- AlicenseAqualityDmaintenanceAn intelligent MCP server for Google Stitch that generates production-ready UI from text prompts, with auto-orchestration of design systems, WCAG accessibility, responsive breakpoints, and framework conversion (React, Vue, Svelte).17118MIT
- AlicenseNot gradedqualityDmaintenanceComprehensive MCP server for Google Stitch with 36 tools covering design-to-code workflows, including screen generation, code extraction, design analysis, and project management.865MIT
- FlicenseAqualityDmaintenanceMCP server that gives AI coding agents the ability to design UIs through Google Stitch. It generates production-ready HTML and screenshots from natural language prompts.9
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
The Figma MCP server brings Figma design context directly into your AI workflow.
MCP server for interacting with the Supabase platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samueljayasingh/StitchMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server