Generates iOS UI mockups as PNG and HTML from text prompts, with iterative refinement and local or HTTP MCP transports.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mockit MCP.
generate_screenText brief β PNG + HTML. Optional `design_system` and `project` fields.
iterate_screenTake a previous `screen_id` + `feedback` string, produce a new version.
list_screensList screens, optionally filtered by project.
get_screenFetch metadata (or full HTML) for a specific screen.
karyaboyraz/mockit-mcp MCP server generates iOS-style mobile screen concepts from text descriptions. A request can describe the layout, content, visual style, and interaction elements for a screen. The result includes a PNG render and the HTML used to produce it, making the output useful for visual review and later implementation work.
The default render is an iPhone-class viewport measuring 390 by 844 CSS pixels at a device scale of 2. Generated files are persisted to disk as HTML, PNG, and JSON metadata. Projects can be used to organize screens, and each generated screen receives an identifier for later retrieval or iteration.
The MCP client calls generate_screen with a text brief and may also provide design_system and project values. Claude produces the screen markup, and Playwright launches headless Chromium to render that markup into a PNG. The generated HTML remains available alongside the image.
Two Claude backends are supported. The default cli backend invokes a locally installed and authenticated claude command, using an existing Claude Code subscription. The api backend calls the Anthropic SDK and requires an API key. ANTHROPIC_MODEL controls the model for the API backend; the documented default is claude-opus-4-7.
For refinement, iterate_screen accepts an earlier screen ID and a feedback string, such as a layout change. The new version tracks its relationship to the previous screen. list_screens can return the stored library, optionally filtered by project, while get_screen retrieves screen metadata or the complete HTML.
karyaboyraz/mockit-mcp MCP server requires Node.js 20 or newer and a one-time Playwright Chromium installation. A local setup installs the project dependencies, downloads Chromium, builds the TypeScript source, and starts dist/server.js through an MCP client.
The normal local transport is stdio. Set MCP_TRANSPORT=http to run the HTTP transport instead. HTTP uses port 7821 and binds to 127.0.0.1 by default. If the host is changed to a non-loopback interface, MCP_HTTP_TOKEN is required and clients must send it as a bearer token. The repository also documents Docker Compose deployment for shared or containerized use.
DESIGNS_DIR changes the output directory. VIEWPORT_WIDTH, VIEWPORT_HEIGHT, and DEVICE_SCALE adjust rendering dimensions. CLAUDE_CLI_PATH and CLAUDE_CLI_TIMEOUT_MS configure the CLI backend. PLAYWRIGHT_NO_SANDBOX controls Chromium sandbox behavior; disabling it reduces isolation and is intended only for containerized environments.
generate_screen: Create a PNG and HTML screen from a text brief, with optional design-system and project fields.iterate_screen: Generate a revised version from a screen ID and written feedback.list_screens: List saved screens, optionally limited to a project.get_screen: Retrieve metadata or full HTML for a particular screen.The CLI backend depends on a logged-in local claude command. The API backend instead needs an Anthropic API key and incurs provider usage charges. Generation cost varies with model and screen complexity; the README estimates roughly 3K input tokens and 6β12K output tokens per generation, with output tokens making up most of the Opus cost.
Playwright requires a Chromium download of approximately 170 MB. HTTP deployments should not be exposed publicly without a strong MCP_HTTP_TOKEN, because generation requests use the configured Claude backend and may consume the associated subscription or API access. The output is HTML and PNG mockup material; the provided documentation does not claim to generate SwiftUI code.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/karyaboyraz-mockit-mcp)<a href="https://allmcps.com/mcp/karyaboyraz-mockit-mcp"><img src="https://allmcps.com/api/badge/karyaboyraz-mockit-mcp?style=directory" alt="Mockit MCP on AllMCPs" /></a>