Gemini Design MCP Server
Integrates with Google's Gemini API to generate frontend UI code from text descriptions, convert screenshots to code, and iteratively refine existing code.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini Design MCP ServerCreate a login form with email and password fields"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gemini Design MCP Server
An MCP (Model Context Protocol) server that uses Gemini 2.5 Flash to generate frontend UI code. Works with Claude Code, Cursor, and any MCP-compatible client.
Tools
Tool | Description |
| Generate UI code from a text description |
| Reproduce a UI from a screenshot image |
| Iteratively refine existing code with edit instructions |
Related MCP server: mcp-garendesign
Setup
1. Clone and install
git clone <repo-url>
cd mcp-design-gemini
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt2. Add your Gemini API key
Create a .env file in the project root:
GEMINI_API_KEY=your_api_key_hereGet a free API key at aistudio.google.com.
3. Configure in Claude Code
Add this to your Claude Code MCP settings (~/.claude/claude_code_config.json):
{
"mcpServers": {
"gemini-design": {
"command": "/ABSOLUTE/PATH/TO/mcp-design-gemini/.venv/bin/python",
"args": ["/ABSOLUTE/PATH/TO/mcp-design-gemini/server.py"]
}
}
}Replace /ABSOLUTE/PATH/TO/ with the actual path on your machine.
4. Restart Claude Code
The server starts automatically when Claude Code calls any of its tools.
Usage Examples
Generate a UI:
"Design a pricing page for a SaaS product"
Convert a screenshot:
"Convert this screenshot to code: /path/to/screenshot.png"
Refine existing code:
"Change the background to dark blue and make the font bigger"
Control token budget (on gemini_design):
complexity: "small"— 8K tokens (button, card)complexity: "medium"— 16K tokens (form, navbar)complexity: "large"— 32K tokens (full page, default)complexity: "xl"— 64K tokens (dashboard, multi-page)
Features
Image compression — Screenshots are auto-resized before sending to Gemini (saves 50-80% on input tokens)
Response caching — Identical
gemini_designprompts return instantly from cacheDynamic token budget — Match output size to component complexity
Iterative refinement — Edit generated code without regenerating from scratch
Requirements
Python 3.10+
A Gemini API key (free tier works)
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 Connectors
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Build, version, review, and export websites, web apps, and games from a conversation.
Turn your app idea into IA, wireframes, PRD, style guides, and dev specs for coding agents.
Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides professional UI/UX design expertise and frontend development tools for analyzing interfaces, generating design systems, and creating modern components with accessibility and best practices built-in. Supports React, Vue, Angular and other frameworks with seamless Claude Code CLI integration.423MIT
- FlicenseBqualityDmaintenanceEnables AI-driven frontend component design and code generation from natural language requirements. Supports Vue, React, and Angular with intelligent component decomposition, API design, and complete project generation.43-
- FlicenseNot gradedqualityDmaintenanceGenerates HTML, CSS, JavaScript components and complete websites using free LLMs (Groq and Google Gemini). Supports multiple AI models for creating web content through natural language prompts.1-

@forgespace/ui-mcpofficial
AlicenseBqualityFmaintenanceEnables AI-driven generation of UI components, full applications, and backend code across multiple frameworks (React, Vue, Angular, Svelte, HTML) with Figma integration and brand identity support.38742MIT