# n8n-mcp

> A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you

- Type: agent or tool
- Field: Automation & Workflows
- Repository: https://github.com/czlonkowski/n8n-mcp
- GitHub stars: 23303
- Licence: MIT
- Language: TypeScript
- Last push: 2026-11-23
- Page: https://imutechz.in/agents/n8n-mcp

## What it is
n8n-MCP is an open-source MCP server that lets AI assistants such as Claude, ChatGPT, Cursor and Windsurf operate n8n. It reads failed executions, edits workflows in place, validates and tests them, manages credentials and builds new workflows. It works with any n8n instance that has the Public API enabled, and can also use n8n's built-in MCP server as a second backend.

## Features
- Reads failed executions and reports the error, failing node and sample items
- Applies targeted partial workflow updates with snapshots, diff and rollback
- Validates nodes and workflows and autofixes common problems
- Tests workflows through webhook, form or chat triggers
- Creates, updates and deletes credentials and runs a security audit
- Bundled knowledge of 3,815 nodes and 2,352 templates

## Best for
- Debugging failing n8n workflows
- Editing existing workflows without resending them
- Building new workflows with real node schemas
- Managing several n8n instances from one connection

## Pros
- Works with any n8n instance that has the Public API enabled
- Workflow and execution tools work on older n8n versions, including 1.x
- Documentation and validation tools work without an n8n connection
- Can route operations to n8n's built-in MCP server through one connection

## Cons
- Requires an n8n instance with the Public API enabled
- Credential actions depend on what the n8n version's API exposes
- Some tools state a minimum n8n version they need

Tags: n8n, mcp, workflow-automation, ai-assistant, claude, cursor, self-hosted
