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 mcpServersUsage
- โข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
- Stars
- 84โ
- Forks
- 26
- Language
- TypeScript
- License
- MIT
- Created
- 2025-04-01
- Last push
- 2026-08-12