A design MCP for your coding agent.

Loupe is an MCP server where your agent designs. Your agent sends HTML screens. Loupe opens them in a real browser and measures them. Your agent reads your notes and asks if a screen is ready to ship. It works with Claude Code, Cursor, Codex, Gemini, Copilot and any other MCP client.

Endpoint
https://api.loupehq.dev/api/mcp
Transport
Streamable HTTP, OAuth sign-in
Tools
51
AI cost
None. Your agent's own plan

The loop your agent runs.

Four steps, every time a screen changes. Each shows what you type and which tools do the work.

  1. 1

    Draw

    Your agent sends a screen as HTML. Loupe opens it in a real browser, in light and dark mode, and sends back its measured size. Until then the size is unknown, never a guess.

    you → your agent

    Draw the onboarding for Moss. Three screens, phone size.

    • screen_publish
    • screen_patch
    • screen_claim
    • illustration_search
    • font_search
  2. 2

    Check

    One call returns your notes and every place the screen breaks your design system: a colour that is slightly off, text that is cut off, text that is too faint, a colour name that doesn't exist.

    [error  ] token_drift      #4A6742   -> var(--cta-bg)   ΔE=0.59
    [error  ] token_resolved   #1B1C1A   -> var(--ink)
    [error  ] unknown_token    var(--ghost)
    [warning] token_duplicate  #FBFAF6   -> var(--bg)
    [warning] unknown_class    chip-thing
    you → your agent

    Pull the feedback on the board and fix what's open.

    • feedback_pull
    • revision_diff
    • element_inspect
    • screen_screenshot
    • note_reply
    • note_resolve
  3. 3

    Decide

    You pick between versions and approve one on the board. A screen is ready only when the checks pass and a person approved that exact version. A new version needs a new approval.

    you → your agent

    Is the checkout flow ready to ship?

    • gate_check
    • board_gate_check
    • verdict_list
    • verdict_set
  4. 4

    Wire

    Link one screen to the next by naming a button. The tap area comes from where the browser measured that button, so it moves with it when the page changes. Then share a clickable prototype.

    link_create(project, from_screen="send", to_screen="sent",
                selector='[data-loupe="PayButton"]', label="Send")
    you → your agent

    Wire the pay button to the sent screen and give me a link to share.

    • link_create
    • flow_create
    • share_create
    • prototype_retrieve

More your agent can do.

Tools to start a project, keep a design system, and continue where the last session stopped.

Start

See what the board still needs, and how to bring an existing app onto it.

  • session_start
  • project_init
  • project_create
  • project_list
  • agent_identify

Design system

Use a ready-made design system, build one from what's drawn, or preview what it would flag before you use it.

  • preset_list
  • preset_adopt
  • system_suggest
  • system_preview
  • system_declare
  • system_retrieve

Directions

Try another style on its own board. You pick one, and the agent keeps working there.

  • board_create
  • board_list
  • screen_list
  • screen_contact_sheet
  • revision_history

Memory

What earlier sessions learned and the plan they left, so the next agent starts from there.

  • memory_retrieve
  • memory_write
  • memory_history
  • session_plan_write

Connect.

One command, one click or one URL. Sign-in opens in your browser.

Claude Code

claude mcp add --transport http loupe https://api.loupehq.dev/api/mcp

Then run /mcp and sign in.

Codex

codex mcp add loupe --url https://api.loupehq.dev/api/mcp

Then codex mcp login loupe.

Cursor

Sign in when Cursor asks.

VS Code

Sign in when VS Code asks.

Anything else

https://api.loupehq.dev/api/mcp

Claude.ai: add a custom connector with this URL. ChatGPT: Settings, then Apps, turn on Developer mode, then create an app with it.

Give your agent somewhere to design.

Free for 3 projects. Nothing to install.