Listed from the MCP registry; nobody on Odel publishes it.
Lint exported n8n workflow JSON: failure patterns, leaked secrets, Creator Hub readiness
Runs on your machine from its package; the steps are below.
Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx mcp-n8n-preflight
MCP client config
{
"mcpServers": {
"n8n-preflight": {
"command": "uvx",
"args": [
"mcp-n8n-preflight"
]
}
}
}Run
docker run -i --rm ghcr.io/haechiwood/mcp-n8n-preflight:0.1.2
MCP client config
{
"mcpServers": {
"n8n-preflight": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/haechiwood/mcp-n8n-preflight:0.1.2"
]
}
}
}Check an exported n8n workflow before you import it, share it, or submit it as a template. Ask Claude "is this workflow safe to share?" or "why does this workflow fail?" and it can read the JSON file and get a list of concrete problems, each with a fix.
.json files from one folder. It never runs a workflow,
never connects to your n8n instance, and makes no network requests. No API key needed.$('node name') typos, a webhook waiting for a Respond
node that is missing, {{ }} in a field that is not in expression mode, an unconnected Loop Over Items
output, HTTP calls with no retry.### How it works / ### Setup
(100 to 300 words), section notes, default node names
(n8n guideline).Not affiliated with n8n GmbH. "n8n" is used only to say which file format this tool reads.
Need help? Hire us. Workflow still failing after the checks? We fix one n8n workflow for a fixed price: root cause, tested fix and a preflight report, $190 on Contra or as a Fiverr gig. The work is done by AI agents and checked against a written QA checklist (see "How this was built").
| Tool | Type | What it does |
|---|---|---|
lint_workflow | read | Findings for one workflow file or inline JSON. profile: run (reliability), share (default: reliability + sharing), template (all, including Creator Hub checks). Secrets and emails are masked in the output |
summarize_workflow | read | Triggers, node count, outside systems the workflow calls, AI nodes, credential types (types only), disabled nodes |
list_rules | read | Every rule with why it matters and how to fix it |
write_sanitized_copy | write | Not registered unless N8N_PREFLIGHT_ENABLE_WRITE=true. Without confirm=true it returns a preview of the changes and writes nothing. With confirm=true it writes a new file (never overwrites) without pinned data, credentials, instance ID and literal secrets |
| ID | Severity | Checks |
|---|---|---|
| N8P001 | error | Expression points at a node that does not exist (suggests the right case) |
| N8P002 | error | Webhook set to respond "Using Respond to Webhook Node" but there is none |
| N8P003 | warning | Respond to Webhook node but no webhook uses that mode |
| N8P004 | warning | {{ $... }} stored as fixed text (missing expression =) |
| N8P005 | warning | HTTP Request with Retry On Fail off and On Error = stop |
| N8P006 | info | No error workflow set |
| N8P007 | warning | Node with no incoming connection (not a trigger or AI sub-node) |
| N8P008 | warning | Loop Over Items (v3) with the loop output unconnected |
| N8P009 | info | Disabled node |
| N8P101 | error | Literal secret in a parameter, code or note (OpenAI, Anthropic, Google, Slack, GitHub, Stripe, AWS keys, JWT, Bearer, basic-auth URL, key in URL, Authorization header) |
| N8P102 | warning | Credential name and ID included |
| N8P103 | warning | Pinned execution data included |
| N8P104 | warning | Email address or fixed spreadsheet / chat / channel / folder ID |
| N8P105 | info | meta.instanceId present |
| N8P201 | warning | No overview sticky note (### How it works + ### Setup) |
| N8P202 | warning | Four or more nodes and no section notes |
| N8P203 | info | Default node name such as HTTP Request1 |
| N8P204 | warning | Overview note outside 100 to 300 words |
These are static checks. A clean result does not prove a workflow works; only running it with real input does.
Requires Python 3.10+ and uv (or pip).
uvx mcp-n8n-preflight # from PyPI
docker run -i --rm -v "$PWD:/work:ro" ghcr.io/haechiwood/mcp-n8n-preflight:0.1.2 # Docker, reads /work
Or pip install mcp-n8n-preflight.
Settings > Developer > Edit Config, then add to claude_desktop_config.json:
{
"mcpServers": {
"n8n-preflight": {
"command": "uvx",
"args": ["mcp-n8n-preflight"],
"env": {
"N8N_PREFLIGHT_ROOT": "/path/to/your/n8n-exports"
}
}
}
}
Restart Claude Desktop. Use an absolute path for N8N_PREFLIGHT_ROOT. Claude Desktop may not find uvx
if it is not on its PATH; then put the full path from which uvx in command.
claude mcp add n8n-preflight -e N8N_PREFLIGHT_ROOT="$PWD" -- uvx mcp-n8n-preflight
claude mcp list # should show: n8n-preflight ... Connected
To allow the write tool, add -e N8N_PREFLIGHT_ENABLE_WRITE=true.
uvx --from mcp-n8n-preflight n8n-preflight lint my-workflow.json --profile share
# exit 0 = no errors, 1 = errors found, 2 = could not read the file
invoice-sync.json and explain the errors in plain English."lead-intake.json safe to post in the n8n forum? Use the share profile."my-template.json against the template profile before I submit it to the Creator Hub."| Variable | Default | Notes |
|---|---|---|
N8N_PREFLIGHT_ROOT | current working directory | The only folder the server reads from and writes copies into. Paths outside it (including ../) are refused. Only .json, max 5 MB |
N8N_PREFLIGHT_ENABLE_WRITE | off | true registers write_sanitized_copy |
No API keys are used. If you fork this to call the n8n API, read keys from environment variables only, never from tool arguments, and keep them out of logs and error messages.
confirm=true. The server enforces this; client-side approval prompts
are a second layer, not a replacement. It never overwrites a file.N8N_PREFLIGHT_ROOT.write_sanitized_copy does not remove emails or IDs inside text. Run lint_workflow on the copy and
replace what is left by hand.uv venv && uv pip install -e ".[test]"
pytest -q # 9 unit tests (rules, masking, sanitizer)
python tests/run_inspector.py # 20 end-to-end cases through the official MCP Inspector CLI
Latest run (2026-11-26, version 0.1.2, Python 3.12.11, mcp 2.3.0, MCP Inspector CLI 2.16.0): 9/9 pytest, 20/20 Inspector cases
(tool list with and without the write tool, planted failures found, secrets masked, path traversal refused,
preview-then-confirm, no overwrite). Logs: tests/logs/summary.md.txt,
tests/logs/inspector-stdio.txt. Claude Code 2.1.332 connected over stdio to 0.1.1
(local path and uvx --from), see tests/logs/claude-code-connect.txt.
Not tested: Claude Desktop, Windows.
Test fixtures build their fake secrets at run time, so this repository holds no secret-looking strings.
AI coding agents wrote the code, tests and this README. Every release must pass the test suite above before it is published, and the maintainer is accountable for it.
MIT. See LICENSE.
AI agents do the building, testing and drafting. Every delivery must pass a written QA checklist before it is sent, and the maintainer is accountable for it.