/ Verzeichnis / Playground / mcp-n8n-workflow-builder
● Community salacoste ⚡ Sofort

mcp-n8n-workflow-builder

von salacoste · salacoste/mcp-n8n-workflow-builder

Build, manage, and monitor n8n workflows with natural language — no JSON editing, works with multi-instance prod/staging/dev.

mcp-n8n-workflow-builder by salacoste exposes n8n's REST API through 17 MCP tools covering workflows, executions, tags, and credentials. Multi-instance config lets one agent switch between prod/staging/dev. Ideal for iterating on automations conversationally.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

n8n-workflow-builder-2.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "n8n-workflow-builder-2": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n-workflow-builder"
      ],
      "_inferred": true
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "n8n-workflow-builder-2": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n-workflow-builder"
      ],
      "_inferred": true
    }
  }
}

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "n8n-workflow-builder-2": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n-workflow-builder"
      ],
      "_inferred": true
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "n8n-workflow-builder-2": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n-workflow-builder"
      ],
      "_inferred": true
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "n8n-workflow-builder-2",
      "command": "npx",
      "args": [
        "-y",
        "mcp-n8n-workflow-builder"
      ]
    }
  ]
}

Continue nutzt ein Array von Serverobjekten statt einer Map.

~/.config/zed/settings.json
{
  "context_servers": {
    "n8n-workflow-builder-2": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "mcp-n8n-workflow-builder"
        ]
      }
    }
  }
}

In context_servers hinzufügen. Zed lädt beim Speichern neu.

claude mcp add n8n-workflow-builder-2 -- npx -y mcp-n8n-workflow-builder

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: mcp-n8n-workflow-builder

Create an n8n workflow from a prose description

👤 Ops and integrations folks ⏱ ~15 min intermediate

Wann einsetzen: You want 'when a row is added to Airtable, send a Slack message' without clicking 15 nodes.

Voraussetzungen
  • n8n instance running with API enabled — Standard n8n install; get API key from Settings > API
  • N8N_HOST + N8N_API_KEY env vars (omit /api/v1 suffix) — Set in MCP config
Ablauf
  1. Describe intent
    Create a workflow 'airtable-to-slack': trigger on new row in Airtable base X table Y, post message to Slack channel #updates with the row's Name and Status.✓ Kopiert
    → Workflow created, URL returned
  2. Verify nodes
    get_workflow by id and tell me the node sequence.✓ Kopiert
    → Node chain matches intent
  3. Activate
    Activate the workflow.✓ Kopiert
    → Status: active

Ergebnis: A working workflow in minutes instead of tab-hopping in the n8n UI.

Fallstricke
  • Credentials created in wrong instance — Always include env name in prompts ('on staging instance...') with multi-instance config
  • Auto-generated node parameters miss some edge-case fields — Do one manual node review after creation; n8n is picky about operation parameters
Kombinieren mit: airtable · github

Debug a failed n8n execution

👤 Anyone running n8n in production ⏱ ~15 min intermediate

Wann einsetzen: A workflow failed at 3 AM and you want to know what happened.

Ablauf
  1. Find recent failures
    list_executions status=error last 24h on prod.✓ Kopiert
    → Failure list
  2. Inspect one
    get_execution for the most recent — which node failed, with what error?✓ Kopiert
    → Node + stacktrace
  3. Retry or fix
    If transient, retry_execution. If code, propose a node change in the workflow JSON.✓ Kopiert
    → Action taken

Ergebnis: Root cause + either recovery or a patch proposal.

Kombinieren mit: sentry

Bulk-tag workflows and audit credentials

👤 Platform admins ⏱ ~30 min intermediate

Wann einsetzen: You inherited an n8n instance and need to organize it.

Ablauf
  1. List and classify workflows
    list_workflows — classify each as {marketing, internal, ops, dead}.✓ Kopiert
    → Classification
  2. Apply tags
    Tag each per classification using create_tag + workflow update.✓ Kopiert
    → Tags applied
  3. Audit credentials
    list_credentials — flag any shared across environments or unused for >90 days.✓ Kopiert
    → Cleanup list

Ergebnis: A tidier, auditable n8n setup.

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

n8n-workflow-builder-2 + airtable

Design and deploy an Airtable→Slack flow

Design an n8n workflow that posts Slack when a new Deal is added to the Airtable CRM; include error handling.✓ Kopiert
n8n-workflow-builder-2 + sentry

Track n8n errors in Sentry

On workflow execution error, post to Sentry with workflow name and node data.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
list_workflows filter?: object Overview 1 API call
get_workflow id: str Inspect node graph 1 API call
create_workflow name, nodes, connections, active? Build a new workflow 1 API call (write)
update_workflow id, nodes?, connections?, name? Edit existing 1 API call (write)
delete_workflow id With confirmation 1 API call (destructive)
activate_workflow id Go-live 1 API call
deactivate_workflow id Pause without delete 1 API call
execute_workflow id, data? On-demand trigger 1 API call
list_executions filter? Monitoring 1 API call
get_execution id Post-mortem 1 API call
retry_execution id Transient failure recovery 1 API call
create_credential name, type, data Provision auth for nodes 1 API call (write)

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
n8n instance's limits (self-hosted is unbounded)
Tokens pro Aufruf
Workflow JSON can hit 5-20k for complex flows
Kosten in €
Free (n8n community) or paid (n8n Cloud)
Tipp
Ask for summary (nodes + triggers) rather than full JSON dumps unless editing.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: N8N_API_KEY in env; multi-instance keys in .config.json (gitignored)
Datenabfluss: All to your n8n instance
Niemals gewähren: Include N8N_HOST with /api/v1 suffix — cut the suffix or tool calls fail Share API key across dev/prod without tagging

Fehlerbehebung

Häufige Fehler und Lösungen

401 from n8n

API key invalid or expired; regenerate in Settings > API.

Prüfen: curl -H 'X-N8N-API-KEY: $KEY' $N8N_HOST/api/v1/workflows
404 on create_workflow

N8N_HOST has /api/v1 appended; remove it.

Prüfen: Check config
Created workflow fails to activate

Node credentials missing. Create credentials first, then reference by id in the workflow.

Prüfen: get_workflow and look for null credential refs

Alternativen

mcp-n8n-workflow-builder vs. andere

AlternativeWann stattdessenKompromiss
Zapier MCPYou're on Zapier insteadDifferent ecosystem; n8n is self-hostable, Zapier isn't
Native n8n AI nodesYou want AI inside a workflow, not outsideNo external chat control

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen