Skip to content
Cursor

AI Guard for Cursor

io.github.ai-guard-dev/ai-guard

Guardrails for AI-written JS/TS: scans, weakened-test checks, package checks, verify before done.

client:Cursor transport:stdio runtime:npm

Install AI Guard in Cursor

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

{
  "mcpServers": {
    "ai-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "eslint-plugin-ai-guard"
      ]
    }
  }
}

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

AI Guard in other clients