Provides access to n8n node documentation, properties, and operations for AI assistants
Configuration
View docs{
"mcpServers": {
"n8n_mcp_npx": {
"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",
"WEBHOOK_SECURITY_MODE": "moderate",
"SQLJS_SAVE_INTERVAL_MS": "10000",
"N8N_MCP_TELEMETRY_DISABLED": "true"
}
}
}
}n8n-MCP is a dedicated MCP server that exposes n8n node documentation, properties, and operations to AI assistants. It enables Claude and similar tools to understand 543+ nodes, their schemas, and available actions, so you can build, validate, and deploy automations with confidence and speed.
Connect your MCP client to an MCP server to start querying node data, templates, and workflow management capabilities. You can run the server locally for development or deploy it headlessly in the cloud. When you connect, your AI agent can access real-time node details, documentation, and pre-validated configurations to help you design and test workflows.
Prerequisites vary by deployment method. Ensure you meet the minimum requirements for Node.js, Docker, or the ability to run commands locally. Follow the flow that matches how you want to run the MCP server.
# Prerequisites (example for local quick setup)
# - Node.js installed on your system
# - Git installed for cloning repositories (optional)
```
```json
{
"mcpServers": {
"n8n_mcp_npx": {
"command": "npx",
"args": ["n8n-mcp"],
"env": {
"MCP_MODE": "stdio",
"LOG_LEVEL": "error",
"DISABLE_CONSOLE_OUTPUT": "true"
}
}
}
}
```
```json
{
"mcpServers": {
"n8n_mcp_docker": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e", "MCP_MODE=stdio",
"-e", "LOG_LEVEL=error",
"-e", "DISABLE_CONSOLE_OUTPUT=true",
"ghcr.io/czlonkowski/n8n-mcp:latest"
]
}
}
}
```
```bash
# Optional: if you are using a local n8n instance and want to expose API access
# include environment variables in the docker command as shown above.There are different ways to run n8n-MCP depending on your hosting preferences. The simplest is a hosted service with a free trial, but you can also self-host using npx for quick start or Docker for isolation. In all cases, you configure MCP_MODE to stdio to ensure clean JSON-RPC communication and prevent debug logs from interfering with the protocol.
Query documentation for any MCP tool and its usage.
Full-text search across all n8n nodes with optional real-world examples.
Unified node information tool with multiple modes for detail, docs, and versions.
Validate node configurations quickly or comprehensively before deployment.
Validate an entire workflow for connections, expressions, and AI tool usage.
Search templates by metadata, task, or node composition.
Retrieve complete workflow JSON for a selected template.
Create new workflows in an n8n instance.
Retrieve workflows with detailed, structural, or minimal views.
Replace an entire workflow in an n8n instance.
Apply diffs to an existing workflow in one call.
Permanently delete workflows from an n8n instance.
List workflows with filtering and pagination.
Validate a workflow in the connected n8n instance.
Automatically fix common workflow errors.
Manage version history and rollback for workflows.
Deploy templates from n8n.io to your instance with auto-fix.
Trigger and test workflow execution with flexible input.
Manage and list executions from n8n.
Check connectivity and supported features of n8n API.