N8n Advisor
FreeNot checkedEnables AI assistants to review workflow status in n8n instances, including active/inactive counts and workflows with recent errors.
About
Enables AI assistants to review workflow status in n8n instances, including active/inactive counts and workflows with recent errors.
README
MCP server for n8n workflow management. Provides AI assistants with the ability to review workflow status in n8n instances.
Features
- check_workflows: Reviews all workflows and reports their status, including active/inactive counts and workflows with recent errors.
Installation
pip install m2ai-mcp-n8n-advisor
Configuration
Create a .env file or set environment variables:
# Base URL of your n8n instance (no trailing slash)
N8N_BASE_URL=https://your-n8n-instance.app.n8n.cloud
# API key from n8n Settings > API
N8N_API_KEY=your_api_key_here
Getting Your n8n API Key
- Open your n8n instance
- Go to Settings > API
- Create a new API key or copy an existing one
- Use the full URL of your n8n instance for
N8N_BASE_URL
Usage
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"n8n": {
"command": "n8n-advisor",
"env": {
"N8N_BASE_URL": "https://your-n8n-instance.app.n8n.cloud",
"N8N_API_KEY": "your_api_key_here"
}
}
}
}
Or run directly with Python:
{
"mcpServers": {
"n8n": {
"command": "python",
"args": ["-m", "n8n_mcp.server"],
"env": {
"N8N_BASE_URL": "https://your-n8n-instance.app.n8n.cloud",
"N8N_API_KEY": "your_api_key_here"
}
}
}
}
Available Tools
check_workflows
Reviews all workflows and reports their status.
Parameters: None
Returns:
total_workflows: Total number of workflowsactive_workflows: Number of active workflowsinactive_workflows: Number of inactive workflowsworkflows_with_errors: Count of workflows with recent errorserror_workflows: List of workflows with errors (id, name, error count)workflows: Detailed list of all workflows with execution stats
Example Response:
{
"total_workflows": 5,
"active_workflows": 3,
"inactive_workflows": 2,
"workflows_with_errors": 1,
"error_workflows": [
{"id": "2", "name": "Data Sync", "errors": 3}
],
"workflows": [
{
"id": "1",
"name": "Email Notifications",
"active": true,
"recent_executions": {
"success": 10,
"error": 0,
"waiting": 0,
"running": 0
}
}
]
}
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run tests with coverage
pytest --cov=n8n_mcp
# Type checking
mypy src/
# Linting
ruff check src/
License
MIT
Install N8n Advisor in Claude Desktop, Claude Code & Cursor
unyly install n8n-advisorInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add n8n-advisor -- uvx m2ai-mcp-n8n-advisorFAQ
Is N8n Advisor MCP free?
Yes, N8n Advisor MCP is free — one-click install via Unyly at no cost.
Does N8n Advisor need an API key?
No, N8n Advisor runs without API keys or environment variables.
Is N8n Advisor hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install N8n Advisor in Claude Desktop, Claude Code or Cursor?
Open N8n Advisor on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare N8n Advisor with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
