frameforge
Click on "Deploy 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., "@frameforge Generate a dark-mode analytics dashboard mockup with sidebar and revenue cards"
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.
frameforge
MCP server for generating UI mockups using Google Gemini image generation (Imagen / Nano Banana).
Generates high-fidelity web UI mockup PNGs and returns them inline in Claude Code.
Install
npx -y frameforgeRelated MCP server: Nano Banana Pro MCP Server
Setup
Add to ~/.claude/mcp_config.json:
{
"mcpServers": {
"frameforge": {
"type": "stdio",
"command": "npx",
"args": ["-y", "frameforge"],
"env": {
"GEMINI_API_KEY": "your-api-key-here"
}
}
}
}Local development
{
"mcpServers": {
"frameforge": {
"type": "stdio",
"command": "node",
"args": ["/path/to/frameforge/dist/index.js"],
"env": {
"GEMINI_API_KEY": "your-api-key-here"
}
}
}
}Tool: generate_ui_preview
Param | Type | Required | Default | Description |
| string | yes | — | Description of the UI to generate |
| string | yes | — | Name used in the output filename |
| string | no | — | Style guidance (e.g. "dark mode", "mobile") |
| string | no | "16:9" | Aspect ratio for the image |
| string | no | "gemini-2.0-flash-exp" | Gemini model ID |
| string | no | "./previews" | Directory to save PNGs |
Example
In Claude Code:
Generate a UI preview of a dashboard with a sidebar, header with search bar, and a grid of analytics cards showing revenue, users, and conversion metrics.
The tool returns an inline image visible directly in the terminal, and saves the PNG to ./previews/.
Requirements
Node.js 18+
GEMINI_API_KEYenvironment variable
License
MIT
Available Tools
1 toolgenerate_ui_previewGenerate UI PreviewB
Generate a high-fidelity UI mockup image using Google Gemini image generation. Returns an inline image and saves the PNG to disk.
Inputs: prompt (required), component_name (required), model, output_dir, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool in the set, there is no possibility of confusion or misselection. The single tool's purpose (generate a UI mockup image) is unambiguous.
The one tool follows a clean verb_noun snake_case pattern (generate_ui_preview). No conflicting conventions exist since there is nothing to conflict with.
A single tool is borderline thin for a server named 'frameforge', which implies broader UI scaffolding capability. The count is not wrong for the narrow image-generation purpose, but the surface feels under-scoped.
The tool covers its stated job (produce and save a preview image) but offers no companion operations like listing saved previews, regenerating with variations, or managing saved files. Agents can work with it, but the lifecycle is truncated after generation.
Maintenance
Related MCP Connectors
Render and edit design images in Claude, then create interactive pages and PDF decks.
Compare Figma designs against live websites and get visual + content QA reports, from inside Claude.
Generate images and video from Claude with one API key.
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude and other AI assistants to generate high-quality images up to 4K resolution using Google's Gemini image models, with support for flexible aspect ratios, natural language editing, and Google Search grounding for accurate results.412MIT
- FlicenseAqualityDmaintenanceBrings Google Gemini 2.0 Flash native image generation capabilities into Claude Code, enabling users to generate, edit, compose, and iteratively refine images using natural language prompts directly from their coding environment.6-
- FlicenseNot gradedqualityDmaintenanceEnables image generation and prompt enhancement within Claude.ai by leveraging Google Gemini models. It allows users to create visual content in various styles like photorealistic and 3D render directly through natural language.-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to generate and edit images using Google Gemini AI.-