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
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 agentDraw the onboarding for Moss. Three screens, phone size.
screen_publishscreen_patchscreen_claimillustration_searchfont_search
-
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 agentPull the feedback on the board and fix what's open.
feedback_pullrevision_diffelement_inspectscreen_screenshotnote_replynote_resolve
-
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 agentIs the checkout flow ready to ship?
gate_checkboard_gate_checkverdict_listverdict_set
-
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 agentWire the pay button to the sent screen and give me a link to share.
link_createflow_createshare_createprototype_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_startproject_initproject_createproject_listagent_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_listpreset_adoptsystem_suggestsystem_previewsystem_declaresystem_retrieve
Directions
Try another style on its own board. You pick one, and the agent keeps working there.
board_createboard_listscreen_listscreen_contact_sheetrevision_history
Memory
What earlier sessions learned and the plan they left, so the next agent starts from there.
memory_retrievememory_writememory_historysession_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.
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.