DocsAI & MCP
AI and MCP
How coding agents will find, install and check SwipeUI items for you.
SwipeUI is built to be used by coding agents as well as people. Three free pieces work together:
- The MCP server (
@swipeui/mcp) lets an agent search the catalogue, read an item's guidance and get the right install command. It's read-only: it never writes files. - The design skill (
swipeui-design) teaches an agent how to build screens the SwipeUI way: which item fits a job, how to use your tokens and presets, and how to audit the result. - The CLI (
@swipeui/cli) does the installing. Agents run the same commands you do, so native packages and your theme file are handled properly.
What works today
You don't have to wait for the server to use SwipeUI with an agent:
- Every docs page has a markdown version: add
.mdto its URL, for example/docs/cli/add.md. /llms.txtlists the docs,/llms-small.txtis a compact index of every item, and/r/catalog.jsonholds each item's guidance as data.- Every item page has a Copy prompt button with an install command and the item's notes for AI tools.
- The CLI's
--jsonflag gives agents output they can parse.
How the pieces fit
- You ask for a screen, for example "add a floating tab bar and a settings sheet".
- The skill reads your design profile and asks the MCP server for items that fit the job.
- The agent reads each candidate's "when to use it" and "when not to" notes, then picks one.
- It installs the items with
npx @swipeui/cli add …, wires them in and runs the audit. - It fixes what the audit reports and summarises what changed.
Privacy
None of these tools send telemetry. The MCP server and the skill read your project locally and only contact the SwipeUI registry, the same way the CLI does.
Next
- Set up the MCP server in Claude Code, Cursor or Codex.
- Tools reference: what each tool takes and returns.
- Design skill: its files and workflows.
- Prompts that work well.