Skip to content
Cursor

Regex-LE for Cursor

io.github.nolindnaidoo/regex-le

Extract regular expressions from code, each with a ReDoS safety verdict.

client:Cursor transport:stdio runtime:npm

Install Regex-LE in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "regex-le": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "regex-le-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Regex-LE in other clients