Cursor design system: connect LayQ's MCP server and skill
Set up LayQ in Cursor: connect its MCP server and install the LayQ skill.
1. Connect the MCP server. Add this to ~/.cursor/mcp.json (inside "mcpServers" if the file already exists):
{
"mcpServers": {
"layq": { "url": "https://layq.dev/mcp" }
}
}
2. Install the LayQ skill: download https://layq.dev/skill/SKILL.md and show it to me before saving. On its "LayQ origin:" line, replace ORIGIN with https://layq.dev.
Save it as ~/.cursor/skills/layq/SKILL.md (or .cursor/skills/layq/SKILL.md for this project only). Installing runs nothing and installs no package.
The skill tells you the order of work and keeps itself current (https://layq.dev/skill/version.json); the LayQ MCP tools give the content.
3. Ask me to restart Cursor (it loads MCP servers at start), then call the LayQ `account` tool to check. The first call opens the browser to sign in.
Then ask me what I am building.Paste this to your agent once. It connects the MCP server and installs the LayQ skill; both stay current.
The MCP server on its own
~/.cursor/mcp.json
{
"mcpServers": {
"layq": { "url": "https://layq.dev/mcp" }
}
}The skill is saved to
~/.cursor/skills/layq/SKILL.md
Cursor signs in from its MCP settings the first time the server is used.
What Cursor does then
Plan
options · planProposes the kind of product, layout, palette, interaction and motion at once.
Specs
planWrites specs/design.md, interaction.md, motion.md, tech.md and design-tokens.css.
Start
starterSets up the Next.js template for that kind of product, checked in a clean project.
Build
search · componentFinds components and blocks and installs them as source.
Check
rulesChecks the screens against the design rules and fixes what fails.
Its tools
guide- The order of work, for an agent without the skill
options- Every choice with its values and defaults
plan- The spec files and design tokens of a plan
starter- Install steps for a Next.js template or a module
search- Components and blocks by words, category or tier
component- A component’s or block’s source and usage
rules- The design rules for the plan, to check against
account- Who is signed in, the plan and today’s use
Then just say
- Plan a booking app for a yoga studio, calm and rounded.
- Start the project from my LayQ plan.
- Add a date picker to the booking form.
- Check this page against the design rules and fix what fails.
Questions
- Do I need a LayQ account?
- Yes: the tools work for a signed-in account, and signing in happens once, in the browser. Free has daily limits (1 plan, 1 template and 1 design check a day).
- Does it replace shadcn/ui or my own components?
- No. Components install as source into src/components/layq-<id>/ and import only React, so an existing app keeps its own. The specs tell Cursor how everything should look.
- Why an MCP server and a skill?
- The skill gives the order of work; the MCP server gives the content, always current. Without MCP, the skill runs its tool file instead.
- Is my code sent to LayQ?
- No. The tools are read-only and take only choices and names, such as a palette or a component id. Your code stays on your machine.