A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCPpedia last refreshed this data
N8n MCP is an MCP server that a MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. It exposes 10 tools over stdio, sse and http, requires no API key, and scores 90/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"n8n-mcp": {
"env": {
"MCP_MODE": "stdio",
"LOG_LEVEL": "error",
"DISABLE_CONSOLE_OUTPUT": "true"
},
"args": [
"n8n-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP_MODEMCP Mode (required)Must be set to "stdio" — without this, Claude Desktop will fail with JSON parsing errors.
N8N_API_KEYn8n API Key (optional)Go to your n8n instance → Settings → API → Create API Key
N8N_API_URLn8n Instance URL (optional)Your n8n instance URL, e.g. https://your-n8n.com. Only needed for workflow management features.
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to n8n node documentation, properties, and operations. Deploy in minutes to give Claude and other AI assistants deep knowledge about n8n's 1,396 workflow automation nodes (812 core + 584 community).
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
n8n-MCP: Incorrect authorization can expose default-scope workflow version backups in multi-tenant HTTP mode
## Summary In multi-tenant HTTP mode (`ENABLE_MULTI_TENANT=true`), an authenticated tenant could, under certain conditions, reach n8n-mcp's local default-scope `workflow_versions` backups instead of being confined to its own tenant scope. This affects n8n-mcp's own local workflow-version storage, not a normal n8n API capability. ## Impact An authenticated MCP HTTP tenant could read or delete workflow-version backups stored in the default (single-tenant) scope — for example backups left from a
n8n-MCP: Cross-tenant access to workflow version backups in multi-tenant HTTP deployments
## Impact In multi-tenant HTTP deployments — where a single n8n-mcp server serves several tenants — the locally stored workflow version history (the automatic backups taken before workflow updates) was not isolated per tenant. An authenticated tenant could read workflow version snapshots belonging to other tenants, and could delete or destroy other tenants' stored backups. A stored snapshot includes full node definitions, so the exposed data can contain credential references and authorization
n8n-MCP: Multi-tenant MCP requests fall back to process-level n8n credentials when tenant headers are absent or incomplete
## Summary When `ENABLE_MULTI_TENANT=true`, the HTTP transport documents that the target n8n instance is selected per-request from `x-n8n-url` / `x-n8n-key` headers. Requests that omitted those headers — or supplied only one of them — silently fell back to the process-level `N8N_API_URL` / `N8N_API_KEY` credentials configured for the operator's own n8n instance. As a result, an authenticated MCP tenant could cause n8n management calls to execute against the operator's instance instead of its ow
n8n-MCP: Workflow telemetry sanitizer could retain partial values from URL-shaped node parameters
## Summary In affected versions of n8n-mcp, the workflow telemetry sanitizer could retain partial fragments of URL-shaped node parameters before sending workflow data to the project's anonymous telemetry backend. Values placed in HTTP-Request-style node parameters — such as customer or tenant identifiers, short secrets embedded in query strings, and signed request parameters — could therefore appear in stored telemetry, contrary to the collection boundary documented in `PRIVACY.md`. ## Impact
n8n-mcp affected by path traversal, redirect-following SSRF, and telemetry payload exposure
## Impact `n8n-mcp` versions before 2.50.1 contained three independently-reported issues affecting deployments that run the n8n API integration: 1. **Caller-supplied identifiers were not validated before being used as URL path segments** by the n8n API client. An authenticated MCP caller passing a crafted workflow id could cause outbound requests carrying the configured n8n API key to land on other same-origin endpoints, bypassing handler-level access controls (including `DISABLED_TOOLS`). 2.
Click any tool to inspect its schema.
node_databasePre-built database with all 1,396 n8n nodes and their properties
n8n-mcp://nodes
template_library2,709 workflow templates with 100% metadata coverage
n8n-mcp://templates
documentation87% coverage of official n8n documentation including AI nodes
n8n-mcp://docs
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in productivity / developer-tools
MCP Security Weekly
Get CVE alerts and security updates for N8n Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
n8n-MCP is an open-source MCP server that lets Claude, ChatGPT, Cursor, and other AI assistants operate n8n: 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, and can use n8n's built-in MCP server as a second backend.
n8n_executions reads an execution and, with mode: "error", returns the error, the failing node, and sample items from the node before it.n8n_update_partial_workflow applies targeted operations to the nodes and connections named in the request, so the assistant does not resend the whole workflow. This includes find-and-replace inside one large field such as a Code node (patchNodeField). By default n8n-MCP saves a snapshot before it changes a workflow's nodes or connections, and n8n_workflow_versions can diff and roll back.validate_node, validate_workflow, and n8n_validate_workflow report unknown nodes, invalid node versions, missing required fields, and broken connections or expressions. n8n_autofix_workflow repairs the common ones.n8n_test_workflow runs a workflow through its webhook, form, or chat trigger, or, through n8n's built-in MCP server, with pinned data when it has no such trigger.n8n_audit_instance).n8n ships its own instance-level MCP server, and it covers a lot: building and editing workflows, executions, version history, data tables, and Agents. n8n-MCP does not replace it. The two differ in how they are built:
| n8n's built-in MCP server | n8n-MCP | |
|---|---|---|
| Runs | Inside one n8n instance | As a separate server that talks to n8n |
| Instances per connection | One | Several (hosted service, or multi-tenant HTTP mode) |
| Credentials | Lists credentials and edits their descriptions | Creates, updates, and deletes credentials |
| n8n versions | Present since late n8n 1.x; most tools need n8n 2.12 or later, and each tool has its own minimum version | Workflow and execution tools work through the Public API on older versions too, including the 1.x |