Skip to content
Zed

n8n-guard for Zed

io.github.flow-84/n8n-guard

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

client:Zed transport:stdio runtime:npm

Install n8n-guard in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "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>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

n8n-guard in other clients