Self-hosted MCP server and gallery for AI-generated mockups. Token-efficient uploads via curl, save and browse in a clean web gallery.
Drift inferred · capture-to-capture
No drift recorded — single capability capture; advisories appear once its surface changes.
transport streamable-http · http · sse counts 6 tools · 0 res
· 0 prompts
permission surface via code analysis
tools
-
delete_mockup
Delete a mockup — removes both the DB record and file on disk.
-
get_mockup
Get a specific mockup by UUID with view and gallery URLs. Curl the view_url to read the file content.
-
list_mockups
List mockups reverse-chronologically, optionally filtered by project.
-
send_mockup
Send HTML/SVG (raw string) or PNG/JPG (base64) to the gallery. Returns a gallery URL.
-
tag_mockup
Add or remove tags on an existing mockup.
-
update_mockup
Update metadata (title, description, tags) or replace content.
evidence-backed
findings quoted directly from the published source artifact — not inferred
filesystem 6
- fs kgNatx-mockups-mpc-08ad04e/app/config.py :2
from pathlib import Path - fs kgNatx-mockups-mpc-08ad04e/app/main.py :32
from pathlib import Path - fs kgNatx-mockups-mpc-08ad04e/app/routes/api.py :2
from pathlib import PurePosixPath - fs kgNatx-mockups-mpc-08ad04e/app/routes/gallery.py :1
from pathlib import Path - fs kgNatx-mockups-mpc-08ad04e/app/seed.py :4
from pathlib import Path - fs kgNatx-mockups-mpc-08ad04e/app/storage.py :3
from pathlib import Path
tool registrations 6
- list_mockups kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :166
- get_mockup kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :174
- update_mockup kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :183
- delete_mockup kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :201
- tag_mockup kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :210
- set_created_at kgNatx-mockups-mpc-08ad04e/app/mcp_server.py :221
declared dependencies 10
- fastapi@>=0.115.0
- uvicorn@[standard]>=0.34.0
- fastmcp@>=3.0.0
- aiosqlite@>=0.20.0
- jinja2@>=3.1.0
- python-multipart@>=0.0.18
- pydantic@>=2.0.0
- pytest@>=8.0.0
- pytest-asyncio@>=0.24.0
- httpx@>=0.28.0