MCP Directory

MCP Mermaid vs 21st.dev Magic MCP

A side-by-side comparison of two Design & Media servers — tools, transport, auth, maintenance, and copy-paste config for each.

 MCP Mermaid

Generate Mermaid diagrams and charts with AI dynamically, exporting to SVG, PNG, base64, file, or shareable URLs.

Unverified
stdio (local)
No auth
TypeScript
21st.dev Magic MCP

Generate beautiful, modern UI components from natural-language descriptions inside your IDE.

Unverified
stdio (local)
API key
TypeScript
CategoryDesign & MediaDesign & Media
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars5885.2k
Last commit1 month ago4 months ago
Verified
Actively maintained
Installnpx -y mcp-mermaidnpx @21st-dev/cli@latest install <client> --api-key <key>
RepoOpen Open

Verdict

Pick MCP Mermaid if you want zero-setup with no API key.

Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add MCP Mermaid

Install / run
npx -y mcp-mermaid

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-mermaid": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mermaid"
      ]
    }
  }
}

Add 21st.dev Magic MCP

Install / run
npx @21st-dev/cli@latest install <client> --api-key <key>

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "21st-dev-magic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@21st-dev/magic@latest",
        "API_KEY=\"your-api-key\""
      ]
    }
  }
}

FAQ

MCP Mermaid or 21st.dev Magic MCP — which is better?

Pick MCP Mermaid if you want zero-setup with no API key. Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both MCP Mermaid and 21st.dev Magic MCP?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do MCP Mermaid and 21st.dev Magic MCP work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.