n8n Management MCP Server
Connects AI assistants to your n8n instance to manage workflows, executions, credentials, and user settings through 31 specialized tools. It enables users to perform n8n operations like workflow creation, activation, and execution history retrieval via natural language.
README
n8n Management MCP Server
MCP (Model Context Protocol) server for connecting AI assistants to your n8n instance. Manage workflows, executions, credentials, tags, variables, and users through 31 tools.
Works with Claude Desktop, Cursor, VS Code, and any MCP client.
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["-y", "@node2flow/n8n-management-mcp"],
"env": {
"N8N_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-n8n-api-key"
}
}
}
}
Cursor / VS Code
Add to MCP settings:
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["-y", "@node2flow/n8n-management-mcp"],
"env": {
"N8N_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-n8n-api-key"
}
}
}
}
HTTP Mode (Streamable HTTP)
For remote deployment or shared access:
N8N_URL=https://your-n8n.com N8N_API_KEY=your_key npx @node2flow/n8n-management-mcp --http
Server starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp
Configuration
| Environment Variable | Required | Description |
|---|---|---|
N8N_URL |
Yes | URL of your n8n instance (e.g. https://n8n.example.com) |
N8N_API_KEY |
Yes | n8n API key (how to create) |
PORT |
No | Port for HTTP server (default: 3000, only used with --http) |
All Tools (31 tools)
Workflow Management (10 tools)
| Tool | Description |
|---|---|
n8n_list_workflows |
List all workflows with status and tags |
n8n_get_workflow |
Get workflow details (nodes, connections) |
n8n_create_workflow |
Create a new workflow |
n8n_update_workflow |
Update workflow structure |
n8n_delete_workflow |
Permanently delete a workflow |
n8n_activate_workflow |
Activate workflow triggers |
n8n_deactivate_workflow |
Deactivate workflow triggers |
n8n_execute_workflow |
Execute a workflow with input data |
n8n_get_workflow_tags |
Get tags assigned to a workflow |
n8n_update_workflow_tags |
Update workflow tags |
Execution History (4 tools)
| Tool | Description |
|---|---|
n8n_list_executions |
List execution history (filter by workflow) |
n8n_get_execution |
Get execution details with node outputs |
n8n_delete_execution |
Delete an execution record |
n8n_retry_execution |
Retry a failed execution |
Credentials (4 tools)
| Tool | Description |
|---|---|
n8n_create_credential |
Store API credentials |
n8n_update_credential |
Update credential data |
n8n_delete_credential |
Delete a credential |
n8n_get_credential_schema |
Get required fields for a credential type |
Tags (5 tools)
| Tool | Description |
|---|---|
n8n_list_tags |
List all tags |
n8n_get_tag |
Get tag details |
n8n_create_tag |
Create a new tag |
n8n_update_tag |
Rename a tag |
n8n_delete_tag |
Delete a tag |
Variables (4 tools)
| Tool | Description |
|---|---|
n8n_list_variables |
List all environment variables |
n8n_create_variable |
Create a global variable |
n8n_update_variable |
Update a variable value |
n8n_delete_variable |
Delete a variable |
User Management (4 tools)
| Tool | Description |
|---|---|
n8n_list_users |
List all users (owner only) |
n8n_get_user |
Get user details |
n8n_delete_user |
Delete a user |
n8n_update_user_role |
Change user role |
Requirements
- Node.js 18+
- n8n instance with API enabled
- n8n API key
How to Create an n8n API Key
- Go to your n8n instance Settings
- Select API > API Keys
- Click Create API key
- Copy the key and use it as
N8N_API_KEY
For Developers
git clone https://github.com/node2flow-th/n8n-management-mcp-community.git
cd n8n-management-mcp-community
npm install
npm run build
# Run in stdio mode
N8N_URL=https://your-n8n.com N8N_API_KEY=your_key npm start
# Run in dev mode (hot reload)
N8N_URL=https://your-n8n.com N8N_API_KEY=your_key npm run dev
# Run in HTTP mode
N8N_URL=https://your-n8n.com N8N_API_KEY=your_key npm start -- --http
License
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。