Tags: AI Agent, MCP Server, n8n API, Monitoring, Debugging, Workflow Analytics, Automation
Hi! I’m Samir — a Supply Chain Engineer and Data Scientist based in Paris, and founder of LogiGreen Consulting.
This workflow is part of my latest project: an AI assistant that automatically analyses n8n workflow executions, detects failures, and identifies root causes through natural conversation with Claude Desktop.

Turn your automation logs into intelligent conversations with an AI that understands your workflows.
The idea is to use Claude Desktop to help monitor and debug your workflows deployed in production.
The workflow shared here is part of the setup.
📬 For business inquiries, you can find me on LinkedIn
This template is designed for automation engineers, data professionals, and AI enthusiasts who manage multiple workflows in n8n and want a smarter way to track errors or performance without manually browsing execution logs.
If you’ve ever discovered a failed workflow hours after it happened — this is for you.
This workflow acts as the bridge between your n8n instance and the Claude MCP Server.

It exposes three main routes that can be triggered via a webhook:
get_active_workflows → Fetches all currently active workflowsget_workflow_executions → Retrieves the latest executions and calculates health KPIsget_execution_details → Extracts detailed information about failed executions for debuggingEach request is automatically routed and processed, providing Claude with structured execution data for real-time analysis.
Here’s the complete architecture:
Claude Desktop ←→
MCP Server ←→
n8n Monitor Webhook ←→
n8n API
📘 The full concept and architecture are explained in my article published on my blog:
👉 Deploy your AI Assistant to Monitor and Debug n8n Workflows using Claude and MCP
The full setup tutorial (with source code and demo) is available on YouTube:
"action" parameterOnce connected, you can ask Claude questions like:
Bangkok Meetup Scraper workflow failing?”
Claude will reply with structured insights, including failure patterns, node diagnostics, and health status indicators (🟢🟡🔴).
You’ll need:
.env fileFollow the tutorial for more details, don't hesitate to leave your questions in the comment section.
🗒️ Use the sticky notes inside the workflow to:
<YOUR_N8N_INSTANCE> with your own URLThis template was built using n8n v.116.2
Submitted: November 2025