n8n Workflow Builder MCP Server logo

n8n Workflow Builder MCP Server

by makafeli

This project provides an MCP server for managing n8n workflows. It offers functionality to list, create, update, delete, activate, and deactivate workflows through a set of defined tools.

View on GitHub

Last updated: N/A

What is n8n Workflow Builder MCP Server?

The n8n Workflow Builder MCP Server is a tool for managing n8n workflows through an MCP (Management Control Plane) interface. It allows users to interact with their n8n instance to perform various workflow management tasks.

How to use n8n Workflow Builder MCP Server?

To use the server, you need to clone the repository, install dependencies using npm, build the project, and start the server. Configuration is managed via the cline_mcp_settings.json file, where you need to set the N8N_HOST and N8N_API_KEY environment variables.

Key features of n8n Workflow Builder MCP Server

  • Workflow Management (list, create, update, delete, activate, deactivate)

  • Execution Management (list, get, delete)

  • Static Resources (workflows, execution-stats)

  • Dynamic Resource Templates (workflows/{id}, executions/{id})

  • Configuration via JSON file

Use cases of n8n Workflow Builder MCP Server

  • Automating workflow deployment and management in n8n

  • Integrating n8n workflows into a larger management ecosystem

  • Providing a centralized control point for n8n workflow operations

  • Enabling programmatic access to n8n workflow management features

FAQ from n8n Workflow Builder MCP Server

What package manager does this version support?

This version exclusively supports npm for package management.

What are the required environment variables?

The required environment variables are N8N_HOST (your n8n API host URL) and N8N_API_KEY (your n8n API key).

How do I configure the server?

Server configuration is managed via the cline_mcp_settings.json file.

What if I encounter issues?

Ensure you are using npm, try cleaning the build directory and rebuilding (npm run clean && npm run build), and verify that your environment variables are correct.

What are the future enhancements?

Future enhancements include the reintroduction of npx support, additional tools and workflow features, and further enhancements to deployment and scaling.