{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "bearisbug-quilt--let-coding-agent-edit-canvas-over-mcp",
 "repo": "Bearisbug/Quilt",
 "repo_url": "https://github.com/Bearisbug/Quilt",
 "repo_slug": "bearisbug-quilt",
 "title": "Let your coding agent read and edit design screens",
 "page_title": "How to let your coding agent read and edit design screens with Quilt",
 "summary": "Connect Claude Code to Quilt over MCP so it can inspect and patch screens without losing others' edits.",
 "who": "A developer using a coding agent who wants the agent to revise existing design screens directly instead of copying HTML by hand.",
 "problem": "Copying screen HTML between a design tool and an agent is slow, and two writers can overwrite each other's changes.",
 "outcome": "The agent reads a compact outline, edits one part of a screen, and writes a new revision that is safe against stale bases.",
 "steps": [
  "Start Quilt with `node apps/cli/bin/quilt.js` and 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_outline` first, then `get_screen` for 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_revision` if needed."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The MCP server binds to loopback only and has no authentication, so it is meant for the same machine.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bearisbug-quilt/let-coding-agent-edit-canvas-over-mcp/",
 "md": "https://dedupedai.com/use-cases/bearisbug-quilt/let-coding-agent-edit-canvas-over-mcp/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bearisbug-quilt--let-coding-agent-edit-canvas-over-mcp.json",
 "api_version": "v1"
}
