n8n-mcp-skills
Expert Claude Code skills for building flawless n8n workflows using the n8n-mcp MCP server.
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.
Claude Code
$ npx -y skills add czlonkowski/n8n-mcp --agent claude-code
Codex
$ npx skills add czlonkowski/n8n-mcp -a codex
Cursor
$ npx skills add czlonkowski/n8n-mcp -a cursor
Gemini CLI
$ npx skills add czlonkowski/n8n-mcp -a gemini-cli
GitHub Copilot
$ npx skills add czlonkowski/n8n-mcp -a github-copilot
OpenCode
$ npx skills add czlonkowski/n8n-mcp -a opencode
Windsurf
$ npx skills add czlonkowski/n8n-mcp -a windsurf
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 line. Credential actions depend on what that version's API exposes, and newer tools state the version they need |
| Workflow access | Most operations need the workflow's "Available in MCP" setting, which is off by default | Every workflow the API key can reach |
The built-in server is enough when you work with a single instance on a recent n8n 2.x, build and edit workflows on that instance, and set up credentials yourself in the n8n UI.
Add n8n-MCP when you run more than one instance, want the assistant to create and update credentials, are on an older n8n version that predates the built-in tools you need, or want autofix, execution error analysis, templates, and a security audit.
Or use both through one connection. Set N8N_MCP_ACCESS_TOKEN and n8n-MCP routes the operations the Public API cannot perform to n8n's own server: test runs with pinned data, n8n's native version history, live dropdown values, n8n Agents, and data-table column changes. The assistant still sees one MCP server. See Official MCP Setup.
Naming note: n8n's documentation uses
n8n-mcpas the example connection name for its built-in server in some client configurations (for exampleclaude mcp add --transport http n8n-mcp https://<your-n8n-domain>/mcp-server/http). That name points at n8n's own server. This project is a separate open-source server:github.com/czlonkowski/n8n-mcp, published on npm asn8n-mcp.
The documentation and validation tools work without an n8n connection, against a bundled database:
source filtern8n-mcp started as a personal tool but now helps tens of thousands of developers automate their workflows efficiently. Maintaining and developing this project competes with my paid work. Your sponsorship helps me dedicate focused time to new features, respond quickly to issues, keep documentation up-to-date, and ensure compatibility with latest n8n releases. Become a sponsor
💼 Need it built for you? Work with AiAdvisors — n8n automation audits, builds, and operations, run by the author of n8n-mcp and n8n-skills.
AI results can be unpredictable, and n8n-MCP can change real workflows. Try changes to important production workflows on a copy or a staging instance first.
n8n_workflow_versions lists, diffs, and rolls back those versions. A snapshot that fails to save does not stop the edit, so check that a version exists before relying on rollback for an important change.validate_workflow on the change, and n8n_validate_workflow once it is in n8n.The fastest way to try n8n-MCP - no installation, no configuration:
The hosted service is run by the author of this project. Just sign up, connect your n8n instance, and connect your MCP client.
Want to self-host? See the Self-Hosting Guide for npx, Docker, Railway, and local installation options.
Want to use n8n-MCP with your n8n instance? Check out our comprehensive n8n Deployment Guide for:
If your n8n instance sits behind Cloudflare Access (Zero Trust), provide your service token so n8n-MCP can authenticate:
N8N_CF_CLIENT_ID - Cloudflare Access Client IDN8N_CF_CLIENT_SECRET - Cloudflare Access Client SecretWhen set, these are sent as CF-Access-Client-Id / CF-Access-Client-Secret headers on n8n API requests, version/health probes, and webhook executions. The token is confined to the N8N_API_URL origin — webhook calls to a different host (e.g. a split WEBHOOK_URL origin) do not receive it, to avoid leaking the token.
To use n8n_manage_agents, n8n_explore_node_resources, and the project fallback in n8n_list_catalog, set:
N8N_MCP_ACCESS_TOKEN - MCP API key from n8n Settings → Instance-level MCP → set MCP status to Enabled. This is a separate secret from N8N_API_KEY and should be stored the same way. The MCP endpoint is derived from N8N_API_URL; instances that serve MCP from a split host (N8N_MCP_BASE_URL) are not supported.See Connecting n8n-mcp to n8n's instance-level MCP server for the full setup walkthrough, including how to get the token from the n8n UI, prerequisites, and troubleshooting.
n8n-MCP works with multiple AI-powered IDEs and tools:
Supercharge your n8n workflow building with specialized skills that teach AI how to build production-ready workflows!
Learn more: n8n-skills repository
For the best results when using n8n-MCP with Claude Projects, use these enhanced system instructions:
Expert Claude Code skills for building flawless n8n workflows using the n8n-mcp MCP server.
Indexes a codebase into a knowledge graph of symbols, calls and dependencies, so your coding agent can answer how code works, what a change will break and why a bug happens. Ask in plain language instead of grepping through files.
Teaches Claude Code to query MCP servers with the fastmcp CLI, listing the tools a server offers and calling them. Useful for wiring MCP servers into workflows.
An MCP server and skill that lets an AI assistant publish to Xiaohongshu (小红书), either as an image-and-text post or as a long-form article, using content you supply or extracted from a web page URL.
Skills and an MCP server toolkit for building TypeScript MCP servers and MCP Apps with mcp-use, covering tools, resources, Views, authentication, and scaffolding, plus turning OpenAPI specs into MCP servers.
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. Install it with the command on its page. It includes n8n-agents, n8n-binary-and-data, n8n-code-javascript. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it