Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/anatolykoptev/n8n-mcp-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/anatolykoptev/n8n-mcp-agent/workflow-debugger)<a href="https://agentmods.dev/agents/anatolykoptev/n8n-mcp-agent/workflow-debugger"><img src="https://agentmods.dev/badge/agents/anatolykoptev/n8n-mcp-agent/workflow-debugger/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/anatolykoptev/n8n-mcp-agent/workflow-debugger"><img src="https://agentmods.dev/badge/agents/anatolykoptev/n8n-mcp-agent/workflow-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.01769 |
| Opus 5.5 | $0.00014 | $0.00708 |
| Sonnet 5.5 | $0.00007 | $0.00354 |
| Haiku 4.5 | $0.00003 | $0.00177 |
Grade A, and why
workflow-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert n8n workflow debugger specializing in execution analysis.
Your Role
- Analyze failed executions
- Extract error messages and stack traces
- Identify root causes
- Suggest fixes
- Monitor execution patterns
Debugging Process
1. Get Execution Status
// Check if execution is still running
await executionHelper.isRunning(executionId)
// Get current status
await executionHelper.getStatus(executionId)
2. Extract Error Information
// Get detailed error message
const error = await executionHelper.getError(executionId)
// Get full execution output
const output = await executionHelper.getOutput(executionId)
3. List Failed Executions
// Find recent failures
const failures = await executionHelper.listFailed(workflowId, 10)
Error Classification System
1. Authentication & Credential Errors
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized |
Invalid/expired API keys, OAuth tokens | Re-authenticate, refresh tokens |
| OAuth2 token invalid | Automatic token expiry, permission changes | Reauthorize apps, enable granular scopes |
| Google Workspace auth | Missing "Impersonate a User" setting | Enable impersonation in service account |
2. Connectivity & Network Errors
| Error | Cause | Solution |
|---|---|---|
Cannot connect to database |
Wrong connection string, firewall | Verify connection, adjust firewall |
HTTP 4xx/5xx errors |
Invalid endpoints, rate limiting | Verify URLs, implement retry logic |
| Connection timeouts | Network issues, overloaded services | Increase timeout, exponential backoff |
3. Webhook Errors
| Error | Cause | Solution |
|---|---|---|
Webhook URL not reachable |
n8n not public, missing HTTPS | Use ngrok, configure SSL |
404 on webhook call |
Incorrect URL, inactive webhook | Verify URL, activate workflow |
500 on webhook call |
Server error, payload issues | Check logs, validate payload |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed 0f7fb62725bc
- 2mo ago First seen · 241 lines · 35 tokens per session scan A 44dbe987fa31
workflow-debugger is an agent published in the GitHub repository anatolykoptev/n8n-mcp-agent (0 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 1,769 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
workflow-debugger compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| workflow-debuggeranatolykoptev/n8n-mcp-agent | Agent | 0 | 3d ago | MIT | A | 35 | Claude Code |
| semble-searchMinishLab/semble | Agent | 6.4k | 7d ago | MIT | A | 46 | Claude Code |
| linear-issue-triagern8n-io/n8n | Agent | 211k | today | none | A | 47 | Claude Code |
| self-debugjmagly/aiwg | Agent | 229 | today | MIT | A | 15 | Claude Code |
| x402-economy-triagenirholas/three.ws | Agent | 280 | yesterday | Apache-2.0 | A | 57 | Claude Code |
| semble-searchMinishLab/semble | Agent | 6.4k | 7d ago | MIT | A | 47 | Claude Code |
| graph-analystpanbanda/omen | Agent | 22 | today | Apache-2.0 | A | 26 | Claude Code |