n8n-guard
Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.
Documentation & Preview
{ "mcpServers": { "mcp-n8n-guard-abb3aa9228756d40a251": { "command": "npx", "args": [ "-y", "--package", "n8n-guard@0.1.0", "n8n-guard" ], "env": { "N8N_URL": "${ENV_N8N_URL}", "N8N_API_KEY": "${ENV_N8N_API_KEY}", "N8N_SQLITE_PATH": "${ENV_N8N_SQLITE_PATH}", "N8N_POSTGRES_URL": "${ENV_N8N_POSTGRES_URL}", "N8N_GIT_REPO_PATH": "${ENV_N8N_GIT_REPO_PATH}", "N8N_GUARD_STUCK_MINUTES": "${ENV_N8N_GUARD_STUCK_MINUTES}", "N8N_GUARD_DB_WARN_BYTES": "${ENV_N8N_GUARD_DB_WARN_BYTES}", "N8N_GUARD_DB_CRITICAL_BYTES": "${ENV_N8N_GUARD_DB_CRITICAL_BYTES}", "N8N_GUARD_TIMEOUT_MS": "${ENV_N8N_GUARD_TIMEOUT_MS}" } } }, "setup": { "fields": [ { "id": "ENV_N8N_URL", "label": "N8N_URL", "description": "Base URL of the n8n instance. Defaults to http://localhost:5678.", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_API_KEY", "label": "N8N_API_KEY", "description": "n8n Public API key. Required for the execution and workflow checks.", "required": false, "secret": true, "default": "" }, { "id": "ENV_N8N_SQLITE_PATH", "label": "N8N_SQLITE_PATH", "description": "Path to the n8n database.sqlite file. Required for datastore checks on SQLite.", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_POSTGRES_URL", "label": "N8N_POSTGRES_URL", "description": "Postgres connection string. Takes precedence over N8N_SQLITE_PATH.", "required": false, "secret": true, "default": "" }, { "id": "ENV_N8N_GIT_REPO_PATH", "label": "N8N_GIT_REPO_PATH", "description": "Checkout holding exported workflow JSON. Required for the git drift check.", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_GUARD_STUCK_MINUTES", "label": "N8N_GUARD_STUCK_MINUTES", "description": "Minutes a run may stay in running before it counts as stuck. Defaults to 15.", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_GUARD_DB_WARN_BYTES", "label": "N8N_GUARD_DB_WARN_BYTES", "description": "Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_GUARD_DB_CRITICAL_BYTES", "label": "N8N_GUARD_DB_CRITICAL_BYTES", "description": "Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).", "required": false, "secret": false, "default": "" }, { "id": "ENV_N8N_GUARD_TIMEOUT_MS", "label": "N8N_GUARD_TIMEOUT_MS", "description": "Per-request API timeout in milliseconds. Defaults to 15000.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.flow-84/n8n-guard", "registryVersion": "0.1.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.flow-84%2Fn8n-guard/versions/0.1.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "n8n-guard", "version": "0.1.0", "integrity": "sha512-Ytj6rtrATvjOq+pSPoTwwZgMFxGFQsrT/bVVMgJhSzXglJcM0TIr0582AjLtJVo7ShAnsziBRwBzuZfQWMU13Q==", "registryNameMatched": "io.github.flow-84/n8n-guard", "checkedAt": "2026-11-12T14:29:28.388Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }