n8nctrl
ActiveWhen an n8n workflow fails at 3am, you find out by clicking through the executions list one run at a time. n8n-ops-mcp hands your whole n8n instance to the agent: list what broke, read the per-node error, trigger a retry, audit for security risks, and edit workflows, all without leaving your MCP client.
See it workrepresentative session
Representative session. Illustrative values, RFC 5737 addresses. Reads are always on; the retry it offers needs N8N_ENABLE_EDIT plus confirm.
What it does
Point any MCP client at n8n-ops-mcp and your running n8n instance becomes tools the agent can call over the n8n Public API: workflows, executions, schedules, webhooks, tags, and credential metadata. It is built for operating the flows you already run (triage failed executions, find drift, scan for security risks) rather than indexing n8n's node catalog to build new ones. It differs from a docs or builder tool in that read tools are always on while every write hides behind N8N_ENABLE_EDIT and destructive ops confirm-gate and snapshot first, so the same package is safe to hand a read-only agent or an operator with edit unlocked. It ships as a stdio MCP adapter (n8nctrl mcp or the back-compat n8n-ops-mcp bin), a read-only CLI (n8nctrl) for shells and cron, and a first-class OpenClaw plugin, with no hard dependency on a specific model or harness.
Capabilities40 tools across the n8n ops surface
Executions & triage
9 toolsList, get, search executions with per-node error logs; cancel, retry, and batch-delete runs.
Workflows & lifecycle
9 toolsGet, validate, diff, create, save, activate, archive, and delete workflows with snapshot-before-delete.
Scanners & drift
6 toolsFind workflows by node type or credential, list schedules and webhooks, surface disabled nodes and browser-bridge usage.
Stats & security audit
2 toolsPer-workflow failure rate and p95 runtime; n8n's built-in credentials/database/nodes/filesystem/instance audit.
Tags
6 toolsList, read, create, delete tags and replace a workflow's tag set.
Credentials
5 toolsRead credential metadata and schemas (secrets never echoed); create and delete behind a second write gate.
Setup
npm install -g n8n-ops-mcp
Required: N8N_BASE_URL, N8N_API_KEY (Settings -> API). Optional gates: N8N_ENABLE_EDIT, N8N_ENABLE_CREDENTIALS_WRITE, plus N8N_BACKUP_DIR, N8N_MAX_EXECUTION_LOG_BYTES, N8N_REQUEST_TIMEOUT_MS.
{ "mcpServers": { "n8n": { "command": "npx", "args": ["-y", "n8n-ops-mcp"], "env": { "N8N_BASE_URL": "https://n8n.example.com", "N8N_API_KEY": "your-n8n-api-key" } } } }