Skip to content
Grok

n8n-guard for Grok

io.github.flow-84/n8n-guard

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

client:Grok transport:stdio runtime:npm

Install n8n-guard in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

n8n-guard in other clients