n8n MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@n8n MCP Serverlist all active workflows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
n8n MCP Server
A Model Context Protocol (MCP) server for managing n8n workflows. This server enables AI assistants to interact with your n8n instance to create, update, delete, monitor, and control workflows and executions.
Features
Workflow Management
List workflows - Get all workflows with optional filtering by active status
Get workflow - Retrieve detailed information about a specific workflow
Create workflow - Create new workflows programmatically
Update workflow - Modify existing workflow configurations
Delete workflow - Remove workflows from your n8n instance
Workflow Control
Activate workflow - Enable a workflow to run on triggers
Deactivate workflow - Disable a workflow
Workflow Execution
Execute workflow - Manually trigger a workflow execution
List executions - View execution history with optional workflow filtering
Get execution - Retrieve detailed execution information including results
Delete execution - Remove execution records
Related MCP server: n8n MCP Server
Prerequisites
Node.js 18 or higher
n8n instance (self-hosted or cloud)
n8n API key
Installation
Clone this repository:
git clone <repository-url>
cd n8n-mcpInstall dependencies:
npm installBuild the server:
npm run buildConfiguration
Generate n8n API Key
Log in to your n8n instance
Go to Settings > n8n API
Click Create an API Key
Copy the generated API key
Environment Variables
Set the following environment variables:
export N8N_BASE_URL="https://your-n8n-instance.com"
export N8N_API_KEY="your-api-key-here"For n8n cloud:
export N8N_BASE_URL="https://your-instance.app.n8n.cloud"For self-hosted:
export N8N_BASE_URL="http://localhost:5678"Usage with Claude Desktop
Add this server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"n8n": {
"command": "node",
"args": ["/absolute/path/to/n8n-mcp/build/index.js"],
"env": {
"N8N_BASE_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}Available Tools
Workflow Management
list_workflows
List all workflows with optional active status filter.
Parameters:
active(boolean, optional): Filter by active status
Example:
List all active workflowsget_workflow
Get detailed information about a specific workflow.
Parameters:
id(string, required): Workflow ID
Example:
Get workflow with ID "123"create_workflow
Create a new workflow.
Parameters:
name(string, required): Workflow namenodes(array, required): Workflow nodes configurationconnections(object, optional): Node connectionssettings(object, optional): Workflow settings
Example:
Create a simple workflow named "Test Workflow"update_workflow
Update an existing workflow.
Parameters:
id(string, required): Workflow IDname(string, optional): New workflow namenodes(array, optional): Updated nodesconnections(object, optional): Updated connectionssettings(object, optional): Updated settings
delete_workflow
Delete a workflow.
Parameters:
id(string, required): Workflow ID
Workflow Control
activate_workflow
Activate a workflow to enable trigger-based execution.
Parameters:
id(string, required): Workflow ID
deactivate_workflow
Deactivate a workflow.
Parameters:
id(string, required): Workflow ID
Execution Management
execute_workflow
Manually execute a workflow.
Parameters:
id(string, required): Workflow ID
list_executions
List workflow executions.
Parameters:
workflowId(string, optional): Filter by workflow ID
get_execution
Get detailed execution information.
Parameters:
id(string, required): Execution ID
delete_execution
Delete an execution record.
Parameters:
id(string, required): Execution ID
Development
Watch mode
npm run watchBuild
npm run buildTroubleshooting
API Key Issues
Ensure your API key is valid and has the necessary permissions
For n8n Cloud, you need a paid plan to use the API
Connection Issues
Verify the
N8N_BASE_URLis correct and accessibleCheck that your n8n instance is running
Ensure there are no firewall issues blocking the connection
MCP Server Not Showing
Restart Claude Desktop after configuration changes
Check the Claude Desktop logs for errors
Verify the path to
index.jsis absolute and correct
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables AI agents to create, retrieve, update, and manage n8n workflows through the n8n API. Supports full workflow lifecycle management including activation, deactivation, and deletion operations.3915MIT
- Alicense-qualityDmaintenanceEnables management of n8n workflow automations through natural language, supporting creation, execution, updates, and deletion of workflows, along with node discovery and execution status monitoring.MIT
- Flicense-qualityCmaintenanceEnables ChatGPT to manage n8n workflows through the official REST API. Supports creating, updating, deleting, and running workflows with execution status monitoring.
- Alicense-qualityDmaintenanceEnables AI assistants to manage n8n automation workflows through natural language commands, including creating, executing, monitoring, and organizing workflows with full CRUD operations and execution management.1482MIT
Related MCP Connectors
Create, test, publish, and manage Dreamlit notification workflows from AI clients.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Build and run visual creative-production workflows from your AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JBrightmanAI/n8n-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server