A side-by-side look at the Magic MCP and Regex Safety Audit MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Magic MCP for developer tools work as a local process; choose Regex Safety Audit for developer tools over a hosted endpoint. You can also run both side by side in one mcpServers block.
TWENTY_FIRST_API_KEY, API_KEY_21ST.analyze_redos_risk, generate_attack_string, suggest_safe_rewrite.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Quality signal | 53/100 · Good | 51/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Remote HTTP/SSE |
| Auth | API key required | No auth required |
| Pricing | Paid service | Freemium |
| Required env vars | TWENTY_FIRST_API_KEYAPI_KEY_21ST | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 5,997 | 0 |
| Directory activity | 16 views 1 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | Not listed | 3 |
| Full listing | View Magic MCP | View Regex Safety Audit |
No tool names declared yet. Check the project README from the listing page.
analyze_redos_riskFull structural analysis. Returns a risk level, every finding with its exact reason, and the JS atomic-group/generate_attack_stringFor a flagged pattern, generates candidate proof-of-concept inputs at a few sizes, plus a ready-to-run Nodesuggest_safe_rewriteConcrete rewritten pattern for the mechanically-fixable shapes; honest "no mechanical fix, here's what to change byPaste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"21st-dev-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@21st-dev/cli@latest"
],
"env": {
"TWENTY_FIRST_API_KEY": "YOUR_TWENTY_FIRST_API_KEY_HERE",
"API_KEY_21ST": "YOUR_API_KEY_21ST_HERE"
}
}
}
}
{
"mcpServers": {
"regex-safety-audit": {
"url": "https://mcpize.com/mcp/regex-safety-audit-mcp"
}
}
}