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 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.Last updated421MIT
- 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.Last updated43
- Flicense-qualityDmaintenanceGenerates 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.Last updated1
- AlicenseBqualityCmaintenanceGenerate, edit, and restore images using natural language prompts through the Gemini 2.5 Flash image model. Supports creating app icons, seamless patterns, visual stories, and technical diagrams with smart file management.Last updated282810Apache 2.0
Related MCP Connectors
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Design systems, UI prompts, and layout variations for AI coding tools.
AI-powered design and management for Webflow Sites
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/hichammoods/mcp-design-gemini'
If you have feedback or need assistance with the MCP directory API, please join our Discord server