N8n MCP

An MCP server for n8n that gives Claude, Cursor, and other AI agents tools for generating workflows, linting, diagnosing failed executions, and driving live n8n instances. Its 12 documented tools cover workflow, execution. It runs locally over stdio via the published package.

People connecting automation tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-06-08 · ★ 12 · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install N8n MCP

before you install - you'll need

Set N8N_API_URL, N8N_API_KEY before connecting.

Claude Code

claude mcp add ratamaha-git-n8n-mcp -- npx -y @automatelab/n8n-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "ratamaha-git-n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/n8n-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @automatelab/n8n-mcp - the @automatelab scope differs from the repo owner (ratamaha-git); confirm it's the project's official package

registry namespace io.github.ratamaha-git is GitHub-verified and matches the repo owner

03 · What N8n MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can fetch a workflow by id, post a workflow. Strips read-only fields, and browse executions.

Capability map

Tools grouped from the project's README - what N8n MCP lets an agent do.

Workflow

7 tools - e.g. Plain-English description → workflow JSON. Detects AI-agent intent.; Workflow JSON → list of errors and warnings (20+ rules).; Two workflows → semantic diff (nodes added/removed/modified, connections…

workflow_generate · workflow_lint · workflow_diff · workflow_list · workflow_get · workflow_create…

Execution

4 tools - e.g. Failed execution JSON → per-node diagnosis with hints.; Workflow + node → self-contained replay workflow that exercises just that node.; Execution JSON → per-node timeline table (start, duration, items…

execution_explain · execution_replay · execution_timeline · execution_list

Node

1 tool - e.g. Description → single INodeType TypeScript file for a custom n8n package.

node_scaffold

Latest releases

v0.5.0 · 2026-05-21

What's new · 3 new tools · workflow.diff - Semantic diff between two workflows. Reports nodes added/removed/modified (with field-level deltas: type, typeVersion, parameters, credentials, disabled, position), connection…

v1.0.0 · 2026-05-11

n8n MCP GitHub Action · Run n8n MCP tools directly in your CI/CD pipelines. · What it does · Lint - detect errors and anti-patterns in workflow JSON on every PR · Explain - post human-readable diagnoses of failed…

v0.3.0 · 2026-05-11

What's new in v0.3.0 · New tools · n8n_explain_execution - paste execution JSON, get per-node findings: zero-item nodes, unresolved expressions, error messages with hints. The core debugging tool. · n8n_list_workflows…

04 · Who maintains N8n MCP

n8n-mcp is maintained by ratamaha-git. It's the only MCP server we track from this author; the repo dates to May 2026.

05 · Facts

category
automation - actively maintained as of 2026-08-25.
registry
io.github.ratamaha-git/n8n-mcp (active, first published 2026-05-10 · 2 versions)
packages
npm:@automatelab/n8n-mcp

06 · N8n MCP FAQ

Is N8n MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-06-08. We re-verify nightly.

What can N8n MCP do?

With this server connected, an agent can fetch a workflow by id, post a workflow. Strips read-only fields, and browse executions.

How do I install N8n MCP?

Run `npx -y @automatelab/n8n-mcp`. The README documents 2 environment variables (N8N_API_URL, N8N_API_KEY) to set first. Set N8N_API_URL, N8N_API_KEY before connecting. You can also paste the ready-made client config above.

Does N8n MCP run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to N8n MCP