N

n8n-mcp

Docs and node reference for building n8n workflows; can manage workflows if given an n8n API key.

⚙️ Automation / agent buildersGitHub stars23,258Updated 2026-11-11License: MITAuth: none for docs mode (to verify)GitHub ↗
Best for automation / agent builders · tested 2026-10-21

Searched n8n's node library for 'slack' and returned the Slack node in both Claude Code and Cursor (2 calls in total), with nothing but the published snippet: no n8n instance, account or key. It also passed in ChatGPT (Codex) on Oct 15. Runner-up Langflow ran our fixture flow and returned the fresh code in both clients in 2 calls in total, but it needs a running Langflow server and an API key. n8n's own instance-level MCP passed both tasks (node search and running a fixture workflow) in both clients too, but needs a running n8n instance with an access token and took 8 calls on the workflow task (4 per client) against Langflow's 2. Confirmed Oct 21, 2026: a second run in Claude Code and Cursor passed again (n8n-mcp 2.94.3).

Test results

Last passed 2026-10-21
Claude CodePassed2026-10-21 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · n8n-mcp 2.94.3 · connected in 6.2s
CursorPassed2026-10-21 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.19-6bbf2c4 · n8n-mcp 2.94.3 · connected in 2.2s
Claude DesktopPassed2026-10-19 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta) · package version not recorded · connected in 1.6s
ChatGPT (Codex)Passed2026-10-15 · install, connect, tools, agent taskTested with Codex CLI 0.162.0-alpha.17.2 · package version not recorded · connect time not recorded

Server package tested: n8n-mcp 2.94.3 (npm, Node v20.19.2; resolved 2026-10-21)

Direct and key dependencies as resolved: @modelcontextprotocol/sdk 1.30.0 · axios 1.20.0 · dotenv 16.6.1 · express 5.3.0 · express-rate-limit 7.5.1 · form-data 4.0.6 · ipaddr.js 1.9.1 · lru-cache 11.5.3 · sql.js 1.15.1 · tslib 2.8.1 · undici 6.29.1 · uuid 11.1.1 · zod 4.6.7 · zod-to-json-schema 3.25.2

All 143 resolved dependencies
@hono/node-server==2.1.5
@modelcontextprotocol/sdk==1.30.0
accepts==2.0.0
agent-base==6.0.2
ajv==8.20.0
ajv-formats==3.0.1
asynckit==0.4.0
axios==1.20.0
base64-js==1.5.1
better-sqlite3==11.10.0
bindings==1.5.0
bl==4.1.0
body-parser==2.3.0
buffer==5.7.1
bytes==3.1.2
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
chownr==1.1.4
combined-stream==1.0.8
content-disposition==2.0.1
content-type==1.0.5, 2.1.0
cookie==0.7.2
cookie-signature==1.2.2
cors==2.8.6
cross-spawn==7.0.6
debug==4.4.3
decompress-response==6.0.0
deep-extend==0.6.0
delayed-stream==1.0.0
depd==2.0.0
detect-libc==2.1.2
dotenv==16.6.1
dunder-proto==1.0.1
ee-first==1.1.1
encodeurl==2.0.0
end-of-stream==1.4.5
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
es-set-tostringtag==2.1.0
escape-html==1.0.3
etag==1.8.1
eventsource==3.0.7
eventsource-parser==3.1.1
expand-template==2.0.3
express==5.3.0
express-rate-limit==7.5.1, 8.7.1
fast-deep-equal==3.1.3
fast-uri==3.1.9
file-uri-to-path==1.0.0
finalhandler==2.1.1
follow-redirects==1.16.1
form-data==4.0.6
forwarded==0.2.0
fresh==2.0.0
fs-constants==1.0.0
function-bind==1.1.2
get-intrinsic==1.3.0
get-proto==1.0.1
github-from-package==0.0.0
gopd==1.2.0
has-symbols==1.1.0
has-tostringtag==1.0.2
hasown==2.0.4
hono==4.13.13
http-errors==2.0.1
https-proxy-agent==5.0.1
iconv-lite==0.7.3
ieee754==1.2.1
inherits==2.0.4
ini==1.3.8
ip-address==10.7.4
ipaddr.js==1.9.1
is-promise==4.0.0
isexe==2.0.0
jose==6.2.13
json-schema-traverse==1.0.0
json-schema-typed==8.0.2
lru-cache==11.5.3
math-intrinsics==1.1.0
media-typer==1.1.1
merge-descriptors==2.0.0
mime-db==1.52.0, 1.54.0
mime-types==2.1.35, 3.0.2
mimic-response==3.1.0
minimist==1.2.8
mkdirp-classic==0.5.3
ms==2.1.3
napi-build-utils==2.0.0
negotiator==1.1.0
node-abi==3.99.0
object-assign==4.1.1
object-inspect==1.13.4
on-finished==2.4.1
once==1.4.0
parseurl==1.3.3
path-key==3.1.1
path-to-regexp==8.4.2
pkce-challenge==5.0.1
prebuild-install==7.1.3
proxy-addr==2.0.8
proxy-from-env==2.1.0
pump==3.0.4
qs==6.16.1
range-parser==1.3.0
raw-body==3.0.2
rc==1.2.8
readable-stream==3.6.2
require-from-string==2.0.2
router==2.2.0
safe-buffer==5.2.1
safer-buffer==2.1.2
semver==7.8.5
send==1.2.1
serve-static==2.2.1
setprototypeof==1.2.0
shebang-command==2.0.0
shebang-regex==3.0.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
simple-concat==1.0.1
simple-get==4.0.1
sql.js==1.15.1
statuses==2.0.2
string_decoder==1.3.0
strip-json-comments==2.0.1
tar-fs==2.1.5
tar-stream==2.2.0
toidentifier==1.0.1
tslib==2.8.1
tunnel-agent==0.6.0
type-is==2.1.0
undici==6.29.1
unpipe==1.0.0
util-deprecate==1.0.2
uuid==11.1.1
vary==1.1.2
which==2.0.2
wrappy==1.0.2
zod==4.6.7
zod-to-json-schema==3.25.2

Captured with: npm ls --all --json in the npx env.

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: starts, 7 tools listed · 2026-10-16 · connected in 4.6s

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Cursor · Cursor CLI 2026.10.19-6bbf2c4
Date
Oct 21, 2026
The task we gave
Using only the n8n-mcp MCP tools, search the available nodes for 'slack' and reply with the name of the first node found.
What it promised
details not recorded for this run
What happened

Tool calls:

n8n-mcp:search_nodes

Other calls recorded:

getMcpToolsToolCall

Tool result

{"success": {"content": [{"text": {"text": "{\n  \"query\": \"slack\",\n  \"results\": [\n    {\n      \"nodeType\": \"nodes-base.slack\",\n      \"workflowNodeType\": \"n8n-nodes-base.slack\",\n      \"displayName\": \"Slack\",\n      \"description\": \"Consume Slack API\",\n      \"category\": \"output\",\n      \"package\": \"n8n-nodes-base\",\n      \"relevance\": \"high\"\n    },\n    {\n      \"nodeType\": \"nodes-base.slackTrigger\",\n      \"workflowNodeType\": \"n8n-nodes-base.slackTrigger\",\n      \"displayName\": \"Slack Trigger\",\n      \"description\": \"Handle Slack events via webhooks\",\n      \"category\": \"trigger\",\n      \"package\": \"n8n-nodes-base\",\n      \"relevance\": \"high\"\n    },\n    {\n      \"nodeType\": \"nodes-base.slackTool\",\n      \"workflowNodeType\": \"n8n-nodes-base.slackTool\",\n      \"displayName\": \"Slack Tool\",\n      \"description\": \"Consume Slack API (AI Tool variant for use with AI Agents)\",\n      \"category\": \"output\",\n      \"package\": \"n8n-nodes-base\",\n      \"relevance\": \"high\"\n    },\n    {\n      \"nodeType\": \"@mbakgun/n8n-nodes-slack-socket-mode.slackSocketTrigger\",\n      \"workflowNodeType\": \"@mbakgun/n8n-nodes-slack-socket-mode.slackSocketTrigger\",\n      \"displayName\": \"slackSocketTrigger\",\n      \"description\": \"Slack Socket Mode Node for n8n that allows you to use +100 Slack events in your n8n instance with proxy mode\",\n      \"category\": \"Community\",\n      \"package\": \

Agent reply

I’ll use the `n8n-mcp` tools directly to search for `slack`, then return the first node name exactly as found.Slack
Verdict
Passed

Install

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

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "n8n-mcp"
      ],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "DISABLE_CONSOLE_OUTPUT": "true"
      }
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "n8n-mcp"
      ],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "DISABLE_CONSOLE_OUTPUT": "true"
      }
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.n8n-mcp]
command = "npx"
args = ["-y", "n8n-mcp"]
env = { MCP_MODE = "stdio", LOG_LEVEL = "error", DISABLE_CONSOLE_OUTPUT = "true" }

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-21Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · n8n-mcp 2.94.3
2026-10-21CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.19-6bbf2c4 · n8n-mcp 2.94.3
2026-10-19Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-19Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-16Protocol (direct stdio)Protocol: starts, 7 tools listedserver reported v2.94.0
2026-10-16Protocol (direct stdio)Protocol: starts, 7 tools listed2.94.0
2026-10-16CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.14-941492e · package version not recorded
2026-10-16Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · package version not recorded
2026-10-15ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · package version not recorded
2026-10-15ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · package version not recorded

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop, ChatGPT (Codex)

Maker of n8n-mcp? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-21. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/n8n-mcp.svg)](https://toolpassed.com/mcp/n8n-mcp/)

Tools seen by our harness (7)

tools_documentationsearch_nodesget_nodevalidate_nodeget_templatesearch_templatesvalidate_workflow
Featured