Rexact

v0.1.2
io.github.Nicolasmar91/rexact-mcp Checked 4 days ago Published 1 month ago

Verify, explain and audit regexes (ReDoS, engine compatibility) offline.

Values you need

VariableWhat it is
ANTHROPIC_API_KEYoptional secret Optional. Only needed by the generate_regex tool; the four other tools work offline without it.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add rexact-mcp -- npx -y rexact-mcp@0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "rexact-mcp": {
      "args": [
        "-y",
        "rexact-mcp@0.1.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "rexact-mcp": {
      "args": [
        "-y",
        "rexact-mcp@0.1.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "rexact-mcp": {
      "args": [
        "-y",
        "rexact-mcp@0.1.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.rexact-mcp]
command = "npx"
args = ["-y", "rexact-mcp@0.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: verify_regex, check_redos, explain_regex, check_compat, generate_regex.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json