Who it is forA developer using a coding agent who wants the agent to revise existing design screens directly instead of copying HTML by hand.
The problemCopying screen HTML between a design tool and an agent is slow, and two writers can overwrite each other's changes.
The outcomeThe agent reads a compact outline, edits one part of a screen, and writes a new revision that is safe against stale bases.
What you need first
- Node.js 22 or newer and pnpm 11
- Chrome or Edge installed, or run `npx playwright install chromium` once
- A generation channel: a logged-in `claude` CLI, an Anthropic or Gemini API key, or an OpenAI-compatible endpoint added in the settings panel
- Port 3100 and 3101 free on 127.0.0.1
Steps
- Start Quilt with
node apps/cli/bin/quilt.jsand keep it running. - Connect the agent with
claude mcp add --transport http quilt http://127.0.0.1:3100/mcp. - Ask the agent to call
get_outlinefirst, thenget_screenfor the screen it needs. - Have the agent change part of a screen with
patch_screen, passing the current revision ID as expectedRevisionId. - Open the canvas and check the new revision in the revision tree, then roll back with
restore_revisionif needed.
Prompt for your agent
Using the quilt MCP server at http://127.0.0.1:3100/mcp, call get_outline, then get_screen for the screen named <screen-name>, and use patch_screen to change <change-description>. Report the new revision ID. Verify the write succeeded and that a stale expectedRevisionId returns a 409 response.
Caveat. The MCP server binds to loopback only and has no authentication, so it is meant for the same machine.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Bearisbug/Quilt and "Let your coding agent read and edit design screens"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer