SwipeUI
DocsAI & MCP

MCP server setup

Connect the SwipeUI MCP server to Claude Code, Cursor, Codex and other clients.

The server runs locally over stdio, started by your agent with npx. It needs Node 24 or later and no account. Pro source is only returned when a licence key is set.

Each client's configuration format changes from time to time. Check its own docs if a field below doesn't match.

Claude Code

The SwipeUI plugin installs the MCP server and the design skill together. To add only the server:

claude mcp add swipeui -- npx -y @swipeui/mcp

Cursor

Add the server to .cursor/mcp.json in your project:

.cursor/mcp.json
{
  "mcpServers": {
    "swipeui": {
      "command": "npx",
      "args": ["-y", "@swipeui/mcp"]
    }
  }
}

Codex

Add the server to your Codex configuration:

~/.codex/config.toml
[mcp_servers.swipeui]
command = "npx"
args = ["-y", "@swipeui/mcp"]

Other clients

Any client that supports stdio MCP servers works. Point it at the command npx with the arguments -y @swipeui/mcp.

Pro licence key

To let the server return Pro source, pass your key through the client's environment settings, for example "env": { "SWIPEUI_LICENSE_KEY": "…" } in Cursor. Never paste the key into a prompt, and never put it in an EXPO_PUBLIC_ variable.

Without a key, Pro items still return their guidance and install command, just not their source.

Options

VariableWhat it does
SWIPEUI_LICENSE_KEYUnlocks Pro source in get_component
SWIPEUI_REGISTRY_URLPoints the server at a local or preview registry instead of production

The server caches the catalogue for ten minutes, so new releases show up shortly after they ship.

Check it works

Ask your agent: "Which SwipeUI tab bars are there?" It should call list_components or search_components and answer with real item names and install commands.

On this page