Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

N8n MCP

MCP server by czlonkowski Verified · npm:n8n-mcp

N8n MCP is an open-source MCP server that lets AI assistants operate n8n. It can debug failed executions, edit, validate, test and build workflows on any n8n instance with the Public API enabled.

  • Score 94
  • 23k stars
  • 58k a week
  • MIT
  • Updated

Install N8n MCP

Built from the published package, never by AI.

claude mcp add n8n-mcp -- npx -y n8n-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install N8n MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the n8n-mcp block.

About

n8n-MCP is an open-source MCP server that lets Claude, ChatGPT, Cursor, and other AI assistants operate n8n. It can read failed executions, edit workflows in place, validate and test them, manage credentials, and build new workflows. It works with any n8n instance that has the Public API enabled.

The documentation and validation tools run against a bundled database of 3,870 nodes and 2,352 workflow templates, so they work without an n8n connection. By default it saves a snapshot before changing a workflow's nodes or connections, and those versions can be rolled back. It suits people who run several n8n instances, need credential management, or use older n8n versions.

Written from the project's README and checked against it.

Tools it gives your assistant

  • n8n_executionsReads an execution and, with mode error, returns the error and the failing node.
  • n8n_update_partial_workflowApplies targeted operations to named nodes and connections instead of resending the whole workflow.
  • n8n_workflow_versionsLists, diffs and rolls back saved workflow snapshots.
  • validate_nodeChecks a node configuration for unknown nodes, invalid versions and missing required fields.
  • validate_workflowChecks a workflow for broken connections or expressions before it goes live.
  • n8n_validate_workflowValidates a workflow once it is saved in n8n.
  • n8n_autofix_workflowRepairs common workflow problems.
  • n8n_test_workflowRuns a workflow through its webhook, form or chat trigger, or with pinned data.
  • n8n_audit_instanceRuns a security audit on the n8n instance.
  • n8n_manage_agentsWorks with n8n Agents through the instance-level MCP server when configured.

What you need

  • An n8n instance with the Public API enabled
  • An n8n API key
  • Node.js, Docker or Railway for self-hosting
  • An MCP client such as Claude, Cursor or VS Code
  • Optional N8N_MCP_ACCESS_TOKEN for instance-level MCP features

Try asking

  • Why did my last execution of the invoice workflow fail?
  • Validate my workflow and fix the common problems automatically.
  • Test the webhook workflow with sample data and report the result.

Good to know

  • Edits overwrite changes made in the n8n UI while the assistant is working on the same workflow.
  • Snapshots are kept up to 10 per workflow, and a failed snapshot does not stop the edit.
  • Workflows without a webhook, form or chat trigger need pinned data or the built-in MCP server to test.
  • The hosted free tier allows 100 tool calls per day.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to N8n MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

N8n MCP: common questions

Does n8n-MCP work with n8n's built-in MCP server?

Yes. With N8N_MCP_ACCESS_TOKEN set, n8n-MCP routes operations the Public API cannot perform to n8n's own server, so the assistant sees one MCP server.

Can I use it with more than one n8n instance?

Yes. The hosted service lets you register several instances, and self-hosted HTTP mode can serve several instances with per-request instance headers.

Can it stop the assistant from changing workflows?

Yes. The source describes a Read-Only Deployment option that disables write operations.

How do I install N8n MCP?

In Claude Code run claude mcp add n8n-mcp -- npx -y n8n-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is N8n MCP the official server?

N8n MCP is published by npm:n8n-mcp from its verified domain in the official MCP Registry.

Is N8n MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is N8n MCP safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to N8n MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does N8n MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

N8n MCP Install

Add to stack

Loading.