Skip to content
Claude Desktop

n8n-guard for Claude Desktop

io.github.flow-84/n8n-guard

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

client:Claude Desktop transport:stdio runtime:npm

Install n8n-guard in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

{
  "mcpServers": {
    "n8n-guard": {
      "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>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

n8n-guard in other clients