Skip to content
MCP server

mockit-mcp

MCP server that generates iOS-style mobile UI mockups as PNG and HTML from text prompts

mockit-mcp is an open-source MCP server for ai models and llm tooling. It is available on CLI, API, Self-hosted, macOS, Linux and Windows.

Pricing
Open source
Platforms
CLI, API, Self-hosted
GitHub stars
6
Last commit
Language
TypeScript
License
MIT

Similar MCP servers

About mockit-mcp

Mockit-mcp lets an AI client describe a phone screen in plain language and get back a rendered image plus the underlying HTML and Tailwind source. Rendering runs through headless Chromium at an iPhone-sized viewport, so each mockup is captured at retina resolution rather than as raw markup alone.

Beyond the first draft, the server keeps a disk-backed library of screens with their metadata and parent-child links, so a design can be refined with follow-up feedback such as swapping a chart or adding a button without starting over. Generation uses either the local claude CLI session or a direct Anthropic API key, switched by a single environment variable.

It suits developers and designers who prototype mobile interfaces inside Claude Code, Cursor or Windsurf and want to hand off HTML that can later be ported to SwiftUI. The system prompt that shapes the visual style can be edited in the source.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

generate_screen
Text brief to PNG and HTML.
iterate_screen
Produce a new version of an existing screen from feedback.
list_screensName suggests: reads
List screens, optionally filtered by project.
get_screenName suggests: reads
Fetch metadata or full HTML for a screen.

What it does

Text-to-PNG rendering
Turns a written screen brief into a 390x844 image captured at 2x scale using headless Chromium.
HTML and Tailwind output
Saves the generated markup alongside each image so the layout can be inspected or reused.
Iterative refinement
Accepts feedback on an existing screen and produces a new version linked to its parent.
Local screen library
Stores HTML, PNG and JSON metadata per screen, with listing and filtering by project.
Two model backends
Runs on the local claude CLI subscription or on the Anthropic API, selected by environment variable.
Stdio and HTTP transports
Can run as a local stdio process or as a networked HTTP service protected by a bearer token.
Editable design voice
The system prompt controlling the visual style lives in a single source file that can be changed.

Good for

  • Sketch a mobile dashboard or onboarding screen from a text brief during early product discovery
  • Iterate on an existing mockup by requesting specific layout or content changes
  • Export HTML and Tailwind source as a starting point for a SwiftUI build
  • Produce consistent screen variations for a small iOS-style app inside an MCP-enabled coding session

Pricing

Open source

Free and MIT-licensed; API backend billed per call by Anthropic.

mockit-mcp FAQ

Does mockit-mcp need an Anthropic API key?

Not with the default CLI backend, which uses an existing claude CLI login. The API backend requires an Anthropic API key.

Where are generated screens stored?

In a designs folder by default, grouped by project, with HTML, PNG and a JSON metadata file for each screen.

What MCP tools does mockit-mcp expose?

generate_screen, iterate_screen, list_screens and get_screen.

What does the project cost to run?

Each generation uses roughly 9 to 15K tokens; on the API backend with Opus 4.7 the README estimates about $0.50 to $0.95 per call.

What are the best alternatives to mockit-mcp?

The closest alternatives to mockit-mcp are mcp-playwright, Rever, Muse AI Image MCP, Image Generation MCP Server and nightmarquee-mcp.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers