Provides tools for managing n8n workflows including creating, updating, listing, activating, deactivating, and executing workflows through n8n's REST API
MCP-Based n8n Workflow Builder
This repo provides an MCP server exposing tools to build, validate, deploy, manage, and execute n8n workflows via the official n8n REST API. An optional Gradio UI enables human-friendly creation and deployment.
Quickstart
Copy
.env.templateto.envand fill values.Create a virtual environment and install dependencies:
Connectivity check and run tests:
Run MCP server over stdio:
(Optional) Run UI:
Structure
core/: builder, validator, config, loggingclient/: n8n REST API clientmcp/: MCP server exposing toolsui/: optional Gradio apptemplates/: canonical JSON templatestests/: unit + integrationdocker/: containerizationscripts/: helpers
Security
Secrets come from environment variables. No secrets in code or logs.
Requests are rate-limited.
Audit logs for create/update/activate/deactivate/execute.
See docs/ and inline docstrings for more details.