Provides tools for managing an n8n instance, including creating, updating, and executing workflows, viewing execution history, managing credentials, tags, global variables, and user accounts.
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 Management MCP Serverlist my workflows and show which ones are currently active"
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 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 --httpServer starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp
Configuration
Environment Variable | Required | Description |
| Yes | URL of your n8n instance (e.g. |
| Yes | n8n API key (how to create) |
| No | Port for HTTP server (default: |
All Tools (31 tools)
Workflow Management (10 tools)
Tool | Description |
| List all workflows with status and tags |
| Get workflow details (nodes, connections) |
| Create a new workflow |
| Update workflow structure |
| Permanently delete a workflow |
| Activate workflow triggers |
| Deactivate workflow triggers |
| Execute a workflow with input data |
| Get tags assigned to a workflow |
| Update workflow tags |
Execution History (4 tools)
Tool | Description |
| List execution history (filter by workflow) |
| Get execution details with node outputs |
| Delete an execution record |
| Retry a failed execution |
Credentials (4 tools)
Tool | Description |
| Store API credentials |
| Update credential data |
| Delete a credential |
| Get required fields for a credential type |
Tags (5 tools)
Tool | Description |
| List all tags |
| Get tag details |
| Create a new tag |
| Rename a tag |
| Delete a tag |
Variables (4 tools)
Tool | Description |
| List all environment variables |
| Create a global variable |
| Update a variable value |
| Delete a variable |
User Management (4 tools)
Tool | Description |
| List all users (owner only) |
| Get user details |
| Delete a user |
| 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 -- --httpLicense
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.