n8n Workflow Builder
Integrates with
n8n
n8n Workflow Builder MCP Server
A Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.
Features
- Create workflows with nodes and connections
- Validate workflow specifications
- Export complete workflow configurations
- REST API interface through MCP
Installation
Installing via Smithery
To install n8n Workflow Builder for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install n8n-workflow-builder --client claude
Manual Installation
- Clone the repository:
git clone https://github.com/[your-username]/n8n-workflow-builder.git
cd n8n-workflow-builder
- Install dependencies:
npm install
- Compile TypeScript:
npx tsc
- Start the server:
npm start
Usage
The server provides a create_workflow
tool that accepts a workflow specification:
{
"nodes": [
{
"type": "n8n-nodes-base.httpRequest",
"name": "HTTP Request",
"parameters": {
"url": "https://example.com",
"method": "GET"
}
}
],
"connections": []
}
Configuration
Add the server to your MCP configuration:
{
"n8n-workflow-builder": {
"command": "node",
"args": ["/path/to/n8n-workflow-builder/dist/index.js"]
}
}
License
MIT