NI

n8n instance-level MCP

Find, run and build workflows on your own n8n instance.

⚙️ Automation / agent buildersGitHub stars207,721Updated 2026-10-17By n8nLicense: Sustainable Use License (fair-code)Auth: n8n instance + MCP access token (self-hosted or Cloud)GitHub ↗

Test results

Last passed 2026-10-16
Claude CodePassed2026-10-16 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · server reported v1.2.0 · connect time not recorded
CursorPassed2026-10-16 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.14-941492e · server reported v1.2.0 · connect time not recorded
Claude DesktopNot tested yet—
ChatGPT (Codex)Not tested yet—

Server package and resolved dependency versions: not recorded for these runs (our harness records them from Oct 19, 2026 on).

Full result per app: Does it work with Claude Code? · Does it work with Cursor?

Protocol: 50 tools + tool call OK · 2026-10-16 · connected in 4.1s
🧪 Test-box note: Tested against a local self-hosted n8n 2.43.7 (npx n8n on Node 24, 127.0.0.1:5678, SQLite) with a sandbox owner account created on the box, Instance-level MCP enabled and an API-key access token from that local instance. Fixture workflow 'toolpassed fixture' (Webhook -> Set, replies 'echo: <text>') is published and enabled for MCP. Bridge snippet as in n8n's docs (supergateway --streamableHttp). No n8n Cloud account.

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.14-941492e
Date
Oct 16, 2026
The task we gave
Using only the n8n-instance-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-instance-mcp:search_nodes

Other calls recorded:

getMcpToolsToolCall

Tool result

{"success": {"content": [{"text": {"text": "## \"slack\"\nFound 5 nodes:\n\n- n8n-nodes-base.slack\n  Display Name: Slack\n  Version: 2.7\n  Description: Consume Slack API\n  Discriminators:\n    resource:\n      - channel:\n          operations:\n            - archive\n              Archives a conv

Agent reply

I’ll query the `n8n-instance-mcp` tools directly to search nodes for “slack,” then return the first node name from the results.`n8n-nodes-base.slack`
Verdict
Passed

Install

claude mcp add n8n-instance-mcp -- npx -y supergateway --streamableHttp http://localhost:5678/mcp-server/http --header Authorization: Bearer <YOUR_N8N_MCP_TOKEN>

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

{
  "mcpServers": {
    "n8n-instance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--streamableHttp",
        "http://localhost:5678/mcp-server/http",
        "--header",
        "Authorization: Bearer <YOUR_N8N_MCP_TOKEN>"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "n8n-instance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--streamableHttp",
        "http://localhost:5678/mcp-server/http",
        "--header",
        "Authorization: Bearer <YOUR_N8N_MCP_TOKEN>"
      ]
    }
  }
}

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

[mcp_servers.n8n-instance-mcp]
command = "npx"
args = ["-y", "supergateway", "--streamableHttp", "http://localhost:5678/mcp-server/http", "--header", "Authorization: Bearer <YOUR_N8N_MCP_TOKEN>"]

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-16Protocol (direct stdio)Protocol: 50 tools + tool call OKserver reported v1.2.0
2026-10-16Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · server reported v1.2.0
2026-10-16CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.14-941492e · server reported v1.2.0

Tools seen by our harness (50)

search_workflowsexecute_workflowget_workflow_executionsearch_workflow_executionsget_workflow_detailsget_workflow_historyget_workflow_versionget_workflow_versions_diffpublish_workflowunpublish_workflowprepare_workflow_pin_datatest_workflowlist_credentialslist_n8n_gateway_serviceslist_workflow_tagssearch_data_tablescreate_data_tablerename_data_tableadd_data_table_columndelete_data_table_columnrename_data_table_columnadd_data_table_rowsget_data_table_rowssearch_nodesget_node_typesget_workflow_best_practicesexplore_node_resourcesvalidate_workflowvalidate_node_configcreate_workflow_from_codesearch_projectsarchive_workflowupdate_workflowrestore_workflow_versionget_workflow_sdk_referencesearch_agentsget_agentcreate_agentmutate_agentvalidate_agentcall_agentpublish_agentunpublish_agentrevert_agentlist_agent_versionsdelete_agentdiscover_agent_assetsverify_agent_mcp_serverupdate_agent_integrationget_agent_builder_reference
Sponsors