
n8n Pro MCP
io.github.helbertparanhosPublished by GitHub account helbertparanhosv1.0.0Updated Oct 24, 2026
Manage self-hosted n8n (incl. queue mode): workflows, executions, users, audit — 51 tools.
Overview
Manages a self-hosted n8n instance, including queue mode, letting an assistant handle workflows, executions, tags, users and health checks.
- What you can do
- List, search, create, update, clone, delete, activate and transfer workflows, with offline JSON validation before writes and tag-based bulk activation or deactivation with dry run. Inspect, retry, delete and prune executions, view running and queued executions, trigger webhooks, wait for terminal states, summarize errors and get per-workflow success and duration stats. Manage tags by name, write-only credentials, variables and projects with member roles. List, invite, delete users and change roles. Check instance health, run the built-in security audit and pull from connected source control.
- When to use it
- Useful when you run your own n8n instance, especially in queue mode with workers, and want an assistant to build and validate workflows, debug failed executions, clean up old runs or check instance health without hand-crafting API calls.
- Requirements
- Runs locally via npm or npx and needs Node.js 18 or newer. Requires a reachable n8n instance with the public API enabled, plus the N8N_API_URL and N8N_API_KEY environment variables; N8N_WEBHOOK_BASE_URL is optional for dedicated webhook processors. Variables, projects and source control need licensed n8n features.
Installation
In SourceWeft
- Open n8n Pro MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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.
[npm version] [License: MIT] [GitHub Stars] [GitHub Forks] [GitHub Issues] [Glama Quality]
[TypeScript] [Node.js] [MCP] [Claude Code] [Cursor] [Claude Desktop]
[Instagram] [YouTube] [LinkedIn] [Buy Me A Coffee] [Strat Academy]
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
From source:
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
Claude Code
Or in .claude/settings.json / .mcp.json:
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor
Same JSON block in Cursor's MCP settings (.cursor/mcp.json).
Tools (51)
Workflows (12)
Executions (10)
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)
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
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.
[Instagram] [YouTube] [LinkedIn] [Buy Me A Coffee]
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.
Source: README.md at commit 9a9e156
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts