/ Annuaire / Playground / mcp-n8n-workflow-builder
● Communauté salacoste ⚡ Instantané

mcp-n8n-workflow-builder

par 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.

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

n8n-workflow-builder-2.replay ▶ prêt
0/0

Installer

Choisissez votre 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
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

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

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

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

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

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

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

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

Continue utilise un tableau d'objets serveur plutôt qu'une map.

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

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

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

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : mcp-n8n-workflow-builder

Create an n8n workflow from a prose description

👤 Ops and integrations folks ⏱ ~15 min intermediate

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

Prérequis
  • 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
Déroulement
  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.✓ Copié
    → Workflow created, URL returned
  2. Verify nodes
    get_workflow by id and tell me the node sequence.✓ Copié
    → Node chain matches intent
  3. Activate
    Activate the workflow.✓ Copié
    → Status: active

Résultat : A working workflow in minutes instead of tab-hopping in the n8n UI.

Pièges
  • 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
Combiner avec : airtable · github

Debug a failed n8n execution

👤 Anyone running n8n in production ⏱ ~15 min intermediate

Quand l'utiliser : A workflow failed at 3 AM and you want to know what happened.

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

Résultat : Root cause + either recovery or a patch proposal.

Combiner avec : sentry

Bulk-tag workflows and audit credentials

👤 Platform admins ⏱ ~30 min intermediate

Quand l'utiliser : You inherited an n8n instance and need to organize it.

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

Résultat : A tidier, auditable n8n setup.

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

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.✓ Copié
n8n-workflow-builder-2 + sentry

Track n8n errors in Sentry

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

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
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)

Coût et limites

Coût d'exécution

Quota d'API
n8n instance's limits (self-hosted is unbounded)
Tokens par appel
Workflow JSON can hit 5-20k for complex flows
Monétaire
Free (n8n community) or paid (n8n Cloud)
Astuce
Ask for summary (nodes + triggers) rather than full JSON dumps unless editing.

Sécurité

Permissions, secrets, portée

Stockage des identifiants : N8N_API_KEY in env; multi-instance keys in .config.json (gitignored)
Sortie de données : All to your n8n instance
Ne jamais accorder : Include N8N_HOST with /api/v1 suffix — cut the suffix or tool calls fail Share API key across dev/prod without tagging

Dépannage

Erreurs courantes et correctifs

401 from n8n

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

Vérifier : curl -H 'X-N8N-API-KEY: $KEY' $N8N_HOST/api/v1/workflows
404 on create_workflow

N8N_HOST has /api/v1 appended; remove it.

Vérifier : Check config
Created workflow fails to activate

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

Vérifier : get_workflow and look for null credential refs

Alternatives

mcp-n8n-workflow-builder vs autres

AlternativeQuand l'utiliserCompromis
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

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills