MCP Directory

21st.dev Magic MCP vs Replicate Flux MCP

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

 21st.dev Magic MCP

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

Unverified
stdio (local)
API key
TypeScript
Replicate Flux MCP

Community server generating images and SVG assets via Replicate's Flux models.

Verified
stdio (local)
API key
TypeScript
CategoryDesign & MediaDesign & Media
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars5.2k103
Last commit5 months ago3 months ago
Verified
Actively maintained
Installnpx @21st-dev/cli@latest install <client> --api-key <key>npx -y replicate-flux-mcp
RepoOpen Open

Verdict

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

Pick Replicate Flux MCP if you need the broadest set of tools, and you want a verified, documented setup.

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\""
      ]
    }
  }
}

Add Replicate Flux MCP

Install / run
npx -y replicate-flux-mcp

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

{
  "mcpServers": {
    "replicate-flux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "replicate-flux-mcp"
      ],
      "env": {
        "REPLICATE_API_TOKEN": "<your-replicate-api-token>"
      }
    }
  }
}

FAQ

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

Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option. Pick Replicate Flux MCP if you need the broadest set of tools, and you want a verified, documented setup.

Can I use both 21st.dev Magic MCP and Replicate Flux 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 21st.dev Magic MCP and Replicate Flux MCP work with Claude, Cursor and Windsurf?

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