mcpField
S
stitch-mcp-update-design-system

stitch-mcp-update-design-system

github.com/gabelulDesign & UI4739 installsUpdated 14w ago
Repository

About stitch-mcp-update-design-system

stitch-mcp-update-design-system is a skill for modifying an existing Stitch Design System, aimed at users adjusting themes and visual settings. It explains the required asset identifier and project ID, and notes that updates replace rather than merge the theme.

Key features

  1. 01Update an existing design system
  2. 02Adjust theme properties
  3. 03Specify asset and project IDs
  4. 04Replace theme fields in full
  5. 05Re-apply changes to existing screens

Use cases

  1. 01Changing colors or fonts in a theme
  2. 02Adjusting design tokens after a brand refresh
  3. 03Applying updated styling to existing screens

MCP support

The skill calls Stitch MCP's `update_design_system` tool to replace an existing design system's theme. It also points to the list, create, and apply design system tools.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gabelul/stitch-kit --skill stitch-mcp-update-design-system

After installing, type/stitch-mcp-update-design-systemin Claude Code to confirm it loaded.

Details

From the project README

Stitch MCP — Update Design System

Updates an existing Stitch Design System. Use this to modify theme properties, design tokens, or style guidelines without creating a new design system.

Critical prerequisite

Only use this skill when the user explicitly mentions "Stitch".

You must have the design system's asset name before calling this. If you don't have one:

  • List existing design systems via stitch-mcp-list-design-systems
  • Or use the name returned from stitch-mcp-create-design-system

When to use

  • User wants to modify colors, fonts, or roundness of an existing design system
  • After reviewing a design system and wanting to adjust specific properties
  • Updating design tokens after a brand refresh

Call the MCP tool

{
  "name": "update_design_system",
  "arguments": {
    "name": "assets/15996705518239280238",
    "projectId": "3780309359108792857",
    "designSystem": {
      "displayName": "SaaS Dashboard Theme v2",
      "theme": {
        "colorMode": "DARK",
        "headlineFont": "GEIST",
        "bodyFont": "GEIST",
        "labelFont": "GEIST",
        "roundness": "ROUND_TWELVE",
        "customColor": "#818CF8"
      }
    }
  }
}

Parameter reference

Three sibling top-level arguments — name is not nested inside designSystem:

ArgumentTypeRequiredDescription
namestringYesAsset identifier with the assets/ prefix, e.g. assets/15996705518239280238. Top-level, not inside designSystem.
projectIdstringYesBare numeric project id, no projects/ prefix
designSystemobjectYes{displayName, theme} — see below
designSystem — {displayName, theme} only
FieldTypeRequiredDescription
displayNamestringYesHuman-readable name
themeDesignThemeYesVisual configuration (see stitch-mcp-create-design-system for the full field reference)

update_design_system takes the asset id prefixed (assets/159967...), while apply_design_system takes the same id bare. Two tools, same identifier, different formats.

designTokens and styleGuidelines are not accepted — the live API has no such fields on DesignSystem. Don't send them.

Note: This is a full replacement, not a merge. Include all theme fields you want to keep, not just the ones you're changing.

Output

Returns the updated Asset object:

{
  "name": "assets/15996705518239280238",
  "displayName": "SaaS Dashboard Theme v2",
  "designSystem": { ... }
}

After updating

  • Offer: "Re-apply this updated design system to existing screens?" → stitch-mcp-apply-design-system
  • Screens generated before the update won't automatically reflect changes — they need to be re-applied

Comments

Markdown supported