Skip to content
VS Code

21st.dev for VS Code

dev.21st/mcp

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

client:VS Code transport:streamable-http

Install 21st.dev in VS Code

.vscode/mcp.json

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

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

21st.dev in other clients