AI: MCP, agent rules, skill and llms.txt
AI coding tools write better interfaces when they know what already exists and how it was meant to be used. Notchset tells them in four ways, starting with the one that needs no setup at all.
Rules for your agent (opt-in)
Installing a component never writes agent files into your project. When you want your agent to know Notchset, add the rules once: .notchset/AGENTS.md (library rules and a routing table of every component with its install command) and .cursor/rules/notchset.mdc pointing Cursor at it.
npx shadcn@latest add https://notchset.dev/r/notchset-ai.jsonClaude Code: add one line to your CLAUDE.md so it always reads the rules:
@.notchset/AGENTS.mdEvery component's page also has a Markdown version for agents at /md/<id>.md (for example https://notchset.dev/md/button.md), and https://notchset.dev/llms.txt lists them all.
MCP server
One URL, every client: https://notchset.dev/api/mcp. Searching, docs and install plans work at once with no key. Askfor a part and you get the component or block, when to use it and its command. When you ask for a Pro item's source, your client asks you to sign in to Notchset; the connection is read only, shows up as an MCP key in your account, and you can revoke it there at any time.
Claude Code
- Run the command below in your project.
- In Claude Code, type
/mcp, picknotchsetand sign in when you want Pro source (search and docs need no sign-in). - Ask: “Use Notchset to build me a CRM”, or name the part you need.
claude mcp add --transport http notchset https://notchset.dev/api/mcpCursor
- Press Add to Cursor above and confirm, or add the server to
.cursor/mcp.jsonyourself. - Open Cursor Settings → MCP and check notchset is on (sign in from there when it asks).
- In the agent chat, ask for what you're building.
{
"mcpServers": {
"notchset": { "url": "https://notchset.dev/api/mcp" }
}
}VS Code
- Press Add to VS Code above and choose Install, or add the server to
.vscode/mcp.json. - Open Copilot Chat in Agent mode; notchset's tools appear under the tools button.
- Start the server when VS Code asks, and sign in when it asks for Pro source.
{
"servers": {
"notchset": { "type": "http", "url": "https://notchset.dev/api/mcp" }
}
}ChatGPT
- Settings → Apps & Connectors → Advanced settings: turn on developer mode.
- Back in Apps & Connectors, press Create. Name it Notchset, paste
https://notchset.dev/api/mcpas the server URL and choose OAuth for authentication. - Press Create, then Connect and sign in to Notchset.
- In a chat, pick Notchset from the tools menu and ask for what you're building.
Claude (web, Desktop and mobile)
Settings → Connectors → Add custom connector, paste the URL, then Connect when you want Pro source.
shadcn's own MCP server works with our registry too. With the Notchset registries in components.json (installation), run npx shadcn@latest mcp init --client claude (or cursor, vscode) and ask it for @notchset items.
What the server answers
search_components, get_component, list_components, get_install_plan, get_setup, get_component_api, get_states and get_related_components, and once you sign in, get_pro_source and get_profile. Installing with the command beats copying source: it brings the files, CSS, tokens and dependencies. These public answers include no Pro implementation source. Prefer a key? Send Authorization: Bearer ${NOTCHSET_TOKEN} as a header instead of signing in. Sign-in is standard MCP authorization (OAuth 2.1 with PKCE), so other clients that support it connect the same way.
Agent skill
The skill teaches Claude Code and compatible agents the workflow and the design, motion and copy rules, plus a review checklist they run before handing work back.
npx shadcn@latest add https://notchset.dev/r/notchset-skill.jsonIt installs into .claude/skills/notchset/ in your project, so everyone on the team gets it.
llms.txt
For tools without MCP, point them at plain text:
- /llms.txt: setup plus every item with a one-line description
- /llms-full.txt: full docs for every item in one file
/md/<id>.md: one item's agent guide, including source and CSS for free items
A good first prompt
Replace our pipeline board and deal cards with the Notchset Board and Deal card,
wired to our real deals API. Read their docs at notchset.dev first.