I got tired of opening the n8n dashboard every time I needed to check on a workflow.
You know the drill: open browser → navigate to executions → find the right workflow → check status → close. Five clicks for something that should be instant.
So I built a 9-node n8n workflow that exposes my entire n8n instance to Claude Desktop via the Model Context Protocol (MCP).
Now I just type:
"Did my backup automation run successfully last night?"
And Claude calls my real n8n API and responds with the execution status. No browser. No clicking.
What is MCP?
MCP (Model Context Protocol) is an open standard from Anthropic that lets AI assistants connect to external tools and data sources. Instead of just answering questions from training data, Claude can call real APIs, read live data, and take actions.
n8n already has an MCP Server Trigger node (available in 1.70+). I used it to expose 4 tools to Claude:
| Tool | What it does |
|---|---|
list_workflows | Returns all active workflows with IDs and names |
run_workflow | Triggers any workflow by ID |
get_executions | Pulls recent execution history with status |
search_workflows | Keyword filter across all workflow names |
How it works
The architecture is simple:
Claude Desktop → mcp-remote → n8n MCP Server Trigger → Code nodes → n8n REST API
Each of the 4 tools is a Code node that calls the n8n REST API internally using X-N8N-API-KEY authentication.
The workflow:
MCP Server Trigger — SSE endpoint that Claude connects to
list_workflows —GET /api/v1/workflows?active=true
run_workflow —POST /api/v1/workflows/{id}/run
get_executions —GET /api/v1/executions?workflowId={id}&limit=N
search_workflows — keyword filter on workflow names
Credentials are stored in n8n Variables ($vars.N8N_BASE_URL and $vars.N8N_API_KEY) — never hardcoded.
The Claude Desktop config
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["mcp-remote", "https://your-n8n-instance.com/mcp/your-webhook-id/sse"]
}
}
}
Restart Claude Desktop. Claude now has access to your n8n instance.
Real examples from last week
Morning check:
"List all my active workflows and tell me which ones ran in the last 24 hours"
Claude lists them, checks execution history, and flags any that didn't run on schedule.
Quick trigger:
"Run the client invoice workflow"
Claude finds the workflow by keyword, triggers it, returns execution ID.
Debugging:
"Show me the last 5 executions of the email automation — did any fail?"
Claude pulls execution data and summarizes results including error messages.
Requirements
- n8n 1.70+ (cloud or self-hosted)
- Claude Desktop or Claude Code
- n8n API Key (Settings → API Keys)
- Public URL or ngrok for local
Setup: ~15 minutes.
Get the template
Full workflow JSON + Claude Desktop config snippet available on n8nMarkets: https://www.n8nmarkets.com/en/workflow-templates
Search "MCP Server".
All credentials stay in your n8n instance. Claude only sees what the tools return — your API keys never leave your server.
SOCIAL SHARE CARD GENERATOR