n8n Pro MCP Server
Manage self-hosted n8n (incl. queue mode): workflows, executions, users, audit — 51 tools.
n8n Pro MCP scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 23 tools. Filed under Uncategorized. GitHub shows 3 stars. Package registries report about 38 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
87/100 for listing completeness. Lost points: 4 of 23 tools barely described, short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "helbertparanhos-n8n-pro-mcp": { "command": "npx", "args": [ "-y", "n8n-pro-mcp@1.0.0" ], "env": { "N8N_API_URL": "", "N8N_API_KEY": "YOUR_N8N_API_KEY", "N8N_WEBHOOK_BASE_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
N8N_API_URL | Required | Base URL of the n8n instance (no /api/v1 suffix) |
N8N_API_KEYSecret | Required | n8n API key (Settings -> n8n API -> Create API key) |
N8N_WEBHOOK_BASE_URL | Optional | Separate base URL for webhook calls (queue mode webhook processors) |
Tools23Tool docs quality grade D
All capabilitiescheck_healthtoolhealthz + readiness (DB) + API auth, with a plain-language summary
clone_workflowtoolDuplicate a workflow as an inactive copy
create_workflowtoolCreate from JSON, with automatic offline validation
delete_executiontoolRemove an execution record
delete_workflowtoolPermanently delete
generate_audittooln8n's built-in security audit (credentials, database, nodes, filesystem, instance)
get_executiontoolSummary or full node-level run data for debugging
Success rate + avg duration per workflow over a sample
get_workflowtoolFull JSON or lightweight summary of one workflow
list_executionstoolFilter by status/workflow/project, with durations
Queue-mode live view of running/queued executions
list_workflowstoolList with filters (active, tags, project, name) + auto pagination
About
n8n Pro MCP ⚙️
Full-instance management for self-hosted n8n — including queue mode — through the Model Context Protocol. 51 tools covering workflows, executions, tags, credentials, variables, projects, users, security audit, source control and health monitoring.
n8n-pro-mcp connects Claude Code, Claude Desktop, Cursor or any MCP client to your n8n instance via the official n8n public API v1, with automatic cursor pagination, exponential-backoff retry on reads (writes and webhook calls are never retried, so side effects can't duplicate), and offline workflow validation that catches the classic n8n mistakes (malformed {{ }} expressions, webhook data accessed without .body, Code nodes missing return [{json: {...}}]) before they reach your instance.
Why this one?
- Queue mode first-class —
list_running_executions(live queue view),get_execution_stats(success rate + average duration per workflow) andcheck_health(healthz, readiness, API auth) were built for instances runningEXECUTIONS_MODE=queuewith workers and webhook processors.N8N_WEBHOOK_BASE_URLlets webhook calls target dedicated webhook processors. - Complete API v1 coverage — tags, variables, projects, users, source control and cross-project transfers, beyond the usual workflow/execution CRUD.
- Offline validation built in —
validate_workflow_jsonchecks structure, connection integrity, orphan nodes, expression syntax, webhook.bodyaccess, Code node return format and hardcoded secrets without any API call.create_workflow/update_workflowrun it automatically and refuse invalid payloads. - Safe partial updates —
update_workflowfetches the current workflow, merges only what you pass and strips read-only fields, so you never lose nodes by sending an incomplete PUT. - Tags by name —
set_workflow_tagsaccepts tag names and creates missing ones; no manual ID juggling. - Ops compositions the raw API doesn't have —
summarize_execution_error(just the failing node + error, not a giant JSON dump),prune_executions(bulk cleanup with dry run),wait_for_execution(poll until terminal),clone_workflowandset_workflows_active_by_tag(tag-based kill switch).
Installation
npm install -g n8n-pro-mcp # or use npx, no install needed
From source:
git clone https://github.com/helbertparanhos/n8n-pro-mcp.git && cd n8n-pro-mcp
npm install
npm run build
When running from source, you can copy .env.example to .env in the project root — the server loads it from the package root, not the working directory. When installed via npx, set the variables through your MCP client config instead (the .env file is not read from the npx cache).
Configuration
| Variable | Required | Description |
|---|---|---|
N8N_API_URL | ✅ | Base URL of your instance (e.g. https://n8n.yourdomain.com) — no /api/v1 suffix |
N8N_API_KEY | ✅ | API key from n8n → Settings → n8n API → Create API key |
N8N_WEBHOOK_BASE_URL | — | Separate base URL for webhook calls (queue mode with dedicated webhook processors) |
N8N_API_TIMEOUT_MS | — | Per-request timeout in ms (default 30000) |
N8N_MAX_RETRIES | — | Retries on 429/5xx/network errors — applied to GET requests only, never to writes or webhook calls (default 3, 0 disables) |
Claude Code
claude mcp add n8n-pro --env N8N_API_URL=https://n8n.yourdomain.com --env N8N_API_KEY=your-key -- npx -y n8n-pro-mcp
Or in .claude/settings.json / .mcp.json:
{
"mcpServers": {
"n8n-pro": {
"command": "npx",
"args": ["-y", "n8n-pro-mcp"],
"env": {
"N8N_API_URL": "https://n8n.yourdomain.com",
"N8N_API_KEY": "your-api-key"
}
}
}
}
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"n8n-pro": {
"command": "npx",
"args": ["-y", "n8n-pro-mcp"],
"env": {
"N8N_API_URL": "https://n8n.yourdomain.com",
"N8N_API_KEY": "your-api-key"
}
}
}
}
Cursor
Same JSON block in Cursor's MCP settings (.cursor/mcp.json).
Tools (51)
Workflows (12)
| Tool | Description |
|---|---|
list_workflows | List with filters (active, tags, project, name) + auto pagination |
get_workflow | Full JSON or lightweight summary of one workflow |
create_workflow | Create from JSON, with automatic offline validation |
update_workflow | Partial update — fetch, merge, validate, PUT |
delete_workflow | Permanently delete |
activate_workflow / deactivate_workflow | Toggle triggers |
transfer_workflow | Move between projects |
search_workflows | Free-text search across names, node names and node types |
clone_workflow | Duplicate a workflow as an inactive copy |
set_workflows_active_by_tag | Bulk activate/deactivate by tag, with dry run |
validate_workflow_json | Offline validation, no API call |
Executions (10)
| Tool | Description |
|---|---|
list_executions | Filter by status/workflow/project, with durations |
get_execution | Summary or full node-level run data for debugging |
delete_execution | Remove an execution record |
retry_execution | Retry a failed/stopped execution |
list_running_executions | Queue-mode live view of running/queued executions |
run_webhook | Trigger workflows via production or test webhook |
wait_for_execution | Poll an execution until it reaches a terminal state |
summarize_execution_error | Failing node + error message only — no giant JSON dump |
prune_executions | Bulk-delete old execution records, dry run by default |
get_execution_stats | Success rate + avg duration per workflow over a sample |
Tags (6)
list_tags, create_tag, update_tag, delete_tag, get_workflow_tags, set_workflow_tags (by name, auto-creates missing tags).
Credentials (4)
create_credential, delete_credential, get_credential_schema, transfer_credential. Secrets are write-only — the n8n API never returns credential data.
Variables (4)
list_variables, create_variable, update_variable, delete_variable (licensed feature).
Projects (7)
list_projects, create_project, update_project, delete_project, plus member management: add_user_to_project, remove_user_from_project, change_user_project_role (licensed feature).
Users (5)
list_users, get_user, create_user (invite), delete_user, change_user_role.
System (3)
| Tool | Description |
|---|---|
check_health | healthz + readiness (DB) + API auth, with a plain-language summary |
generate_audit | n8n's built-in security audit (credentials, database, nodes, filesystem, instance) |
pull_source_control | Pull from the connected git repository |
Queue mode playbook
With EXECUTIONS_MODE=queue (main + workers + Redis):
check_health— confirms the main process and DB are up.list_running_executions— what is actually in flight right now; a growing list with oldstartedAtvalues means workers are starved or stuck.get_execution_stats— which workflows fail or crawl; sorted worst-first by success rate.run_webhookwithN8N_WEBHOOK_BASE_URLpointing at your webhook processors to test the production ingestion path end to end.
Development
npm test # build + unit tests (validation rules, client helpers, .env parser)
npm run watch # incremental compile
npm run inspector # interactive testing with @modelcontextprotocol/inspector
CI (GitHub Actions) runs build, tests and npm audit on every push and PR.
Requirements
- Node.js ≥ 18
- n8n instance with the public API enabled (
N8N_PUBLIC_API_DISABLEDnot set) and an API key - Variables, projects and source-control tools require the corresponding licensed n8n features
👤 Author
Created by Helbert Paranhos at Strat Academy.
If this project helped you, consider starring ⭐ the repository and following Strat Academy for more AI automation tooling.
📄 License
MIT © Helbert Paranhos / Strat Academy — see LICENSE.
Frequently asked questions
What is n8n Pro MCP Server?
Manage self-hosted n8n (incl. queue mode): workflows, executions, users, audit — 51 tools.
How do I install n8n Pro MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. n8n Pro MCP Server runs locally from the npm package n8n-pro-mcp with the command npx -y n8n-pro-mcp@1.0.0.
Is n8n Pro MCP Server free and open source?
Yes. n8n Pro MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does n8n Pro MCP Server support remote (HTTP) connections?
No remote endpoint is listed for n8n Pro MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does n8n Pro MCP Server provide?
n8n Pro MCP Server provides 23 tools, including check_health, clone_workflow, create_workflow, and delete_execution. See the full tool list for descriptions and parameters.
How is n8n Pro MCP Server's trust score calculated?
n8n Pro MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.