n8n-MCP exposes n8n to Claude, ChatGPT, Cursor, and other MCP clients for debugging, editing, validating, testing, and building workflows. It connects to any n8n instance with the Public API enabled.
Overview
n8n-MCP is an MCP server that lets AI assistants work directly against n8n. Tools read failed executions with error context, apply partial workflow updates without resending entire graphs, validate nodes and connections, run tests through webhook or form triggers, manage credentials, audit security, and create workflows using bundled knowledge of thousands of nodes and templates.
It complements n8n's built-in instance MCP server rather than replacing it. One connection can target multiple n8n instances on the hosted dashboard or in self-hosted HTTP mode. Optional tokens route native-only operations such as pinned-data test runs, version history, live dropdown values, and Agents through n8n's own MCP endpoint.
A local documentation database powers node search and validation even without live n8n access, covering core and verified community nodes with schemas, operations, and template-derived examples. Default edits snapshot workflows for diff and rollback; validation tools flag unknown nodes, bad versions, and broken expressions, with autofix for common issues.
Operators can use the managed hosted service with OAuth sign-in or run the server themselves via npx, Docker, Railway, or local installs. API keys stay server-side; workflow data remains in the user's n8n instance.
Key features
- Execution error debugging with context
- Partial workflow patch operations
- Workflow validation and autofix
- Webhook and form trigger testing
- Credential create update delete
- Multi-instance targeting per call
- Bundled node and template knowledge
- Optional n8n native MCP bridge
Use cases
- AI-assisted n8n workflow debugging
- Building automations from chat in Cursor
- Managing prod and staging from one MCP link
- Validating workflows before production deploy