Mockups Gallery logo

Mockups Gallery

Self-hosted gallery for storing, versioning, browsing, and managing AI-generated HTML, SVG, PNG, and JPG mockups.

Install Mockups Gallery

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for Mockups Gallery, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

Mockups Gallery MCP server stores AI-generated mockups in a self-hosted web gallery with MCP access. It runs as a FastAPI application, using SQLite for metadata and a filesystem directory for mockup files, with HTTP and SSE MCP endpoints. Use it to upload, list, retrieve, version, tag, reorder, split, or delete mockups without keeping them in a project repository. For large files, the separate HTTP upload endpoint lets an AI client send content with curl instead of placing the file contents in MCP context.

Use cases

  • Upload generated HTML and image mockups to a shared gallery
  • Browse mockups by project and creation date
  • Track design revisions as versions
  • Tag and update mockup metadata
  • Retrieve or remove stored mockup files

Key features

  • Self-hosted web gallery
  • MCP over HTTP and SSE
  • HTML, SVG, PNG, and JPG support
  • Version folding and splitting
  • SQLite and filesystem storage
  • Project filtering and tagging

Tools8

What Mockups Gallery lets your agent do. Expand a tool for its parameters.

Self-reported~219 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

5/5 checks healthy over the last 47d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.

How Mockups Gallery works

What Mockups Gallery MCP server does

The Mockups Gallery MCP server provides a persistent home for AI-generated design files. It accepts HTML and SVG as raw text, and PNG or JPG files as base64 content through the send_mockup tool. Uploaded files appear in a browser-based gallery and remain available on the server after the client removes its local copy.

The gallery organizes records by project, title, description, tags, content type, and timestamps. Developers can use it when generated screens, landing pages, or other visual drafts need a shared location outside a source repository. The web interface includes a project sidebar, a chronological feed, and a viewer for HTML and image content.

How it works

A single Docker container runs the FastAPI application. The MCP service is available through HTTP at /mcp/ and through Server-Sent Events at /mcp/sse; the gallery is served at /. MCP clients perform lightweight coordination tasks, while the application stores metadata in SQLite with WAL mode and files in a bind-mounted data/ directory.

For large mockups, the project provides POST /api/upload. An AI client can write a file locally and send it with curl, keeping the file body out of the model context. The MCP tools then manage the resulting record, metadata, and versions. Raw content can be read later by requesting the view_url returned by get_mockup.

Versions can be added explicitly with a parent design or inferred through folding. When an upload matches one existing design in the same project after supported title markers are removed, it may become another version automatically. Variant labels such as “option B” remain separate designs. Folded records retain aliases and old links where supported, and split_version can reverse an individual fold.

Setup and configuration

The Mockups Gallery MCP server requires Docker for deployment or Python 3.12 or newer for local development. It also requires an MCP-compatible client. A reverse proxy such as Traefik is optional and can provide TLS or authentication at the edge.

Persistent storage is the data/ directory beside the compose file. It contains the SQLite database and project-organized mockup files. The deployment has no built-in authentication: every reachable API endpoint and MCP tool is open to users who can access the server. Run it on a trusted LAN, VPN, or Tailscale network, or place it behind a proxy that supplies authentication before exposing it more broadly.

Tools and capabilities

Available MCP operations include:

  • send_mockup uploads supported mockup content and returns a gallery URL.
  • list_mockups lists records in reverse chronological order, with an optional project filter.
  • get_mockup returns metadata, URLs, and the available version list for a UUID.
  • update_mockup changes metadata or creates a new version when content is supplied.
  • split_version extracts a version into a standalone mockup.
  • delete_mockup removes a design or a selected version, including stored files.
  • tag_mockup adds or removes tags.
  • set_created_at changes the date for a design or version.

A separate one-time command can merge older duplicate designs after a dry run. It groups records by project and normalized base title, but bulk merging is not automatically performed.

Limitations and notes

The Mockups Gallery MCP server does not provide built-in authentication, so network placement matters. Its MCP tools are intended for metadata and coordination rather than transporting large file bodies; use the upload endpoint for that case. Deleting a version removes its file and may remove aliases pointing to it, while splitting a version changes the old version URL in some cases. Bulk folding is manual and should be reviewed before applying.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mockups Gallery

Mockups Gallery is an MCP server that connects AI clients to a self-hosted gallery for storing AI-generated HTML, SVG, PNG, and JPG mockups. Its main tools send, list, retrieve, update, split, delete, tag, and date mockups, with version history and browser view URLs.

Run it with Docker for deployment, or use Python 3.12 or newer for local development. Persistent data is stored in a bind-mounted `data/` directory, and an MCP-compatible client is required.

The documentation does not specifically name Cursor, but it states that the server works with any MCP-compatible client. Cursor support therefore depends on its MCP support and configuration for the server’s HTTP or SSE endpoint; no Cursor-specific setup is documented.

Use the `POST /api/upload` HTTP endpoint and send the locally written file with curl. This keeps the file contents out of MCP tool parameters, while MCP remains available for listing, metadata, tagging, retrieval, and deletion.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMockups Gallery AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mockups-gallery?style=directory)](https://allmcps.com/mcp/mockups-gallery)
HTML Embed
<a href="https://allmcps.com/mcp/mockups-gallery"><img src="https://allmcps.com/api/badge/mockups-gallery?style=directory" alt="Mockups Gallery on AllMCPs" /></a>