Connect 21st.dev to Devin Desktop
Community marketplace of React components, templates, shadcn themes and shaders, with a hosted MCP server for agents. Browsing is free; copying more than a few components a day needs a membership.
MCP serverOfficialChecked 2026-11-16
Before you start
- Devin Desktop (formerly Windsurf) installed (see its MCP documentation (opens in a new tab)).
- 21st.dev is available on macOS, Windows, Linux and the web.
- Get an API key at 21st.dev/mcp and set it as
API_KEY_21STin your environment. Keys from the old Magic console no longer work. AI generation tools only appear when your account has AI access. Each component page also shows its own shadcn CLI command.
Step 1: Add 21st.dev to Devin Desktop
Add it to the local config file
Add this to
.devin/mcp_config.local.json, which isn't committed, or to~/.config/devin/mcp_config.jsonto use it in every project..devin/mcp_config.local.json { "mcpServers": { "21st-dev": { "url": "https://21st.dev/api/mcp", "headers": { "x-api-key": "YOUR_API_KEY_21ST" } } } }Good to know- Devin keeps header values in the file itself. Replace
YOUR_API_KEY_21STwith the token.
- Devin keeps header values in the file itself. Replace
Step 2: Check it's connected
Terminal devin mcp listIn Devin Desktop, open Customize from the Agents window, choose MCPs and check the server under This computer.
Step 3: Try a first request
Ask Devin Desktop something that only works with 21st.dev connected:
Say to Devin Desktop Search 21st.dev for a pricing section that fits this page and show me how to adapt it.
If it doesn't work
- Devin Desktop and the Devin CLI share the same MCP files:
.devin/mcp_config.jsonin a project,.devin/mcp_config.local.jsonfor just you, and~/.config/devin/mcp_config.jsonfor every project. - Servers set up in Windsurf's old
mcp_config.jsonaren't read. Add them again in the Devin format. - Servers that need a sign-in: run
devin mcp login <name>, or click Authenticate next to the server.





