What it is
n8n-mcp helps an agent build n8n workflows. It ships a database of node docs and templates, plus management tools that call the n8n API when you provide credentials.
- Maintainer
- Communityczlonkowski on GitHub (individual account, community project)
- Source
- czlonkowski/n8n-mcp23,352 GitHub stars · MIT licence
- Transport
- stdio, HTTP (self-hosted)
- Packages
- n8n-mcp npm · latest 2.106.0 · 220,851 downloads last month
- Latest release
- Release v2.106.0 2026-12-03
- Public advisories
- 24GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: yes
- Network: no
- Sends: no
With credentials, the agent can change what your automations do, including ones that send emails or call APIs.
| Tool | What it can do | Notes |
|---|---|---|
n8n_delete_workflow | Deletes | Deletes a workflow permanently. |
n8n_create_workflow | Writes | |
n8n_update_full_workflow | Writes | |
n8n_update_partial_workflow | Writes | |
n8n_deploy_template | Writes | |
n8n_test_workflow | Runs code | Triggers a workflow run. |
n8n_manage_credentials | Writes, Deletes | Manages credentials in n8n. |
n8n_manage_variables | Writes, Deletes | |
n8n_manage_datatable | Writes, Deletes | |
n8n_executions | Reads | |
search_nodes | Reads | |
get_node | Reads | |
validate_workflow | Reads |
Names from the README's tool lists. The README documents `DISABLED_TOOLS` for turning off individual tools.
Credentials and least privilege
Optional for docs tools, required for anything that acts on n8n.
| Credential | What it is for | Least privilege |
|---|---|---|
N8N_API_URL and N8N_API_KEY | Needed for the management tools that act on your n8n instance. | Point them at a staging instance, with a key created just for this, and do not use a production owner key. |
AUTH_TOKEN / N8N_MCP_ACCESS_TOKEN | Protects the server's HTTP mode, or authenticates to n8n's instance-level MCP. | Use long random values, and keep them out of shared configs. |
Public security advisories
Advisories published on GitHub or OSV for this project, as of December 5, 2026. Fixed issues are a normal part of a maintained project. What matters is that the version you run is not in an affected range. Showing the 12 highest severity of 24, newest first within a level. See the full list on GitHub.
| Advisory | Severity | Summary | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-j6r7-6fhx-77wx · CVE-2026-54052 | Critical | Cross-tenant access to workflow version backups in multi-tenant HTTP deployments | <= 2.56.0 | 2.56.1 |
| GHSA-jxx9-px88-pj69 · CVE-2026-45707 | High | Multi-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or incomplete | <= 2.51.1 | 2.51.2 |
| GHSA-cmrh-wvq6-wm9r · CVE-2026-44694 | High | Authenticated SSRF in n8n-mcp webhook and API client paths | >= 2.18.7, < 2.50.2 | 2.50.2 |
| GHSA-8g7g-hmwm-6rv2 | High | Path traversal, redirect-following SSRF, and telemetry payload exposure in n8n-mcp | < 2.50.1 | 2.50.1 |
| GHSA-56c3-vfp2-5qqj · CVE-2026-42449 | High | IPv4-mapped IPv6 addresses bypass SSRF protection in validateUrlSync(), enabling full SSRF for SDK embedders | >= 2.47.4, < 2.47.14 | 2.47.14 |
| GHSA-75hx-xj24-mqrw | High | Unauthenticated session termination and information disclosure in HTTP transport | <= 2.47.5 | 2.47.6 |
| GHSA-4ggg-h7ph-26qr · CVE-2026-39974 | High | Authenticated SSRF via instance-URL header in multi-tenant HTTP mode | <=2.47.3 | >=2.47.4 |
| GHSA-q7jr-6fm4-vvhg | Moderate | Session isolation and trigger path issues in HTTP mode | <= 2.99.1 | 2.99.2 |
| GHSA-rqgx-cvr7-hc6x | Moderate | Credentials and personal data could reach telemetry and server logs | <= 2.98.1 | 2.99.0 |
| GHSA-xvxq-x6hr-xc2c | Moderate | Denial of service in shared HTTP deployments through crafted tool input or n8n responses | <= 2.99.0 | 2.99.1 |
| GHSA-ppgm-m8rg-4wqv | Moderate | Prototype pollution in the workflow auto-fixer and partial workflow updates | <= 2.98.0 | 2.98.1 |
| GHSA-xf82-4743-c4gm | Moderate | Cloud metadata endpoints reachable over IPv6 in permissive mode | < 2.94.1 | 2.94.1 |
What stands out
- The README warns that AI results can be unpredictable and that n8n-mcp can change real workflows, and recommends trying changes on a copy or staging instance.
DISABLED_TOOLSlets you remove create, update, delete, test and credential tools by name.- GitHub lists 24 advisories, one critical, 11 high, fixed over many releases, the latest in 2.57.4.
Safe-install checklist
Install command from the project's docs: npx n8n-mcp.
- Pin the version. Use an exact version, not
latest:npx n8n-mcp@2.106.0. Documentation tools work without credentials. - Scope the credential. Point them at a staging instance, with a key created just for this, and do not use a production owner key.
- Start with no n8n key, use documentation tools only, and move to a staging key later.
- Set
DISABLED_TOOLSto includen8n_delete_workflow,n8n_manage_credentials,n8n_test_workflowand the update tools until you need them. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itn8n-mcp:{ "permissions": { "deny": [ "mcp__n8n-mcp__n8n_delete_workflow", "mcp__n8n-mcp__n8n_create_workflow", "mcp__n8n-mcp__n8n_update_full_workflow", "mcp__n8n-mcp__n8n_update_partial_workflow", "mcp__n8n-mcp__n8n_deploy_template", "mcp__n8n-mcp__n8n_test_workflow", "mcp__n8n-mcp__n8n_manage_credentials", "mcp__n8n-mcp__n8n_manage_variables" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can n8n-mcp do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data; runs commands, scripts or code. With credentials, the agent can change what your automations do, including ones that send emails or call APIs.
Does n8n-mcp need a token or API key?
Yes, depending on setup: N8N_API_URL and N8N_API_KEY, AUTH_TOKEN / N8N_MCP_ACCESS_TOKEN. Optional for docs tools, required for anything that acts on n8n.
Has n8n-mcp had public security advisories?
Yes. 24 public advisories (GitHub or OSV) listed for it as of December 5, 2026. Each one is linked on this page with its affected and fixed versions, so you can check the version you run. Fixed issues are normal for active projects. Running a current, pinned version is what matters.
How do I keep n8n-mcp from changing under me?
Pin the version, for example npx n8n-mcp@2.106.0. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
