โš™๏ธ ๐Ÿ‘ฒ Monitor & debug n8n workflows with Claude AI assistant and MCP server

โšก 4,146 views ยท โš™๏ธ DevOps & CI/CD

๐Ÿ’ก Pro Tip โ€” HTTP Request scraping tends to break when sites update their markup. If youโ€™re scraping a major platform, check if ScraperNode covers it โ€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Tags: AI Agent, MCP Server, n8n API, Monitoring, Debugging, Workflow Analytics, Automation

Context

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.

Concept

> 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

Who is this template for?

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.

What does this workflow do?

This workflow acts as the bridge between your n8n instance and the Claude MCP Server.

Principle

It exposes three main routes that can be triggered via a webhook:

  1. get_active_workflows โ†’ Fetches all currently active workflows
  2. get_workflow_executions โ†’ Retrieves the latest executions and calculates health KPIs
  3. get_execution_details โ†’ Extracts detailed information about failed executions for debugging

Each request is automatically routed and processed, providing Claude with structured execution data for real-time analysis.

How does it fit in the overall setup?

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

๐ŸŽฅ Tutorial

The full setup tutorial (with source code and demo) is available on YouTube:

Tutorial + Demo

How does it work?

Example use cases

Once connected, you can ask Claude questions like:

Example

Claude will reply with structured insights, including failure patterns, node diagnostics, and health status indicators (๐ŸŸข๐ŸŸก๐Ÿ”ด).

What do I need to get started?

Youโ€™ll need:

Follow the tutorial for more details, donโ€™t hesitate to leave your questions in the comment section.

Next Steps

๐Ÿ—’๏ธ Use the sticky notes inside the workflow to:

This template was built using n8n v.116.2
Submitted: November 2025

๐Ÿ”— Nodes Used

HTTP Request, Webhook

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup