Make Claude Code follow your design system
Connect Claude Code, Cursor or Codex to Design System Manager over MCP, so your agent builds with your tokens, components and Lint locks.
To make Claude Code follow your design system, connect it to Design System Manager over MCP. The agent then reads your tokens and component styles, respects your Lint locks and installs your published system in your project.
The same setup works for Cursor and Codex. Each step links to its detailed page.
1. Create or import your system
Open manager.shadcndesign.com. On your first visit the Create your first design system dialog opens. Pick a style and a base color on the New tab, or paste a preset code on the Preset tab, then click Create system.
If your project already has a shadcn/ui theme, sign in, open the system switcher and choose New system…. On the CSS tab, paste your globals.css and click Review import. See the Quickstart.
2. Lock what the agent must not change
Open any component page, switch to the Lint tab and click Turn on. This leaves Layout open and locks Color, Type, Spacing, Shape, Effects and Motion on every component. Click a category chip to move it between Agents can change and Agents can't change.
An agent can't change or remove a lock. Only you can, in DS Manager. See Lint locks.
3. Publish the registry
Click Get code in the top bar. On the Publish tab, click Publish. Publishing needs an account. The Free plan serves 1 published system at a time and Pro serves 10. See Publish and install.
4. Connect Claude Code
-
Run this command:
claude mcp add --transport http ds-manager https://manager.shadcndesign.com/api/mcp -
In Claude Code, run
/mcp, choose ds-manager and then Authenticate. -
Approve the agent in the browser.
You never paste a token. In DS Manager, Settings… then the MCP tab also has Copy setup prompt, a prompt you paste into the agent so it sets itself up. See MCP server.
5. Ask the agent to install and build
Ask Claude Code to install your published system. The agent gets the shadcn CLI commands from DS Manager. Before it runs them, it lists the files they will overwrite and asks you. Afterwards it runs typecheck, lint and build.
The install writes your lint policy into the project as design-system.lint.json. Add the linter config once from the Lint tab in Get code, then add this line to your project's AGENTS.md:
After making changes, run `npm run lint` and fix all errors.
From then on, an agent that passes a locked class to a component gets a lint error and has to fix it. See Locks in your project.
Cursor and Codex
In Cursor, open the Cursor row in Settings, MCP and click Add to Cursor. Then choose Connect next to ds-manager in Cursor and approve the agent in the browser.
In Codex, run these two commands and approve the agent in the browser:
codex mcp add ds-manager --url https://manager.shadcndesign.com/api/mcp
codex mcp login ds-manager
Figma conversion and Figma kit sync are not available in Codex. See Cursor and Codex for the manual setup.
Which plans include MCP
The MCP server is part of Pro and Lifetime, and Team includes it for each person. A Free account can try it with 50 edits and 500 reads, once. The agent runs on your own plan with its provider, so MCP calls don't use the AI usage that comes with DS Manager.
See pricing and Plans and limits.