n8n-guard
by github.com/flow-84 · v0.1.0 · updated Nov 12, 2026
Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
N8N_URLBase URL of the n8n instance. Defaults to http://localhost:5678.
N8N_API_KEYsecretn8n Public API key. Required for the execution and workflow checks.
N8N_SQLITE_PATHPath to the n8n database.sqlite file. Required for datastore checks on SQLite.
N8N_POSTGRES_URLsecretPostgres connection string. Takes precedence over N8N_SQLITE_PATH.
N8N_GIT_REPO_PATHCheckout holding exported workflow JSON. Required for the git drift check.
N8N_GUARD_STUCK_MINUTESMinutes a run may stay in `running` before it counts as stuck. Defaults to 15.
N8N_GUARD_DB_WARN_BYTESDatastore warning threshold in bytes. Defaults to 1073741824 (1 GB).
N8N_GUARD_DB_CRITICAL_BYTESDatastore critical threshold in bytes. Defaults to 4294967296 (4 GB).
N8N_GUARD_TIMEOUT_MSPer-request API timeout in milliseconds. Defaults to 15000.
More MCP servers
Flow — Base quotes & contract safety for agents
github.com/flow-executor
Best-execution quotes and contract safety checks on Base for AI agents, paid per call via x402.
Agent Card Starter
github.com/flowboxx
Starter kit for small businesses: A2A agent card, MCP server card, example MCP server, validator.
Fronius Mcp
github.com/flowiesner
Real-time Fronius inverter data in Claude — PV, battery, grid and smart meter via local Solar API.
Abe
github.com/flowinfosystems-index
Free, local check before an AI agent acts: your rules return ACT, BLOCK or ESCALATE.
Obsidian Hybrid Search
github.com/flowing-abyss
Search Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.
Flowpack
github.com/flowpackplugin
Flowpack: Shopify design catalog — badge/button/bar looks, honest-urgency presets, diagnosis.