PTS security notes / MCP servers / n8n-mcp

Is n8n-mcp safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

Without an n8n API key it is mostly documentation lookup. With N8N_API_URL and N8N_API_KEY it can create, change, delete and run workflows and manage credentials on your real n8n. GitHub lists 24 advisories, including one critical, all fixed by 2.56.1 or earlier. Start without the key, then add it for a staging instance and use DISABLED_TOOLS.

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.

With credentials, the agent can change what your automations do, including ones that send emails or call APIs.

ToolWhat it can doNotes
n8n_delete_workflowDeletesDeletes a workflow permanently.
n8n_create_workflowWrites
n8n_update_full_workflowWrites
n8n_update_partial_workflowWrites
n8n_deploy_templateWrites
n8n_test_workflowRuns codeTriggers a workflow run.
n8n_manage_credentialsWrites, DeletesManages credentials in n8n.
n8n_manage_variablesWrites, Deletes
n8n_manage_datatableWrites, Deletes
n8n_executionsReads
search_nodesReads
get_nodeReads
validate_workflowReads

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.

CredentialWhat it is forLeast privilege
N8N_API_URL and N8N_API_KEYNeeded 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_TOKENProtects 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.

AdvisorySeveritySummaryAffectedFixed in
GHSA-j6r7-6fhx-77wx · CVE-2026-54052CriticalCross-tenant access to workflow version backups in multi-tenant HTTP deployments<= 2.56.02.56.1
GHSA-jxx9-px88-pj69 · CVE-2026-45707HighMulti-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or incomplete<= 2.51.12.51.2
GHSA-cmrh-wvq6-wm9r · CVE-2026-44694HighAuthenticated SSRF in n8n-mcp webhook and API client paths>= 2.18.7, < 2.50.22.50.2
GHSA-8g7g-hmwm-6rv2HighPath traversal, redirect-following SSRF, and telemetry payload exposure in n8n-mcp< 2.50.12.50.1
GHSA-56c3-vfp2-5qqj · CVE-2026-42449HighIPv4-mapped IPv6 addresses bypass SSRF protection in validateUrlSync(), enabling full SSRF for SDK embedders>= 2.47.4, < 2.47.142.47.14
GHSA-75hx-xj24-mqrwHighUnauthenticated session termination and information disclosure in HTTP transport<= 2.47.52.47.6
GHSA-4ggg-h7ph-26qr · CVE-2026-39974HighAuthenticated SSRF via instance-URL header in multi-tenant HTTP mode<=2.47.3>=2.47.4
GHSA-q7jr-6fm4-vvhgModerateSession isolation and trigger path issues in HTTP mode<= 2.99.12.99.2
GHSA-rqgx-cvr7-hc6xModerateCredentials and personal data could reach telemetry and server logs<= 2.98.12.99.0
GHSA-xvxq-x6hr-xc2cModerateDenial of service in shared HTTP deployments through crafted tool input or n8n responses<= 2.99.02.99.1
GHSA-ppgm-m8rg-4wqvModeratePrototype pollution in the workflow auto-fixer and partial workflow updates<= 2.98.02.98.1
GHSA-xf82-4743-c4gmModerateCloud metadata endpoints reachable over IPv6 in permissive mode< 2.94.12.94.1

What stands out

Safe-install checklist

Install command from the project's docs: npx n8n-mcp.

  1. Pin the version. Use an exact version, not latest: npx n8n-mcp@2.106.0. Documentation tools work without credentials.
  2. Scope the credential. Point them at a staging instance, with a key created just for this, and do not use a production owner key.
  3. Start with no n8n key, use documentation tools only, and move to a staging key later.
  4. Set DISABLED_TOOLS to include n8n_delete_workflow, n8n_manage_credentials, n8n_test_workflow and the update tools until you need them.
  5. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it n8n-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"
        ]
      }
    }
  6. Snapshot the tool list. Save the tools/list output 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.
  7. 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.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages