spences10/mcp-n8n-builder

View on GitHub โ†—

๐Ÿช„ MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST API.

84 โ˜…26 forksTypeScriptUpdated 24d ago

What you need to know

MCP server for programmatic creation and management of n8n workflows via n8n's REST API, with Zod input/output validation and node-type validation with smart suggestions.

Install

npx -y mcp-n8n-builder
Add {"command":"npx","args":["-y","mcp-n8n-builder"],"env":{"N8N_HOST":"http://localhost:5678/api/v1","N8N_API_KEY":"your-n8n-api-key"}} to mcpServers

Usage

  • โ€ขlist_available_nodes before creating or updating workflows
  • โ€ขlist_workflows to find workflows by name/tags/active status
  • โ€ขcreate_workflow / update_workflow / activate_workflow / deactivate_workflow
  • โ€ขlist_executions / get_execution for run history

Key features

  • โœ“Full workflow CRUD plus activate/deactivate
  • โœ“Execution history listing and retrieval
  • โœ“Zod validation of inputs and outputs
  • โœ“Node-type validation against the n8n instance with suggestions for similar nodes
  • โœ“Filtering by name, tags, or active status
  • โœ“OUTPUT_VERBOSITY control (concise/full) with per-tool verbosity override

Best for

n8n users who want AI assistants to build, inspect, and manage workflows programmatically

Caveats

  • โš Officially labeled a token monster: n8n workflows are complex JSON structures that can consume thousands of tokens
  • โš Use list_workflows and concise verbosity first to keep token costs low
  • โš update_workflow requires the entire workflow structure
  • โš Delete is permanent and cannot be undone
Platforms: macOS ยท Linux ยท WindowsClients: Claude Desktop ยท Cline
Documentation โ†—

Reviewed 2026-08-11

Topics

ai-toolsmcpmodel-context-protocoln8nworkflow-automation
Stars
84โ˜…
Forks
26
Language
TypeScript
License
MIT
Created
2025-04-01
Last push
2026-08-12