n8n MCP Server
Manage n8n workflows, executions, tags, credentials, and webhooks.
Create, list, update, delete, activate, deactivate, and search workflows.
Execute workflows and retrieve, delete, or retry executions.
List, create, update, and delete tags.
List available credentials (read-only) and get workflow webhook URLs.
Enables workflow automation management through n8n's REST API, providing tools for creating, executing, and monitoring workflows, managing tags and credentials, handling webhook configuration, and accessing execution history.
Click on "Deploy 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 Server list my 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
MCP (Model Context Protocol) server for n8n workflow automation. This server enables AI assistants like Claude to interact with n8n instances via the REST API.
Features
🔄 Workflow Management: List, create, update, and delete workflows
▶️ Execution Control: Execute workflows and monitor executions
🏷️ Tag Management: Organize workflows with tags
📊 Execution History: Access workflow execution history and results
🔑 Credential Management: List available credentials (read-only)
🌐 Webhook Management: Create and manage webhooks
🔍 Search: Search workflows by name or tags
Related MCP server: n8n MCP Server
Prerequisites
Node.js 20 or higher
n8n instance with API access enabled
n8n API key
Installation
From npm (when published)
npm install -g n8n-mcp-serverFrom source
git clone https://github.com/nikolausm/n8n-mcp-server.git
cd n8n-mcp-server
npm install
npm run buildConfiguration
Getting your n8n API Key
Log in to your n8n instance
Go to Settings → API
Generate an API key
Configure Claude Desktop
Add the following to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"n8n": {
"command": "node",
"args": ["/path/to/n8n-mcp-server/dist/index.js"],
"env": {
"N8N_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}For n8n cloud instances, use:
N8N_URL:https://your-subdomain.app.n8n.cloud
Available Tools
Workflow Management
list_workflows- List all workflows with optional filteringget_workflow- Get detailed information about a specific workflowcreate_workflow- Create a new workflow from JSONupdate_workflow- Update an existing workflowdelete_workflow- Delete a workflowactivate_workflow- Activate a workflowdeactivate_workflow- Deactivate a workflow
Execution
execute_workflow- Execute a workflow with optional input dataget_executions- Get execution history with filtering optionsget_execution- Get details of a specific executiondelete_execution- Delete an executionretry_execution- Retry a failed execution
Tags
get_tags- List all available tagscreate_tag- Create a new tagupdate_tag- Update a tagdelete_tag- Delete a tag
Other
get_credentials- List available credentials (names only)search_workflows- Search workflows by name or tagsget_workflow_webhooks- Get webhook URLs for a workflow
Usage Examples
List all active workflows
Assistant: I'll list all your active n8n workflows.
[Uses list_workflows tool with active=true]Execute a workflow
Assistant: I'll execute the workflow with the data you provided.
[Uses execute_workflow tool with workflowId and data]Create a new workflow
Assistant: I'll create a new workflow for you.
[Uses create_workflow tool with workflow JSON]Development
Setup
npm installBuild
npm run buildTest locally
N8N_URL=https://your-instance.com N8N_API_KEY=your-key npm startRun tests
npm testThe protocol tests start the built server over stdio and do not contact an n8n instance. Schema regression tests use a mocked client and HTTP adapter. GitHub CI runs the offline tests and dependency audit on Node.js 20 and 24 without API credentials.
Security Notes
Never commit your API keys
Use environment variables for sensitive data
The MCP server has the same permissions as your API key
Consider using a restricted API key if possible
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT - see LICENSE file
Support
Author
Michael Nikolaus - GitHub
Available Tools
19 toolsactivate_workflowC
Activate a workflow
Inputs: workflowId (required).
create_tagB
Create a new tag
Inputs: name (required).
create_workflowB
Create a new n8n workflow from JSON definition
Inputs: name (required), nodes (required), connections (required), active, +2 more.
deactivate_workflowB
Deactivate a workflow
Inputs: workflowId (required).
delete_executionC
Delete an execution
Inputs: executionId (required).
delete_tagD
Delete a tag
Inputs: tagId (required).
delete_workflowC
Delete a workflow
Inputs: workflowId (required).
execute_workflowB
Execute a workflow with optional input data
Inputs: workflowId (required), data.
get_credentialsA
List available credentials (names only, no sensitive data)
Inputs: no named parameters.
get_executionC
Get details of a specific execution
Inputs: executionId (required).
get_executionsB
Get workflow execution history with filtering options
Inputs: workflowId, finished, limit, cursor.
get_tagsB
List all available tags
Inputs: no named parameters.
get_workflowC
Get detailed information about a specific workflow
Inputs: workflowId (required).
get_workflow_webhooksB
Get webhook URLs for a workflow
Inputs: workflowId (required).
list_workflowsC
List all n8n workflows with optional filtering
Inputs: active, limit, cursor, tags.
retry_executionB
Retry a failed execution
Inputs: executionId (required).
search_workflowsA
Search workflows by name or tags
Inputs: query (required).
update_tagC
Update a tag
Inputs: tagId (required), name (required).
update_workflowB
Update an existing workflow
Inputs: workflowId (required), name, nodes, connections, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Every tool has a clearly distinct purpose: workflow CRUD, activation, execution, and history; tag CRUD; credential listing; and webhook retrieval. No two tools overlap significantly.
All tool names follow a consistent 'verb_noun' pattern in snake_case, such as 'create_workflow', 'get_executions', and 'update_tag'. No mixed conventions or vague verbs.
With 19 tools, the set covers multiple domains (workflows, executions, tags, credentials, webhooks) and each tool seems necessary. Slightly on the higher end but still well-scoped for the server's purpose.
Workflows, executions, and tags have full CRUD/lifecycle coverage. Credentials are limited to listing names, which is a minor gap but likely intentional for security. No obvious dead ends for typical workflows.
Maintenance
Related MCP Connectors
Know when your n8n workflows, URLs, and AI apps break, before your customers do.
Build, check and fix n8n workflows from Claude, Cursor or ChatGPT. Built on 1,100+ real n8n node definitions and curated templates, with a validator that repairs common mistakes (wrong node types, missing settings) and returns JSON ready to import into n8n. Sign in with a free gydmation.com account; nothing to install.
Free public n8n, AI support and software acceptance templates; scoped private delivery workflows.
AI automation platform (n8n/Zapier alternative): build, schedule and run workflows from your agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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
- FlicenseNot gradedqualityCmaintenanceEnables ChatGPT to manage n8n workflows through the official REST API. Supports creating, updating, deleting, and running workflows with execution status monitoring.-
- AlicenseNot gradedqualityDmaintenanceEnables 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.122 npm2MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI models to manage n8n workflow automation through a standardized interface. Supports creating, reading, updating, and deleting workflows with comprehensive access to workflow nodes, connections, and configurations.15 npmMIT