Skip to main content
Glama

mcp-design-models

A thin MCP server that turns a product idea into UI screen mockups plus a complete buildable spec (design tokens, component trees with real copy, assets). It does no rendering itself: it runs the Studio "Design Factory" flow, which owns the render queue and the single-GPU guard, and returns the result.

MCP generate_product(idea, ...)
        │  POST /api/flows/flow_design_factory/correr?esperar=1
        │       { "parametros": { "brief": ... } }
        ▼
  Studio engine (queue + GPU guard)
        compositor (agent, plans)  →  telas (native render node)  →  analyst (writes spec)
        ▼
  { spec, manifest_path, screens[], assets[] }   ← the MCP waits and returns this

The prompt discipline that keeps a diffusion model from producing garbled clip-art (dark surfaces, colours as materials not codes, only short labels as real text, table rows as bars, one consistent sidebar) now lives inside the Studio engine's telas node, so it is shared with the panel and driven through the same GPU guard as every other render.

Tool

  • generate_product — turn an idea into screens + assets + a spec. Optional hints: product, theme (dark/light), palette, accent, max_screens, constraints. Returns the analyst's spec JSON plus the rendered image paths and the manifest.json path. Sequential on one GPU, so it takes several minutes.

Related MCP server: ai-product-planner

Requirements

  • A running Studio engine (studio-api) with the telas node type and the flow_design_factory flow registered — see studio-flow/.

  • The Studio's ComfyUI with the image checkpoints installed (Z-Image Turbo by default; qwen-image and flux-schnell also available) — the Studio manages these.

  • Node.js >= 20.

Configuration (environment)

Variable

Default

Purpose

STUDIO_URL

http://127.0.0.1:28950

Studio engine HTTP endpoint

STUDIO_FLOW_ID

flow_design_factory

The flow to run

Build & run

npm install
npm run build
node dist/index.js

Use from an MCP client

{
  "mcpServers": {
    "design-models": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-desigh-models/dist/index.js"],
      "env": { "STUDIO_URL": "http://127.0.0.1:28950" }
    }
  }
}

Output

The telas node writes the rendered screens, assets and manifest.json under <studio renders>/studio/design/<product>/. generate_product returns the analyst's spec (the source of truth for the build) together with those paths.

License

MIT.

Available Tools

2 tools
generate_productA

Turn a product idea into a set of screen mockups. Either pass screens explicitly, or (if the server has a planner configured) let it plan them from idea. Renders every screen with a shared sidebar and writes a manifest.json next to the images. Rendering is sequential on one GPU, so several screens take many minutes.

Inputs: idea (required), theme, accent, palette, +4 more.

render_screenA

Render one UI screen mockup with the local qwen pipeline. Give the screen a name, a prose layout of the main panel, and (for consistency across a product) the shared sidebar items plus which one is active. Returns the image path and a manifest entry. Text discipline (dark theme, colors as words, only short labels real, rows as bars) is applied for you. A render takes a few minutes.

Inputs: layout (required), screen (required), product (required), tags, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    render_screen is explicitly for a single UI screen mockup with full control, while generate_product is for turning an idea into a multi-screen product set. Although generate_product can take explicit screens, the descriptions clearly separate single-screen rendering from product-level generation, so an agent should not misselect.

    Naming Consistency5/5

    Both tool names follow the same verb_noun snake_case pattern: render_screen and generate_product. The verbs differ semantically but the structural convention is consistent and predictable.

    Tool Count3/5

    Two tools is at the thin end of the scale; the server covers only single-screen and product-level generation. It is not excessive, but the surface feels minimal for a design-model server.

    Completeness4/5

    The core workflows for rendering one screen and generating a full product are covered, including manifest output. Missing conveniences like listing past renders or editing manifest entries are minor gaps that agents can work around via the filesystem.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create and manage consistent multi-screen UI designs through a token-efficient MCP interface, with design system tokens, components, flows, and visual review.
      354 npm
      3
      AGPL 3.0