Quick Start with npx
The fastest way to get started with n8n-MCP is usingnpx - no installation required!
Run n8n-MCP
Open your terminal and run:This will:
- Download the package (~70MB)
- Extract the pre-built database with all n8n node information
- Initialize the SQLite adapter
First run takes 10-15 seconds. Subsequent runs start in <1 second.
Configure Claude Desktop
Add n8n-MCP to your Claude Desktop configuration file:Add this configuration:
- macOS
- Windows
- Linux
Open
~/Library/Application Support/Claude/claude_desktop_config.jsonOptional: Add n8n API Integration
To enable workflow management features (create, update, test workflows), add your n8n API credentials:Get n8n API Key
In your n8n instance:
- Go to Settings → API
- Click Create API Key
- Copy the generated key
Update Configuration
Add the API credentials to your Claude Desktop config:
Running n8n locally? Use
http://host.docker.internal:5678 for Docker deployments or http://localhost:5678 for local installations.Configure Local Webhook Security (if needed)
If using a local n8n instance, add this environment variable to allow webhooks:This is safe for local development while still blocking private networks and cloud metadata.
What You Can Do Now
Search 1,084 Nodes
Find n8n nodes by functionality with full-text search
Get Node Details
View comprehensive node documentation and examples
Browse 2,709 Templates
Discover pre-built workflows from the n8n community
Validate Configurations
Check node configs before deployment
Next Steps
Learn Core Concepts
Understand how n8n-MCP works: MCP Tools, Node Search, Validation
Explore Examples
See real workflow examples: Basic Workflow, Webhook Integration, AI Agent
Build Workflows
Follow our comprehensive guide: Building Workflows
Troubleshooting
Claude doesn't see n8n-MCP tools
Claude doesn't see n8n-MCP tools
- Verify the configuration file is valid JSON
- Check the file location matches your operating system
- Completely quit and restart Claude Desktop (not just close the window)
- Check Claude Desktop logs for errors
JSON parsing errors in Claude
JSON parsing errors in Claude
This means
MCP_MODE: "stdio" is missing or incorrect. Add it to the env section of your configuration.First run is slow
First run is slow
The first
npx n8n-mcp run downloads the package and initializes the database. This is normal and only happens once. Subsequent runs are instant.Connection refused errors
Connection refused errors
If you configured n8n API credentials, verify:
- The
N8N_API_URLis correct and accessible - The
N8N_API_KEYis valid - Your n8n instance is running
Alternative Installation Methods
Docker
Isolated container deployment with zero dependencies
Railway
One-click cloud deployment with free tier
Local Development
Clone and run for development and contributions
IDE Integration
Connect with VS Code, Cursor, Windsurf, and more