# n8n-workflow-builder

> MCP Server

This repository provides an MCP server for managing n8n workflows, enabling users to list, create, update, and control workflow states using npm. Configuration relies on environment variables and a JSON settings file.

## Overview

- **Category:** Productivity
- **Language:** JavaScript
- **Stars:** 541
- **Forks:** 29
- **Owner:** makafeli
- **GitHub:** https://github.com/makafeli/n8n-workflow-builder
- **Created:** 2025-01-14T21:43:54+00:00
- **Updated:** 2025-03-28T23:09:34+00:00
- **Source:** https://model-context-protocol.com/servers/n8n-workflow-management-api-server

## Setup

## Setup

1.  Clone the repository: `git clone https://github.com/makafeli/n8n-workflow-builder.git` and navigate to the project directory: `cd /root/n8n-workflow-builder`.
2.  Install dependencies: `npm install`.
3.  Build the project: `npm run build`.
4.  Start the MCP Server: `npm start`.
5.  Configure environment variables `N8N_HOST` and `N8N_API_KEY` in `cline_mcp_settings.json`.

## Tools

## Available Tools

1.  list_workflows (Lists all workflows from n8n)
2.  create_workflow (Creates a new workflow in n8n)
3.  get_workflow (Retrieves a workflow by its ID)
4.  update_workflow (Updates an existing workflow)
5.  delete_workflow (Deletes a workflow by its ID)
6.  activate_workflow (Activates a workflow by its ID)
7.  deactivate_workflow (Deactivates a workflow by its ID)
8.  list_executions (Lists all workflow executions with optional filters)
9.  get_execution (Retrieves details of a specific execution by its ID)
10. delete_execution (Deletes an execution by its ID)
