# Mockups Gallery [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/kgNatx/mockups-mpc  
**GitHub Stars:** 2  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mockups-gallery

## Description
Self-hosted MCP server and gallery for AI-generated mockups.

## Tools
Capabilities this server exposes over MCP:

- **send_mockup** — Send HTML/SVG (raw string) or PNG/JPG (base64) to the gallery. Supports `parent` and `fold` (see Versions). Returns a gallery URL.
- **list_mockups** — List mockups reverse-chronologically, optionally filtered by project.
- **get_mockup** — Get a specific mockup by UUID with view and gallery URLs, plus its version list. Curl the `view_url` to read the file content.
- **update_mockup** — Update metadata (title, description, tags), or add a new version by supplying `content` (earlier versions are kept).
- **split_version** — Split one version out of its design into its own standalone mockup — reverses a fold.
- **delete_mockup** — Delete a mockup, or (with `version`) just one version — removes the DB record(s) and file(s) on disk.
- **tag_mockup** — Add or remove tags on an existing mockup.
- **set_created_at** — Change the created date of a mockup (or one version). Useful for backdating uploads or reordering the timeline.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/mockups-gallery/readme_

