MCP Hub
Back to servers

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.

glama
Updated
Feb 14, 2026

n8n Management MCP Server

smithery badge npm version License: MIT

ภาษาไทย

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 VariableRequiredDescription
N8N_URLYesURL of your n8n instance (e.g. https://n8n.example.com)
N8N_API_KEYYesn8n API key (how to create)
PORTNoPort for HTTP server (default: 3000, only used with --http)

All Tools (31 tools)

Workflow Management (10 tools)

ToolDescription
n8n_list_workflowsList all workflows with status and tags
n8n_get_workflowGet workflow details (nodes, connections)
n8n_create_workflowCreate a new workflow
n8n_update_workflowUpdate workflow structure
n8n_delete_workflowPermanently delete a workflow
n8n_activate_workflowActivate workflow triggers
n8n_deactivate_workflowDeactivate workflow triggers
n8n_execute_workflowExecute a workflow with input data
n8n_get_workflow_tagsGet tags assigned to a workflow
n8n_update_workflow_tagsUpdate workflow tags

Execution History (4 tools)

ToolDescription
n8n_list_executionsList execution history (filter by workflow)
n8n_get_executionGet execution details with node outputs
n8n_delete_executionDelete an execution record
n8n_retry_executionRetry a failed execution

Credentials (4 tools)

ToolDescription
n8n_create_credentialStore API credentials
n8n_update_credentialUpdate credential data
n8n_delete_credentialDelete a credential
n8n_get_credential_schemaGet required fields for a credential type

Tags (5 tools)

ToolDescription
n8n_list_tagsList all tags
n8n_get_tagGet tag details
n8n_create_tagCreate a new tag
n8n_update_tagRename a tag
n8n_delete_tagDelete a tag

Variables (4 tools)

ToolDescription
n8n_list_variablesList all environment variables
n8n_create_variableCreate a global variable
n8n_update_variableUpdate a variable value
n8n_delete_variableDelete a variable

User Management (4 tools)

ToolDescription
n8n_list_usersList all users (owner only)
n8n_get_userGet user details
n8n_delete_userDelete a user
n8n_update_user_roleChange user role

Requirements

  • Node.js 18+
  • n8n instance with API enabled
  • n8n API key

How to Create an n8n API Key

  1. Go to your n8n instance Settings
  2. Select API > API Keys
  3. Click Create API key
  4. 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

Reviews

No reviews yet

Sign in to write a review