n8n-MCP
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,236 workflow automation nodes (806 core + 430 community).
Overview
n8n-MCP serves as a bridge between n8n's workflow automation platform and AI models, enabling them to understand and work with n8n nodes effectively. It provides structured access to:
- ๐ 1,084 n8n nodes - 537 core nodes + 547 community nodes (301 verified)
- ๐ง Node properties - 99% coverage with detailed schemas
- โก Node operations - 63.6% coverage of available actions
- ๐ Documentation - 87% coverage from official n8n docs (including AI nodes)
- ๐ค AI tools - 265 AI-capable tool variants detected with full documentation
- ๐ก Real-world examples - 2,646 pre-extracted configurations from popular templates
- ๐ฏ Template library - 2,709 workflow templates with 100% metadata coverage
- ๐ Community nodes - Search verified community integrations with
sourcefilter (NEW!)
โ ๏ธ Important Safety Warning
NEVER edit your production workflows directly with AI! Always:
- ๐ Make a copy of your workflow before using AI tools
- ๐งช Test in development environment first
- ๐พ Export backups of important workflows
- โก Validate changes before deploying to production
AI results can be unpredictable. Protect your work!
๐ Quick Start
Option 1: Hosted Service (Easiest - No Setup!) โ๏ธ
The fastest way to try n8n-MCP - no installation, no configuration:
- โ Free tier: 100 tool calls/day
- โ Instant access: Start building workflows immediately
- โ Always up-to-date: Latest n8n nodes and templates
- โ No infrastructure: We handle everything
Just sign up, get your API key, and connect your MCP client.
๐ Self-Hosting Options
Prefer to run n8n-MCP yourself? Choose your deployment method:
Option A: npx (Quick Local Setup) ๐
Get n8n-MCP running in minutes:
Prerequisites: Node.js installed on your system
# Run directly with npx (no installation needed!)
npx n8n-mcp
Add to Claude Desktop config:
โ ๏ธ Important: The
MCP_MODE: "stdio"environment variable is required for Claude Desktop. Without it, you will see JSON parsing errors like"Unexpected token..."in the UI. This variable ensures that only JSON-RPC messages are sent to stdout, preventing debug logs from interfering with the protocol.
Basic configuration (documentation tools only):
{
"mcpServers": {
"n8n-mcp": {
"command": "npx",
"args": ["n8n-mcp"],
"env": {
"MCP_MODE": "stdio",
"LOG_LEVEL": "error",
"DISABLE_CONSOLE_OUTPUT": "true"
}
}
}
}
Full configuration (with n8n management tools):
{
"mcpServers": {
"n8n-mcp": {
"command": "npx",
"args": ["n8n-mcp"],
"env": {
"MCP_MODE": "stdio",
"LOG_LEVEL": "error",
"DISABLE_CONSOLE_OUTPUT": "true",
"N8N_API_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key"
}
}
}
}
Note: npx will download and run the latest version automatically. The package includes a pre-built database with all n8n node information.
Configuration file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop after updating configuration - That's it! ๐
Option B: Docker (Isolated & Reproducible) ๐ณ
Prerequisites: Docker installed on your system
๐ฆ Install Docker (clic
Tools 3
search_nodesSearch through n8n node documentation and propertiesget_node_detailsRetrieve detailed schema and operations for a specific n8n nodelist_templatesBrowse available n8n workflow templatesEnvironment Variables
MCP_MODErequiredMust be set to stdio for Claude DesktopN8N_API_URLURL of your n8n instance for management toolsN8N_API_KEYAPI key for your n8n instance