#2323rd of 31 in MCP servers for developers

magic-mcp

MCP proxy that gives coding agents 21st.dev UI component search and generation

Stars
6k
License
ISC
Last commit
Sep 2026
Last release
Sep 2026
Language
TypeScript
Stars, last 29 weeks+1,537
25 Mar 2026: 4,489 stars1 Apr 2026: 4,553 stars8 Apr 2026: 4,607 stars15 Apr 2026: 4,657 stars22 Apr 2026: 4,711 stars29 Apr 2026: 4,756 stars6 May 2026: 4,785 stars13 May 2026: 4,811 stars20 May 2026: 4,840 stars27 May 2026: 4,889 stars3 Jun 2026: 4,941 stars10 Jun 2026: 5,020 stars17 Jun 2026: 5,114 stars24 Jun 2026: 5,192 stars1 Jul 2026: 5,257 stars8 Jul 2026: 5,317 stars15 Jul 2026: 5,408 stars22 Jul 2026: 5,455 stars29 Jul 2026: 5,520 stars5 Aug 2026: 5,576 stars12 Aug 2026: 5,624 stars19 Aug 2026: 5,675 stars26 Aug 2026: 5,722 stars2 Sept 2026: 5,775 stars9 Sept 2026: 5,826 stars16 Sept 2026: 5,871 stars23 Sept 2026: 5,914 stars30 Sept 2026: 5,950 stars7 Oct 2026: 5,980 stars14 Oct 2026: 6,026 stars

4,489 on 25 Mar 20266,026 on 14 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Formerly the Magic MCP server, this package is now a stdio proxy that forwards MCP messages to the hosted 21st MCP at 21st.dev/api/mcp, so old `@21st-dev/magic` configs keep working. The hosted server offers component, theme and template search, code retrieval, and UI generation when AI access is enabled. The repo is also packaged as a plugin for Claude Code, Codex CLI and Grok Build.

Who it is for: Developers using Cursor, Claude Code or Codex who want UI components via MCP

Strengths

  • Legacy Magic tool names are translated, so old agent prompts and mcp.json entries still work
  • Installs with one CLI command for Cursor, Claude, VS Code, Windsurf or Codex
  • Accepts the API key in several historical argument forms and two environment variables
  • Ships plugin manifests for Claude Code, Codex CLI and Grok Build

Weaknesses

  • Requires a 21st.dev API key and a hosted backend; the server logic is not in this repo
  • Old Magic API keys were reset and must be regenerated
  • Hosted AI generation is separate from builder access; `generate` is listed only when AI is enabled
  • Package is a compatibility shim; the README recommends moving to the 21st CLI

What it needs

  • no GPU
  • Docker
  • Needs 21st.dev API key, hosted 21st MCP server (21st.dev/api/mcp), Node.js/npx

Also in MCP servers for developers

See all 31
Also in MCP servers for developers
RankProjectScore
1gitnexusCode knowledge graph exposed to coding agents through MCP tools Live demo ↗ (opens in a new tab)47.9k starscustom license91 out of 100
2codegraphLocal code knowledge graph served to coding agents over MCP74.2k starsMIT82 out of 100
3n8n-mcpMCP server exposing n8n node docs, templates and workflow management to AI assistants Live demo ↗ (opens in a new tab)23.1k starsMIT76 out of 100
#4serenaMCP server giving coding agents symbol-level code search, editing and refactoring30.3k starscustom license73 out of 100
#5chrome-devtools-mcpMCP server that lets coding agents drive and debug a live Chrome53.6k starsApache-2.071 out of 100