OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Apify
6,000+ web scrapers for your agent, free to start
Try Apify free →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
SetupClaw
Done-for-you OpenClaw for founders and teams
Get it set up for you →
DataForSEO
SEO data APIs for your agent, $1 free credit
Try DataForSEO free →
Your product here
Reach thousands of AI builders a month
Learn more →
Claude Market
Menu
SkillsMCPPluginsSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market/OpenClaw Skills/21st-dev/21st.dev Magic MCP
21st.dev Magic MCP logo

21st.dev Magic MCP

21st-dev/magic-mcp
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|Design|View on GitHub|Create your own skill →

Installation

npx -y @21st-dev/cli@latest init --client claude

Summary

Generates and searches production-ready UI components inline in your coding agent, backed by a 10,000+ component library from 21st.dev.

SKILL.md

Magic MCP → 21st MCP

Magic MCP is now the 21st MCP. The Magic MCP server (@21st-dev/magic) has been replaced by the unified 21st MCP, installed via the 21st CLI — setup at 21st.dev/mcp. This package remains published as a thin compatibility proxy so old configs keep working.

Install the 21st MCP (recommended)

npx @21st-dev/cli@latest init --client cursor   # or: claude | vscode | windsurf | codex

Or add it manually — it is a plain HTTP MCP server:

{
  "mcpServers": {
    "21st": {
      "url": "https://21st.dev/api/mcp",
      "headers": { "x-api-key": "YOUR_21ST_API_KEY" }
    }
  }
}

Get an API key at 21st.dev/mcp.

Old Magic API keys were reset. Keys issued by the old Magic console no longer work anywhere. Generate a fresh key at 21st.dev/mcp.

What this package does now (v0.2.0+)

npx -y @21st-dev/magic@latest API_KEY="..." still works: since v0.2.0 it is a small stdio proxy that forwards every MCP message to the 21st MCP server. Existing mcp.json entries that reference @21st-dev/magic keep functioning — but they now speak to the same server as the 21st CLI, with the full current toolset.

The API key is accepted in all the historical forms: positional API_KEY="...", --API_KEY=..., /API_KEY:..., -API_KEY ..., or the TWENTY_FIRST_API_KEY / API_KEY_21ST environment variables.

Old tool names → new tool names

The 21st MCP still accepts the legacy Magic tool names and translates them, so agents that remember the old names keep working. Prefer the new names:

| Legacy Magic tool | 21st MCP tool | | --- | --- | | 21st_magic_component_builder | generate | | 21st_magic_component_inspiration | get_inspiration | | 21st_magic_component_refiner | generate (new generation from the refinement prompt) | | logo_search | search_logo (one query per call) |

The current server exposes much more than the old four tools: catalog search across components/themes/templates, paid code retrieval, bookmarks, team libraries, UI generation with variants, profile management, and more. Connect and call tools/list to see the full set.

Links

  • 21st MCP setup & API keys: https://21st.dev/mcp
  • 21st CLI on npm: https://www.npmjs.com/package/@21st-dev/cli
  • 21st.dev — discover, publish, and generate UI components: https://21st.dev

FAQ

Why did my old Magic MCP stop working? The Magic backend (magic.21st.dev) was superseded by the unified 21st MCP, and all old API keys were reset for security. Update to a fresh key from 21st.dev/mcp — your existing @21st-dev/magic config will then work again through this compatibility proxy, though we recommend switching to npx @21st-dev/cli@latest init.

Is /ui still a thing? Use natural language: ask your agent to search 21st for components (search), or generate new UI (generate). The old /ui, /21 trigger phrases were a convention of the legacy tools' descriptions, not the protocol.

Score

0–100
82/ 100

Grade

B

Popularity22/30

5,593 GitHub stars on the source repo — strong adoption. Install counts are not tracked for this skill.

Completeness30/30

Complete listing: SKILL.md body, description, install command, and metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness15/15

Updated within the last 90 days.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

21st.dev Magic MCP skill score badge previewScore badge

Markdown

[![21st.dev Magic MCP skill](https://www.claudemarket.ai/skills/21st-dev/magic-mcp/badges/score.svg)](https://www.claudemarket.ai/skills/21st-dev/magic-mcp)

HTML

<a href="https://www.claudemarket.ai/skills/21st-dev/magic-mcp"><img src="https://www.claudemarket.ai/skills/21st-dev/magic-mcp/badges/score.svg" alt="21st.dev Magic MCP skill"/></a>

21st.dev Magic MCP FAQ

How do I install the 21st.dev Magic MCP skill?

Run “npx -y @21st-dev/cli@latest init --client claude” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the 21st.dev Magic MCP skill do?

Generates and searches production-ready UI components inline in your coding agent, backed by a 10,000+ component library from 21st.dev. The SKILL.md section on this page shows the exact instructions the skill gives your agent.

Is the 21st.dev Magic MCP skill free?

Yes. 21st.dev Magic MCP is a free, open-source skill published under the MIT license by 21st-dev. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does 21st.dev Magic MCP work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so 21st.dev Magic MCP works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
GLips logo

Figma Context MCP

GLips

0 installsInstall
mobbin logo

Mobbin MCP

mobbin

0 installsInstall
nextlevelbuilder logo

UI UX Pro Max Skill

nextlevelbuilder

0 installsInstall
Leonxlnx logo

Taste Skill

Leonxlnx

0 installsInstall
pbakaus logo

Impeccable

pbakaus

0 installsInstall
ahujasid logo

Blender MCP

ahujasid

0 installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

Guide10 Openclaw Skills Every Nextjs Developer NeedsGuideHow To Find The Right Openclaw Skill For Your ProjectGuideBest Openclaw Skills 2026

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+20 more

MCP servers by category

AI & MLDeveloper ToolsVector & MemoryFiles & DocsDatabasesFinance & PaymentsBrowser & ScrapingCommunication+8 more

Plugins by category

developmentproductivitycommunicationdesignsecuritydatabaseworkflowcompliance+34 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed