21st.dev for Cursor
dev.21st/mcp
Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.
client:Cursor
transport:streamable-http
Install 21st.dev in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://21st.dev/api/mcp"
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs