SwipeUI
DocsAI & MCP

Tools reference

Every tool the SwipeUI MCP server exposes, what it takes and what it returns.

The server is read-only. Tools that look at your project read files; none of them write. Agents install items with the CLI command a tool returns.

Finding items

ToolInputReturns
search_componentsquery (the job, in words); optional category, tier (free or pro), kind (component, block or theme)Matching items with their name, title, description, category, tier, docs URL and install command
list_componentsOptional category, family, tier, kindItems grouped by category, one line each
get_componentnameWhen to use it and when not to, usage, props, accessibility, motion, layout and performance notes, notes for AI, related items and the install command. Free items include their files; Pro items include files only with a licence key
get_install_commandnames (a list)One npx @swipeui/cli add … command for all of them, with notes such as "needs a development build"

Theme and design

ToolInputReturns
list_themesnoneThe presets in the registry, with their look, schemes, feel and the theme add command
get_themenoneYour project's base preset, extra presets and the ThemeProvider props it found
get_tokensnoneThe tokens defined in your theme file, or a hint to run init
get_profilenoneYour DESIGN.md and .swipeui/profile.json, or a hint to create them with the design skill
get_skillOptional fileOne file from the design skill, such as the motion or accessibility reference

Checking work

ToolInputReturns
audit_screenpathProblems in a screen file, each with its line and a fix: raw colours, spacing or radii off the scale, missing safe areas, small touch targets, unlabelled icon buttons, and hard-coded springs or durations

A typical session

  1. search_components with the job, for example "bottom navigation with a centre action".
  2. get_component on the best two or three results. Their "when not to use" notes often name a better fit.
  3. get_install_command for the chosen items, then the agent runs it.
  4. audit_screen on the edited screen, and the agent fixes what it finds.

On this page