Draft: research not yet reviewed. Hidden from search engines and production.
21st.dev MCP server & Claude connector
Does 21st.dev have an official MCP server or Claude connector?
Official
As of October 2026, 21st.dev publishes the 21st MCP (formerly Magic MCP), a remote server at 21st.dev/api/mcp that searches a React component catalog and can generate UI. Setup and code are on its own site and GitHub repo. It uses a 21st.dev API key, and some tools, such as component retrieval and generation, are paid.
Last checked
Verdict and evidence
- What we checked
- 21st MCP (formerly Magic MCP)
- Published by
- 21st.dev (official)
- Runs
- Hosted (remote)
- Sign-in
- API key or token
- Stage
- Generally available
- Plan
- Free API key from 21st.dev/mcp. Component search and logo search are free; get_component retrieval is paid, and generate is paid on the free tier and only listed when AI access is enabled.
- Endpoint
https://21st.dev/api/mcp
Evidence
- 21st MCP setup (21st.dev, seen October 18, 2026)
- 21st-dev/magic-mcp README (github.com, seen October 18, 2026)
What an AI can do in 21st.dev
Read
- Search components, themes and templates
search - Get component code (paid retrieval)
get_component - Get design inspiration
get_inspiration - Search brand logos
search_logo - Check usage and whether AI access is enabled
get_usage
Create
- Generate UI components with AI
generate
Update
- Iterate on a generation
iterate_generation
From the publisher’s documentation for the version we checked. Not every tool is listed.
Setup
Claude Code
Run the CLI installer for your client (claude, cursor, vscode, windsurf, codex).
npx @21st-dev/cli@latest init --client claudeSourceCursor
Or add the HTTP server manually with your API key.
{
"mcpServers": {
"21st": {
"url": "https://21st.dev/api/mcp",
"headers": { "x-api-key": "YOUR_21ST_API_KEY" }
}
}
}SourceSafety check
- Pass
Publisher verified
Endpoint and setup page are on 21st.dev, and the 21st-dev GitHub org lists 21st.dev as its site. The org is not GitHub-verified.
- Flag
Auth model
API key sent in an x-api-key header, not OAuth. Old Magic keys were reset, so generate a new one.
- Pass
Write and delete access
Tools return component code and catalog data; the CLI init command prints config and only writes your client config file with --write.
- Unknown
Tool-description injection scan
The npm proxy source (src/index.ts) has no AI-directed text, but the hosted server's tool descriptions were not read. README notes the legacy tools used /ui and /21 trigger phrases in their descriptions.
- Pass
Repo maintenance
21st-dev/magic-mcp pushed 2026-09-09, 6,094 stars, not archived (now mainly a compatibility proxy and plugin manifest; the server itself is hosted).
FAQ
What happened to Magic MCP?
It is now the 21st MCP. The @21st-dev/magic package remains as a compatibility proxy, and old Magic API keys were reset.
Is 21st.dev's MCP official?
Yes, it is published by 21st.dev itself, with setup on 21st.dev/mcp and code in the 21st-dev GitHub org.
Is it free?
Getting a key is free and search is free. Component code retrieval and AI generation are paid on the free tier.
Is it a Claude connector?
Not verified. No 21st connector was found in Anthropic's directory; it installs via the CLI, a plugin or a manual HTTP config.
Does it work with Cursor and Claude Code?
Yes. The CLI supports cursor, claude, vscode, windsurf and codex, and the repo ships a Claude Code plugin manifest.
Last reviewed .
Get your badge
Work at 21st.dev? Show that your MCP server is independently checked. The badge reflects this page: it updates when we re-check, and it links readers to the evidence.
Markdown (README)
[](https://mcpornot.com/21st-dev)HTML
<a href="https://mcpornot.com/21st-dev"><img src="https://mcpornot.com/badge/21st-dev.svg" alt="MCP or Not: Official · Checked Oct 2026" height="20"></a>Compare 21st.dev
Something changed?
Vendors ship MCP updates often. If 21st.dev launched, changed or retired a server, tell us and we will re-check it against primary sources. Submit a correction.
New official MCP servers, weekly
One short email when vendors ship, change or retire an official server or Claude connector. Checked against primary sources, like every verdict here.
