Give Claude Code a design system

Claude Code writes production code but has no memory of your brand between prompts. Connect Identity Forge's MCP server and it can pick a kit, write the tokens and DESIGN.md into your repo, and build every screen against them.

Updated July 13, 2026

Why Claude Code needs a design system

Claude Code is stateless about design. Each prompt starts fresh, so it reaches for the same safe defaults: Inter, a slate-950 background, a violet accent, generic cards. Build a few screens and they drift apart because nothing pins the look down. A design system is that pin: one set of semantic tokens and one written DESIGN.md the agent consults on every task, so page five matches page one.

Claude Code is also a natural fit for MCP. Once the server is connected, the agent doesn't just receive static files: it can browse the catalog, read a kit's full brief, and apply it, all from inside your session without you leaving the terminal.

The kit you'll install

Here is the free ambient-sage kit rendered from its real tokens: the exact system the agent writes into your repo when it applies this slug:

Ambient Sage

After Work Chill

Double tap on a widget to edit settings

Save SettingsLearn more

Plus Jakarta Sans · 28 semantic tokens · light + dark

Ambient Sage: Plus Jakarta Sans, warm-neutral flat surfaces, one vivid yellow accent. Swap the kit and the whole system changes.
  1. 1

    Write the MCP config

    Run this in your project root. It merges an identityforge server into .mcp.json (it won't clobber existing servers).

    npx --yes --package=https://identityforge.io/downloads/identityforge-0.3.0.tgz identityforge install --client claude-code
  2. 2

    Restart Claude Code

    Restart so it picks up the new server, then confirm the tools are available by asking Claude to /mcp or list its Identity Forge tools.

  3. 3

    Sign in (optional for free kits)

    Only needed for owned data, higher API quota, or Pro kits. Uses a browser PKCE flow.

    npx --yes --package=https://identityforge.io/downloads/identityforge-0.3.0.tgz identityforge login
  4. 4

    Ask for a look and let the agent apply it

    Give it product, audience, and mood. It shortlists with search_themes, reads the brief with get_design_md, and writes DESIGN.md + tokens with apply_theme.

    Use Identity Forge to pick a calm, trustworthy theme for a
    fintech dashboard, apply it, and follow the DESIGN.md.

What `.mcp.json` contains

The install command writes exactly this: a single stdio server that runs the versioned package. You can also add it by hand:

{
  "mcpServers": {
    "identityforge": {
      "command": "npx",
      "args": ["-y", "identityforge@latest", "mcp"]
    }
  }
}
.mcp.json: the identityforge MCP server entry

Prefer no MCP? Two direct paths

Claude Code can run shell commands, so you don't strictly need the MCP server. Either of these gives it the same tokens and DESIGN.md:

  1. 1

    CLI apply

    Writes DESIGN.md plus a tokens file into the current directory. Tell Claude to read DESIGN.md and wire the tokens into your styling layer.

    identityforge apply ambient-sage
  2. 2

    shadcn registry

    If you're on shadcn/ui, this installs the kit's CSS variables straight into your project's theme.

    npx shadcn add https://identityforge.io/r/ambient-sage.json

A real example

With the server connected, ask: Use Identity Forge to theme this app for a wellness product, calm and minimal. Claude can call search_themes({ description: "wellness product, calm and minimal" }), choose ambient-sage, read its DESIGN.md, and run apply_theme. It then refactors components to use semantic tokens such as bg-background, text-foreground, and bg-primary, while following the kit's rules for cards, shadows, and display type. Later screens inherit the same files and rules.

Next: do the same in Cursor, read what a DESIGN.md is, or browse kits by visual style for a slug that fits your product.

FAQ

How do I give Claude Code a design system?

Run `npx --yes --package=https://identityforge.io/downloads/identityforge-0.3.0.tgz identityforge install --client claude-code` to add the Identity Forge MCP server to .mcp.json, restart Claude Code, then ask it to pick and apply a kit. The agent writes a DESIGN.md and semantic tokens into your repo and builds against them.

Where does the config go?

Into `.mcp.json` at your project root. The install command merges the identityforge server into any existing MCP config rather than overwriting it.

Do I need to pay or sign in?

No for free kits: the MCP server, the CLI apply, and the shadcn registry all work without an account. Sign in only for owned projects, more API quota, or Pro kits. Manage keys at /account/api-keys.

Can I use it without MCP?

Yes. `identityforge apply <slug>` writes DESIGN.md and tokens into the current directory, and `npx shadcn add https://identityforge.io/r/<slug>.json` installs the kit's CSS variables if you use shadcn/ui.