DESIGN MODE + YOUR AI APP
Your browser changes.
In your agent’s hands.
Use Copy as prompt without a server, or connect a compatible client through Cloud, Local or Self-hosted MCP. The extension records browser changes; it does not grant repository access. This setup prompt can help your agent guide you through the connection.
Set up with your agent
No token or personal data in this prompt.
What MCP makes possible
Model Context Protocol connects AI apps to external tools. Design Mode gives a connected agent tools to read your recorded browser edits, inspect screenshots and update their status. The agent still needs separate access to your repository to change source code. Review the recorded changes and copy formats, then use the precise-prompts guide to add scope and acceptance checks.
Ask your agent what’s left
When connected, your agent can fetch the latest changes when you ask. It reads updates when it makes a request or an explicitly enabled polling call—not through always-on background monitoring. Reading the list does not automatically edit your source.
Example conversation
You
What changes are left to complete in Design Mode?
Agent · read-only tool call
get_changes({})Agent
Two items are still pending in this example:
- Increase the hero heading’s line height.
- Address the comment on the primary button’s contrast.
Would you like me to find these in your source?
No MCP support? Use Copy as Prompt in the Changes tab and paste the Markdown into your app. It is a snapshot, not a live connection.
Choose how to connect
Cloud Default
No companion process to run. Open the extension’s MCP page from its header chip, keep Cloud selected and create an anonymous credential.
Pair the agent using the same bearer token. No Design Mode account or subscription verification; this is not an OAuth sign-in flow.
Local
Your MCP client starts the companion over stdio. It talks to the extension on localhost, with no Design Mode relay traffic.
Requires a local repository checkout and Node.js. Select Local in the extension; the default bridge port is 9960.
Self-hosted
Run the Node.js + Redis relay on infrastructure you operate. Configure its base URL in the extension and use that deployment’s /mcp endpoint in your agent.
Use a credential registered with that relay—not a hosted Cloud token.
Cloud endpoint · Streamable HTTP
https://mcp.designmode.app/mcpUse the apex host and the /mcp path. The extension’s event-stream URL is not the agent endpoint. Keep bearer tokens out of chat, screenshots, shell history and committed configuration.
Mode comparison
Setup, MCP transport, client requirements and cost across the three modes. Local keeps this MCP transport on localhost; it is not a no-egress guarantee for the coding client or other enabled features. See the privacy disclosure for the separate data flows.
MCP connection mode comparison
Setup
- Setup requirements
- bearer credential + HTTP client config
- Client HTTP bearer header
- Yes
- Reconnects on activation after setup
- Yes
Privacy
- Design Mode MCP transport
- hosted relay
- Relay payload buffering
- 60-second expiry requested
- Payload queue expiry
- new messages refresh the queue expiry
- Anyone else operates the infra
- Yes
Agent compatibility
- Claude Desktop
- verify custom bearer-header support
- Cursor
- HTTP + bearer header
- Claude Code
- HTTP + bearer header
- Agents in remote / sandboxed contexts
- requires permitted authenticated HTTP
Cost
- Price
- currently no charge
| Feature | Cloud | Local | Self-hosted |
|---|---|---|---|
| Setup | |||
| Setup requirements | bearer credential + HTTP client config | checkout + dependencies + client stdio config | Node.js + Redis relay + client config |
| Client HTTP bearer header | Yes | No | Yes |
| Reconnects on activation after setup | Yes | Yes | Yes |
| Privacy | |||
| Design Mode MCP transport | hosted relay | localhost bridge | your relay deployment |
| Relay payload buffering | 60-second expiry requested | No | operator-controlled |
| Payload queue expiry | new messages refresh the queue expiry | n/a | source default refreshes; verify your deployment |
| Anyone else operates the infra | Yes | No | No |
| Agent compatibility | |||
| Claude Desktop | verify custom bearer-header support | local stdio configuration | verify custom bearer-header support |
| Cursor | HTTP + bearer header | stdio configuration | HTTP + bearer header |
| Claude Code | HTTP + bearer header | stdio configuration | HTTP + bearer header |
| Agents in remote / sandboxed contexts | requires permitted authenticated HTTP | requires access to the local bridge | requires permitted authenticated HTTP |
| Cost | |||
| Price | currently no charge | MIT-licensed | hosting costs apply |
Configure your AI app
These Cloud examples use the client’s own configuration format. Merge the entry—do not replace other servers. Enter your token locally using a protected input or a securely supplied environment variable.
Project .mcp.json
Merge this server into .mcp.json. Set DESIGN_MODE_TOKEN locally in the environment that launches Claude Code, using protected input rather than a literal token in a shell command. Claude Code expands ${DESIGN_MODE_TOKEN} in headers. Review project-server approval, then check /mcp; restart if the new server has not loaded.
{
"mcpServers": {
"design-mode": {
"type": "http",
"url": "https://mcp.designmode.app/mcp",
"headers": {
"Authorization": "Bearer ${DESIGN_MODE_TOKEN}"
}
}
}
}Official Claude Code MCP documentation →Examples checked against first-party documentation on 29 September 2026. Client versions and organisation policies can change availability. Use the client setup reference for configuration details and troubleshooting when a connection check fails.
Tools your agent can use
Cloud, Local and Self-hosted expose these eight session tools. Read the discovered schema before each new kind of call.
get_session_summary
Read · All modes
Check the connection, active sessions, tracked-item counts and hand-off marker.
get_changes
Read · All modes
Fetch recorded styles, text, DOM edits, design tokens and comments, including item IDs and status.
get_screenshot
Read · All modes
Capture the visible page, or crop to one element or comment. Screenshots can include private page content.
export_changes
Read · All modes
Read style changes as CSS, Tailwind, SCSS or JSX. This is separate from the extension's JSON export and Copy as Prompt.
apply_changes
Write · All modes
Preview CSS changes in the browser. This does not edit your repository.
set_change_status
Write · All modes
Set specific tracked items to todo, in_progress or resolved using their IDs.
mark_comment_resolved
Write · All modes
Resolve or reopen one pinned comment using its commentId.
clear_changes
Destructive · All modes
Clear the tracked session and revert its live-page edits. Ask before using it.
wait_for_handoff
Opt-in session control · Local only
Wait up to 20 seconds for an explicit Send to Agent. Each feedback response contains an immutable snapshot. Only repeat calls after the user chooses live rounds; stop on stopped, busy or an error. Cloud and Self-hosted use one-shot reads.
Read progressively, act on a bounded scope
- Start small. Get the session summary before fetching a full change report.
- Fetch once, select locally. Call get_changes with no arguments and work from its unresolved items. It has no server-side pagination, status filter or max_chars parameter—do not invent them.
- Zoom in only when needed. Request a screenshot with one returned selector or elementId, or a commentId for a pinned region. Export one supported format if useful.
- Keep writes explicit. Update only selected item IDs after implementing and verifying source changes. Omitting ids from set_change_status targets everything.
get_session_summary({})
get_changes({})
get_screenshot({ "commentId": "<id from get_changes>" })
export_changes({ "format": "css" })For opt-in Local live rounds, start wait_for_handoff with the exact pageUrl and timeoutMs ≤ 20000. Continue only with the returned sessionId and after cursor. Never fabricate a session ID or treat later edits as part of an earlier snapshot.
Give your agent the workflow
The Design Mode agent skill covers setup, safe connection checks and a scoped design-to-code workflow. Download the Markdown and follow your app’s skill-install instructions, or ask a capable agent to read it. Reading a skill does not install an MCP connection or grant tool permissions.
Discoverable through the skill index and llms.txt. The existing command prompt remains available separately.
Local keeps Design Mode MCP traffic on your machine. Cloud and Self-hosted relay page data; queue expiry is best-effort. Read the privacy disclosure →