Skip to content
Cursor

n8n-guard for Cursor

io.github.flow-84/n8n-guard

Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.

client:Cursor transport:stdio runtime:npm

Install n8n-guard in Cursor

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "n8n-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "n8n-guard"
      ],
      "env": {
        "N8N_URL": "<N8N_URL>",
        "N8N_API_KEY": "<N8N_API_KEY>",
        "N8N_SQLITE_PATH": "<N8N_SQLITE_PATH>",
        "N8N_POSTGRES_URL": "<N8N_POSTGRES_URL>",
        "N8N_GIT_REPO_PATH": "<N8N_GIT_REPO_PATH>",
        "N8N_GUARD_STUCK_MINUTES": "<N8N_GUARD_STUCK_MINUTES>",
        "N8N_GUARD_DB_WARN_BYTES": "<N8N_GUARD_DB_WARN_BYTES>",
        "N8N_GUARD_DB_CRITICAL_BYTES": "<N8N_GUARD_DB_CRITICAL_BYTES>",
        "N8N_GUARD_TIMEOUT_MS": "<N8N_GUARD_TIMEOUT_MS>"
      }
    }
  }
}

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

n8n-guard in other clients