/ Diretório / Playground / n8n-workflow-builder
● Comunidade makafeli ⚡ Instantâneo

n8n-workflow-builder

por makafeli · makafeli/n8n-workflow-builder

Build and run n8n workflows from natural language — 15 tools for create/activate/execute plus audit reports, connected to your self-hosted or cloud n8n.

n8n-workflow-builder (makafeli) is an MCP that talks to any n8n instance via its REST API. 15 tools cover the full workflow lifecycle: list, create with nodes, activate, execute, update, delete, plus execution history and security audits.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

n8n-workflow-builder.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

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

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

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

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: n8n-workflow-builder

Build an n8n workflow from a natural-language description

👤 No-code PMs, solo founders, internal ops ⏱ ~20 min intermediate

Quando usar: You want a webhook → Slack → Google Sheet flow without dragging nodes.

Pré-requisitos
  • Running n8n instance with API enabled — docker run n8nio/n8n; enable N8N_API in env
  • API key — n8n Settings → API Keys
Fluxo
  1. Describe the flow
    Create an n8n workflow: when a webhook hits /signup, post the payload to Slack #signups and append a row to sheet 'Signups'.✓ Copiado
    → Workflow created with 3 nodes wired
  2. Activate
    Activate the workflow and return the production webhook URL.✓ Copiado
    → Active + URL
  3. Smoke test
    Execute it once with a sample payload, then pull the execution log.✓ Copiado
    → Successful run or identifiable failure

Resultado: A running automation in a few prompts instead of a morning in the editor.

Armadilhas
  • Credentials aren't set on the newly-created nodes — MCP can't create secrets for you — add Slack/Google creds in n8n UI once, refer by name
Combine com: google-sheets

Debug a failing n8n workflow from execution history

👤 Ops engineers maintaining automation ⏱ ~25 min intermediate

Quando usar: A nightly workflow is failing and you want to triage from chat.

Fluxo
  1. Pull recent failures
    list_executions for workflow 'nightly-export' with status=error in the last 7 days.✓ Copiado
    → List with dates and error snippets
  2. Inspect the worst one
    get_execution on the most recent failure. Show me the failing node's input and error.✓ Copiado
    → Root cause clue
  3. Patch and redeploy
    Update the workflow to handle null values in the transform node. Then deactivate+activate to reload.✓ Copiado
    → Subsequent runs succeed

Resultado: Outage resolved without opening the editor.

Run a security audit on your n8n workflows

👤 Security + ops teams ⏱ ~15 min intermediate

Quando usar: Before going to prod, or quarterly, you want a compliance-style report.

Fluxo
  1. Generate audit
    Use generate_audit on my n8n instance. Summarize findings into: credentials, webhook exposure, and node-permission issues.✓ Copiado
    → Structured audit report
  2. File the risky items
    For each high-severity finding, create an issue in Linear/GitHub with remediation.✓ Copiado
    → Issues created

Resultado: Quarterly security hygiene automation.

Combinações

Combine com outros MCPs para 10× de alavancagem

n8n-workflow-builder + google-sheets

Webhook-to-sheet automations built and monitored from chat

Create an n8n workflow that appends payloads to my 'Leads' sheet; verify it works end to end.✓ Copiado
n8n-workflow-builder + sentry

Sentry alert → n8n workflow → incident response chain

When Sentry sees a spike on project X, trigger my n8n workflow 'incident-page' via execute_workflow.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
list_workflows Overview 1 API call
get_workflow id Inspect nodes 1 API call
create_workflow name, nodes[], connections New automation 1 API call
execute_workflow id, payload? Manual trigger / test n8n CPU + downstream
activate_workflow id Ship to prod 1 API call
deactivate_workflow id Maintenance / rollback 1 API call
update_workflow id, changes Patch nodes 1 API call
delete_workflow id Retire 1 API call
list_executions workflow_id?, status? Triage 1 API call
get_execution execution_id Root cause 1 API call
generate_audit Security review 1 API call

Custo e limites

O que custa rodar

Cota de API
n8n itself has no API rate limit beyond your own server's capacity
Tokens por chamada
Workflow JSON can be large — 2-10k tokens per get_workflow on complex flows
Monetário
Free if self-hosted; n8n Cloud billed per exec
Dica
Use list_workflows first, avoid get_workflow on huge flows unless you need node details

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: N8N_API_KEY in env — grants full API access, scope accordingly
Saída de dados: Only to your N8N_HOST

Solução de problemas

Erros comuns e correções

401 Unauthorized

Wrong API key or key lacks permissions — regenerate in n8n UI

Verificar: curl -H 'X-N8N-API-KEY: <key>' $N8N_HOST/api/v1/workflows
Workflow created but fails on execute

Nodes missing credentials — attach them in the UI after creation; MCP can't set secrets

execute_workflow hangs

Long-running flow — use activate + webhook trigger instead of sync execute

Alternativas

n8n-workflow-builder vs. outros

AlternativaQuando usarTroca
Direct n8n REST APIYou're scripting, not chattingYou write the plumbing
Zapier MCPYou're on Zapier not n8nDifferent ecosystem; paid

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills