MCP serverPartly tested (needs an account)

Design n8n automations

n8n-MCP

An MCP server by Romuald Czlonkowski that gives your agent the n8n node docs and templates, so it can design workflows. Docs mode needs no n8n account.

Works with
Claude Code, Codex CLI, Gemini CLI
Good for
Build an app, Daily work and research

What it does

n8n is a tool that connects apps into automations, called workflows. For example: when a form is sent, add a row to a sheet and send a message. n8n-MCP is an MCP server, a small program that gives your assistant extra tools. It gives the assistant detailed knowledge about n8n.

Without it, assistants often guess node settings, and the workflow fails when it runs. With it, the assistant can look up the real settings of each node, find example templates and check (validate) a workflow before you import it.

There are two levels:

  • Documentation mode gives documentation and validation tools only. It needs no n8n account.
  • Full mode adds your n8n address (N8N_API_URL) and an API key (N8N_API_KEY). The assistant can then create, change, test and delete workflows in your own n8n. It also gets a tool that can list, read, create and delete your saved n8n credentials. A test run can do real work, such as send real emails.

The README gives one clear warning: never let an AI edit your production workflows directly. Make a copy, test on a separate development instance with its own API key, and export backups. The README documents a DISABLED_TOOLS setting. Use it to switch off risky tools, for example n8n_manage_credentials and n8n_delete_workflow.

Telemetry is on by default. The privacy policy says it collects an installation ID, tool use, workflow structure with secrets replaced, and a free-text "intent" field, and uses them to build datasets and machine learning models. A security advisory from 18 October 2026 says versions 2.51.3 to 2.94.1 also sent free text from workflows, such as node notes, without cleaning it. Version 2.94.2 removed node notes and workflow descriptions, and 2.94.3 removes more free-text fields. The changelog says 2.99.0 fixes credentials and personal data reaching telemetry and server logs, and redacts more values. Version 2.99.2 (27 October 2026) fixes how the server checks web addresses before it calls them, keeps sessions apart in the multi-tenant HTTP mode, and stops the n8n_test_workflow tool from calling paths outside /webhook/ or /form/. The changelog names two GitHub advisories for these fixes. They were not public on 28 October 2026. Versions 2.101.1 to 2.101.4 (6 to 7 November 2026) harden URL checks and hide more values in telemetry, and treat the old Cron and Interval nodes as triggers. The current release is 2.101.4 (7 November 2026), which bundles n8n 2.46.x. Run npx n8n-mcp telemetry disable, or set N8N_MCP_TELEMETRY_DISABLED=true, to opt out.

To run it on your computer, you need Node.js ^22.23.4, ^24.22.1 or >=26.12.1 (since version 2.96.2). Node.js 20 is no longer supported. Check your version with node --version.

If you do not want to install anything, the author runs a hosted dashboard. The README lists a free tier of 100 tool calls per day. You sign up, and your questions and workflows go to the author's service. The README also links the author's paid consultancy. You do not need it.

Who it is for

People who automate work with n8n and want their assistant to design, check and fix workflows from accurate node documentation.

Example prompts

  • "Find the right n8n node to add a row to Google Sheets and show its required fields."
  • "Build an n8n workflow that emails me when a new form response arrives, then validate it."
  • "Validate this workflow JSON and explain any errors."
  • "Search n8n templates for a Slack daily summary."

How to install

claude mcp add n8n-mcp -e MCP_MODE=stdio -e LOG_LEVEL=error -e DISABLE_CONSOLE_OUTPUT=true -- npx n8n-mcp

How to use it

Register the server with your agent, with the setting MCP_MODE=stdio. Then ask for an automation, for example "design an n8n workflow that saves new form entries to a sheet". Review the workflow before you import it.

Other assistants

Codex CLI: the author documents a block for the Codex config file, with the server name n8n. This one-line command follows the Codex MCP docs and uses the same settings. The different name does no harm.

  1. Add the server:
codex mcp add n8n-mcp --env MCP_MODE=stdio --env LOG_LEVEL=error --env DISABLE_CONSOLE_OUTPUT=true -- npx n8n-mcp
  1. Start Codex and type /mcp to see the server and its tools.

Gemini CLI: the author documents no Gemini setup. This command follows the Gemini CLI MCP docs.

  1. Add the server:
gemini mcp add --scope user -e MCP_MODE=stdio -e LOG_LEVEL=error -e DISABLE_CONSOLE_OUTPUT=true n8n-mcp npx n8n-mcp
  1. --scope user saves the server for all your projects. Without it, Gemini CLI saves it for the current project, and since version 0.65.0 that fails in a folder Gemini CLI does not trust.

Check it works

Register the server in Claude Code with the author's command, then check it:

claude mcp add n8n-mcp -e MCP_MODE=stdio -e LOG_LEVEL=error -e DISABLE_CONSOLE_OUTPUT=true -- npx n8n-mcp
claude mcp get n8n-mcp

n8n-mcp must show as connected. Then ask for the required fields of one node.

Common problems

  • Workflow tools are missing — you see only documentation tools — Full mode needs N8N_API_URL and N8N_API_KEY. Add both as extra -e (Claude Code, Gemini) or --env (Codex) settings. A key typed on the command line stays in your shell history, so use a key for a test instance.
  • The server is missing in another folder — it works in one project only — Claude Code saves it for the current project by default. To change this, remove it with claude mcp remove n8n-mcp, then add it again with --scope user for every project, or --scope project to share it in a .mcp.json file.
  • The command fails in Windows PowerShell — the line breaks are not accepted — PowerShell needs a backtick at each line break and quotes around each -e option. Copy the PowerShell version from the setup guide, or type the command on one line.
  • npm shows an EBADENGINE warning — Unsupported engine when you run npx n8n-mcp in a terminal — Since 2.96.2, n8n-mcp needs Node.js ^22.23.4, ^24.22.1 or >=26.12.1. npm only warns, but an older Node.js lacks the October 2026 Node.js security fixes. Update Node.js, then start the server again.
  • A generated workflow fails when it runs — it imports, but a node errors — The README tells assistants to set every parameter explicitly and not to trust default values. Ask for this, and validate before you import.

What to watch out for

  • If you add an n8n API key, the agent can create and change workflows in your n8n. The author warns: never let the agent edit production workflows directly. Work on a copy.
  • Automations can send emails and call other services. Test them with dummy data.
  • A hosted option exists that sends your questions to the author's service.
  • Telemetry is on by default. It sends tool use and workflow structure to build datasets. Versions 2.51.3 to 2.94.1 also sent free text such as node notes unchanged (GitHub advisory GHSA-gg57-wj7g-vfrv). Before 2.99.0, credentials and personal data could also reach telemetry and server logs (GitHub advisory GHSA-rqgx-cvr7-hc6x), so update to 2.99.2 or later. Opt out: npx n8n-mcp telemetry disable, or set N8N_MCP_TELEMETRY_DISABLED=true.
  • Version 2.99.2 fixes a gap in the check that stops the server from calling private network addresses, and mixed-up sessions in the multi-tenant HTTP mode. Update to 2.99.2 or later (changelog).
  • With an API key the agent also gets tools to read, create and delete your n8n credentials. Switch them off with DISABLED_TOOLS.
  • npx can run a copy it saved earlier, so you may not get the newest version. Name a version, for example npx [email protected], to know which one runs.

Licence and author

Licence
MIT
Author
Romuald Czlonkowski
Source code
github.com/czlonkowski/n8n-mcp

How we tested it

We installed it on an empty test computer on 12 Oct 2026. Partly tested: installed in a clean test system, but its main features need an account or key we did not use.

Test level

This tested documentation mode only. The tools that create or run workflows need an n8n API key and were not tested. The README points to a separate guide for the self-host steps; the install line comes from that guide.

Technical details of the test
Date
12 Oct 2026
Method
In a clean container with no account we started npx -y n8n-mcp, sent the MCP initialize and tools/list requests, and it answered with 7 tools (documentation, node search, node details, validation and templates). We also registered it with claude mcp add -e MCP_MODE=stdio, and claude mcp list reported it as connected.

Checked again on 8 Nov 2026

Alternatives

  • Zapier MCP: A hosted connector to many apps. It does not design n8n workflows.
  • n8n's built-in instance-level MCP: Shows your own n8n workflows to the assistant as tools. The README shows how n8n-MCP can use its access token too.

FAQ

Is it free? The software is open source under the MIT licence and runs on your computer. The hosted dashboard has a free tier of 100 tool calls per day, according to the README.

Do I need an n8n account? Not for documentation mode. Full mode needs your n8n address and an API key.

Is it safe to use on live workflows? Only with great care. Work on copies, switch off the credential and delete tools, and test before you deploy.

Sources