Get started

Give Cursor a design system

Cursor's Agent is excellent at code and blind to your brand. Connect the Identity Forge MCP server and it can choose a kit, apply the tokens and DESIGN.md, and build against them instead of inventing a new look each time.

Updated August 3, 2026

Why Cursor needs a design system

Cursor's Agent generates whole features fast, but each generation can make fresh styling decisions. Without a fixed system, spacing, colors, and component shapes drift across files. A design system gives the Agent one set of semantic tokens and a written DESIGN.md, so later components follow the same rules as the first.

Cursor supports MCP natively. The Agent can use tools to search, fetch, and apply a kit while it works, in addition to reading the files the kit installs.

The kit you'll install

Below is the free teal-rose-institute-grid kit rendered from its real tokens. The commands in this guide use ambient-sage; both are free and install the same way:

Teal Rose Institute Grid

Live render

Rendered from the kit's actual tokens, fonts, and treatments

Institute GridOverview
Search anything⌘K
TG

Analytics

Revenue overview

See revenue and retention trends alongside account health.

Jan 1 to Jan 30, 2026
Overview
Analytics
Reports
Notifications

Active users

17.5k

2,491 new

+13%

MRR

$63.5k

Net of churn

+3%

Retention

93%

28-day window

+4%

NPS

53

1,204 replies

+5

Revenue

Last 12 months

$63.5k +18.2%

12m30d7d
JanFebMarAprMayJunJulAugSepOctNovDec

Acquisition

Goal completion

On track
78%of goal
Organic48%
Direct31%
Referral21%

Recent transactions

Latest activity across your workspace

View all
CustomerStatusDateAmount
AR

Alex Rivera

Founder & CEO

Paid2 min ago$1,999.00
MO

Mira Okonkwo

Head of Product

Pending1 hour ago$39.00
JF

Jonas Feld

Design Lead

Processing3 hours ago$299.00

Typography

Barlow

Color system

28 semantic roles, light + dark

Agent outputs

DESIGN.md, CSS, Tailwind, shadcn

A live preview of Teal Rose Institute Grid's real system: fonts, semantic colors, surfaces, and treatments.

Install it (MCP)

  1. 1

    Write the MCP config

    Run this in your project root to merge the server into .cursor/mcp.json.

    npx --yes identityforge@latest install --client cursor
  2. 2

    Enable the server in Cursor

    Open Customize in the sidebar, find the identityforge server, and toggle it on. Restart Cursor if the tools don't appear.

  3. 3

    Sign in (optional for free kits)

    npx --yes identityforge@latest login
  4. 4

    Prompt the Agent to theme your app

    Give product, audience, and mood; it shortlists with search_themes, reads the brief with get_design_md, applies with apply_theme.

    Use Identity Forge to pick a minimal, warm theme for a
    wellness app, apply it, and follow the DESIGN.md.

The `.cursor/mcp.json` entry

The install command writes this stdio server. You can also paste it by hand:

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

Reinforce it with a Cursor rule (optional)

To make the Agent consistent even outside a kit-apply turn, add a project rule in .cursor/rules/ telling it to style only against the semantic tokens and to follow DESIGN.md. This pairs well with the kit: the tokens define the values, the rule enforces that generated code always uses them.

---
description: Keep generated UI on the design system
alwaysApply: true
---

Always style against the semantic design tokens defined in the
project (bg-background, text-foreground, bg-primary, bg-muted,
border-border, …) and follow the rules and motifs in DESIGN.md.
Never hardcode raw hex colors or introduce new fonts.
.cursor/rules/design-system.mdc. Cursor only loads .mdc rule files with frontmatter; a plain text or .md file in that folder is ignored.

Prefer no MCP? Direct paths

  1. 1

    CLI apply

    Writes DESIGN.md + a tokens file into the current directory; ask Cursor to wire them in.

    identityforge apply ambient-sage
  2. 2

    shadcn registry

    Installs the kit's CSS variables directly if you use shadcn/ui.

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

See the same setup for Claude Code and Windsurf, or start from the pillar guide.

FAQ

How do I give Cursor a design system?

Run … identityforge install --client cursor to add the Identity Forge MCP server to .cursor/mcp.json, enable it from Customize in the sidebar, then ask Cursor's Agent to pick and apply a kit. It writes a DESIGN.md and semantic tokens into the project.

Where does the config go?

Into .cursor/mcp.json at your project root. After installing, enable the identityforge server in Cursor's MCP settings.

Should I use a Cursor rule too?

It helps. A short .mdc rule in .cursor/rules/ telling the Agent to style only against the semantic tokens and follow DESIGN.md keeps generated code on-system even when you're not explicitly applying a kit.

Can I do this without MCP?

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

Sources

  • Model Context Protocol - Cursor Docs: Cursor reads project MCP servers from .cursor/mcp.json and toggles them from Customize in the sidebar.
  • Rules - Cursor Docs: Project rules live in .cursor/rules as .mdc files with frontmatter; a plain markdown file there is ignored by the rules system.