Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
Read-only health checks for self-hosted n8n: datastore growth, stuck runs, retention, git drift.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install n8n-guard. Follow https://mcp.popnx.com/i/flow-84-n8n-guard.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a n8n-guard key (create it on the maker’s site) · 2 setting(s) to fill in (N8N_SQLITE_PATH, N8N_GIT_REPO_PATH) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server n8n-guard for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "n8n-guard": { "command": "npx", "args": [ "-y", "n8n-guard" ], "env": { "N8N_API_KEY": "your-value", "N8N_SQLITE_PATH": "your-value", "N8N_POSTGRES_URL": "your-value", "N8N_GIT_REPO_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the n8n-guard tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
N8N_SQLITE_PATH Path to the n8n database.sqlite file. Required for datastore checks on SQLite.N8N_GIT_REPO_PATH Checkout holding exported workflow JSON. Required for the git drift check.Descriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"n8n-guard": {
"command": "npx",
"args": [
"-y",
"n8n-guard"
],
"env": {
"N8N_API_KEY": "your-value",
"N8N_SQLITE_PATH": "your-value",
"N8N_POSTGRES_URL": "your-value",
"N8N_GIT_REPO_PATH": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use n8n-guard and tell me what you can do for me, then show me one thing✓ If Claude says it is using n8n-guard or shows a n8n-guard tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
N8N_URL Base URL of the n8n instance. Defaults to http://localhost:5678.N8N_GUARD_STUCK_MINUTES Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.N8N_GUARD_DB_WARN_BYTES Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).N8N_GUARD_DB_CRITICAL_BYTES Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).N8N_GUARD_TIMEOUT_MS Per-request API timeout in milliseconds. Defaults to 15000.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect n8n-guard yet
n8n-guard runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect n8n-guard
B · Others in Clinics & health that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a n8n-guard key (create it on the maker’s site) · 2 setting(s) to fill in (N8N_SQLITE_PATH, N8N_GIT_REPO_PATH) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server n8n-guard for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user n8n-guard --env N8N_API_KEY=your-value --env N8N_SQLITE_PATH=your-value --env N8N_POSTGRES_URL=your-value --env N8N_GIT_REPO_PATH=your-value -- npx -y n8n-guard 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the n8n-guard tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
N8N_SQLITE_PATH Path to the n8n database.sqlite file. Required for datastore checks on SQLite.N8N_GIT_REPO_PATH Checkout holding exported workflow JSON. Required for the git drift check.Descriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user n8n-guard --env N8N_API_KEY=your-value --env N8N_SQLITE_PATH=your-value --env N8N_POSTGRES_URL=your-value --env N8N_GIT_REPO_PATH=your-value -- npx -y n8n-guardReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see n8n-guard listed as connected
Use n8n-guard and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using n8n-guard or shows a n8n-guard tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
N8N_URL Base URL of the n8n instance. Defaults to http://localhost:5678.N8N_GUARD_STUCK_MINUTES Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.N8N_GUARD_DB_WARN_BYTES Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).N8N_GUARD_DB_CRITICAL_BYTES Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).N8N_GUARD_TIMEOUT_MS Per-request API timeout in milliseconds. Defaults to 15000.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a n8n-guard key (create it on the maker’s site) · 2 setting(s) to fill in (N8N_SQLITE_PATH, N8N_GIT_REPO_PATH) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server n8n-guard for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "n8n-guard": { "command": "npx", "args": [ "-y", "n8n-guard" ], "env": { "N8N_API_KEY": "your-value", "N8N_SQLITE_PATH": "your-value", "N8N_POSTGRES_URL": "your-value", "N8N_GIT_REPO_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the n8n-guard tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
N8N_SQLITE_PATH Path to the n8n database.sqlite file. Required for datastore checks on SQLite.N8N_GIT_REPO_PATH Checkout holding exported workflow JSON. Required for the git drift check.Descriptions are as written by the maker.
In the n8n-guard settings, N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use n8n-guard and tell me what you can do for me, then show me one thing✓ If Cursor says it is using n8n-guard or shows a n8n-guard tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
N8N_URL Base URL of the n8n instance. Defaults to http://localhost:5678.N8N_GUARD_STUCK_MINUTES Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.N8N_GUARD_DB_WARN_BYTES Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).N8N_GUARD_DB_CRITICAL_BYTES Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).N8N_GUARD_TIMEOUT_MS Per-request API timeout in milliseconds. Defaults to 15000.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a n8n-guard key (create it on the maker’s site) · 2 setting(s) to fill in (N8N_SQLITE_PATH, N8N_GIT_REPO_PATH) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server n8n-guard for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "n8n-guard": { "type": "stdio", "command": "npx", "args": [ "-y", "n8n-guard" ], "env": { "N8N_API_KEY": "your-value", "N8N_SQLITE_PATH": "your-value", "N8N_POSTGRES_URL": "your-value", "N8N_GIT_REPO_PATH": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the n8n-guard tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
N8N_SQLITE_PATH Path to the n8n database.sqlite file. Required for datastore checks on SQLite.N8N_GIT_REPO_PATH Checkout holding exported workflow JSON. Required for the git drift check.Descriptions are as written by the maker.
In the n8n-guard settings, N8N_API_KEY, N8N_POSTGRES_URL, N8N_SQLITE_PATH, N8N_GIT_REPO_PATH is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use n8n-guard and tell me what you can do for me, then show me one thing✓ If VS Code says it is using n8n-guard or shows a n8n-guard tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
N8N_URL Base URL of the n8n instance. Defaults to http://localhost:5678.N8N_GUARD_STUCK_MINUTES Minutes a run may stay in `running` before it counts as stuck. Defaults to 15.N8N_GUARD_DB_WARN_BYTES Datastore warning threshold in bytes. Defaults to 1073741824 (1 GB).N8N_GUARD_DB_CRITICAL_BYTES Datastore critical threshold in bytes. Defaults to 4294967296 (4 GB).N8N_GUARD_TIMEOUT_MS Per-request API timeout in milliseconds. Defaults to 15000.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user n8n-guard --env N8N_API_KEY=your-value --env N8N_SQLITE_PATH=your-value --env N8N_POSTGRES_URL=your-value --env N8N_GIT_REPO_PATH=your-value -- npx -y n8n-guardClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"n8n-guard": {
"command": "npx",
"args": [
"-y",
"n8n-guard"
],
"env": {
"N8N_API_KEY": "your-value",
"N8N_SQLITE_PATH": "your-value",
"N8N_POSTGRES_URL": "your-value",
"N8N_GIT_REPO_PATH": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"n8n-guard": {
"command": "npx",
"args": [
"-y",
"n8n-guard"
],
"env": {
"N8N_API_KEY": "your-value",
"N8N_SQLITE_PATH": "your-value",
"N8N_POSTGRES_URL": "your-value",
"N8N_GIT_REPO_PATH": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"n8n-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"n8n-guard"
],
"env": {
"N8N_API_KEY": "your-value",
"N8N_SQLITE_PATH": "your-value",
"N8N_POSTGRES_URL": "your-value",
"N8N_GIT_REPO_PATH": "your-value"
}
}
}
}N8N_URL envN8N_API_KEY secret required envN8N_SQLITE_PATH required envN8N_POSTGRES_URL secret required envN8N_GIT_REPO_PATH required envN8N_GUARD_STUCK_MINUTES envN8N_GUARD_DB_WARN_BYTES envN8N_GUARD_DB_CRITICAL_BYTES envN8N_GUARD_TIMEOUT_MS envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: n8n-guardBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account flow-84, which owns the repo
Code last changed 8 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for n8n-guard@0.1.0
Checks only this package version, not every dependency · checked Nov 16, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/flow-84-n8n-guard)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: N8N_API_KEY, N8N_POSTGRES_URL
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 8 days ago, and the latest version (0.1.0) reached the registry 8 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Medplum MCP, Mirobody, Codescene MCP Server, Marrow, WHOOP — MissingMCP
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
An MCP server that provides CodeScene Code Health analysis tools.
Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
| This one n8n-guard | Medplum MCP | Mirobody | Codescene MCP Server | Marrow | WHOOP — MissingMCP | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Installs on your computer | Installs on your computer | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 2/3 | 3/3 | 2/4 |
| License | MIT | Apache-2.0 | Apache-2.0 | NOASSERTION | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP server for the operational layer *underneath* the n8n Public API.
Most n8n MCP servers on the registry wrap the same public endpoints: list workflows, list executions, create, activate, delete. That is useful for building workflows. It is close to useless for keeping a self-hosted instance alive, because the things that actually take an instance down are not in that API at all.
n8n-guard answers the four questions the API cannot:
running looks identical to a healthy long job until you compare it against what that workflow normally takes. n8n-guard builds a per-workflow median from finished runs and flags the outliers.It is strictly read-only. n8n-guard never writes to your instance, never deletes executions, and never activates or edits a workflow. It reports; you decide.
npx -y n8n-guard
Requires Node.js 22 or newer (it uses the built-in node:sqlite). For a permanent install use npm install -g n8n-guard.
{
"mcpServers": { "n8n-guard": { "command": "n8n-guard", "env": { "N8N_URL": "https://n8n.example.com", "N8N_API_KEY": "n8n_api_...", "N8N_SQLITE_PATH": "/var/lib/n8n/.n8n/database.sqlite", "N8N_GIT_REPO_PATH": "/srv/workflow-exports" } } } }
Everything is an environment variable. There are no hardcoded hosts, paths, container names or accounts, so the server runs against any self-hosted instance.
| Variable | Required | Default | Purpose |
|---|---|---|---|
N8N_URL | no | http://localhost:5678 | Base URL of the instance |
N8N_API_KEY | for execution and workflow checks | none | Public API key (Settings, n8n API) |
N8N_SQLITE_PATH | for datastore checks on SQLite | none | Path to database.sqlite |
N8N_POSTGRES_URL | for datastore checks on Postgres | none | Connection string, takes precedence over SQLite |
N8N_GIT_REPO_PATH | for the drift check | none | Checkout holding exported workflow JSON |
N8N_GUARD_STUCK_MINUTES | no | 15 | Minutes in running before a run counts as stuck |
N8N_GUARD_DB_WARN_BYTES | no | 1073741824 (1 GB) | Datastore warning threshold |
N8N_GUARD_DB_CRITICAL_BYTES | no | 4294967296 (4 GB) | Datastore critical threshold |
N8N_GUARD_TIMEOUT_MS | no | 15000 | Per-request API timeout |
Partial configuration is a supported mode, not an error. With only N8N_URL and N8N_SQLITE_PATH you still get disk and retention answers; the API-backed checks report that they are unconfigured and the rest of the run continues.
| Tool | What it does |
|---|---|
instance_info | Reachability, configured datastore, workflow inventory. Shows which checks are usable. |
db_health | Datastore size, per-table breakdown, growth rate, projected days until the critical threshold. |
stuck_executions | Runs stuck in running, judged against the absolute threshold and each workflow's own median. |
retention_report | Execution count, age span, and what pruning to a retention window would free. |
git_drift | Live workflows against the repository exports: missing, deleted, drifted, duplicated. |
guard_run | All of the above in one resilient sweep. This is the one to schedule. |
Point the server at an instance and let your client call a tool. Every tool answers with a readable summary first and the full structured payload after it:
## Retention report
followed by the structured payload the summary was derived from:
{
"executionCount": 200, "oldestExecutionAt": "2026-08-28T23:43:28.651Z", "spanDays": 8.29, "executionsPerDay": 24.12, "buckets": [ { "olderThanDays": 7, "rows": 32, "share": 0.16, "estimatedBytes": 3277 }, { "olderThanDays": 30, "rows": 0, "share": 0, "estimatedBytes": 0 } ] }
guard_run wraps all six checks. With only a datastore configured it reports the gap instead of aborting:
## Guard run (degraded)
guard_run survives a partial outageA monitoring run that aborts on the first unreachable dependency is worthless precisely when it matters. The API being down *is* the incident, and it is no reason to stop looking at the disk.
guard_run isolates every step. A failing step is retried with backoff, and if it still fails it becomes a finding while the remaining checks run to completion. Steps that depend on a failed step are skipped with the reason attached rather than crashing on missing input. The report says so plainly:
## Guard run (degraded)
This behaviour is covered by tests in test/unit/runner.test.ts and test/unit/serviceRecovery.test.ts, the latter running a real SQLite datastore against a deliberately dead API endpoint.
The same sweep also runs as a Render Workflow: one Render task per check, with ordering, retries and backoff declared in the task definitions and executed by Render rather than by the in-process runner. Deploy steps, the task table and how to trigger a run (including a deliberate failure that demonstrates the retry path) are in docs/render-workflow.md.
The compose file starts a fresh n8n you can safely point the server at. The data directory is bind-mounted, which is exactly how n8n-guard reads a real deployment.
git clone https://github.com/flow-84/n8n-guard && cd n8n-guard
npm install && npm run build
docker compose up -d ./scripts/demo-setup.sh # owner, API key, workflows, and a drifted export folder
The script generates the owner password, keeps it in the gitignored .n8n-demo-credentials, and prints it along with the environment block to run the server with. It seeds one workflow that matches its export, one that was never exported, one that points at a sink container so a run can hang, and one export whose workflow does not exist, so git_drift and stuck_executions have something real to find.
export N8N_URL=http://localhost:5679
export N8N_API_KEY=... # printed by the script export N8N_SQLITE_PATH=$PWD/.n8n-demo/database.sqlite export N8N_GIT_REPO_PATH=$PWD/.n8n-demo-exports npm start
The instance publishes on 5679, not on n8n's default 5678, so it cannot collide with an instance you care about. Set N8N_DEMO_PORT to move it, and pass the same value to demo-setup.sh, the integration tests and N8N_URL.
npm test # unit tests, no instance required
npm run test:integration # against the compose instance above
The integration suite skips the API-backed cases when N8N_API_KEY is unset, so it stays runnable on a bare docker compose up.
MIT