Sign In

frameforge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frameforge

MCP server for generating UI mockups using Google Gemini image generation

latest
npmnpm
Version
0.2.0
Version published
Weekly downloads
8
-11.11%
Maintainers
1
Weekly downloads
 
Created
Source

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 frameforge

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

ParamTypeRequiredDefaultDescription
promptstringyesDescription of the UI to generate
component_namestringyesName used in the output filename
style_hintsstringnoStyle guidance (e.g. "dark mode", "mobile")
aspect_ratiostringno"16:9"Aspect ratio for the image
modelstringno"gemini-2.0-flash-exp"Gemini model ID
output_dirstringno"./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_KEY environment variable

License

MIT

Keywords

mcp

FAQs

Package last updated on 08 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts