Skip to content
MCP server

21st.dev

Find UI components and themes, retrieve code, and generate with hosted 21st AI when…

Install
Runs
Remotely
Version
1.0.1
Listing updated
today

About 21st.dev

21st.dev is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.

Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.

Install

Run in a terminal

claude mcp add --transport http mcp https://21st.dev/api/mcp

Add to Settings → Connectors → Add custom connector

https://21st.dev/api/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://21st.dev/api/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://21st.dev/api/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://21st.dev/api/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://21st.dev/api/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

21st.dev FAQ

How do I add 21st.dev to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://21st.dev/api/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers