open-index/open-npm huggingface dataset:
npm package: @iflow-mcp/n8n-workflow-builder
Description: [![smithery badge](https://smithery.ai/badge/n8n-workflow-builder)](https://smithery.ai/server/n8n-workflow-builder)
Latest version: 1.0.0

# n8n Workflow Builder MCP Server
[![smithery badge](https://smithery.ai/badge/n8n-workflow-builder)](https://smithery.ai/server/n8n-workflow-builder)

A Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.

<a href="https://glama.ai/mcp/servers/fhoynrlnpp"><img width="380" height="200" src="https://glama.ai/mcp/servers/fhoynrlnpp/badge" alt="n8n Workflow Builder Server MCP server" /></a>

## 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](https://smithery.ai/server/n8n-workflow-builder):

```bash
npx -y @smithery/cli install n8n-workflow-builder --client claude
```

### Manual Installation
1. Clone the repository:
```bash
git clone https://github.com/[your-username]/n8n-workflow-builder.git
cd n8n-workflow-builder
```

2. Install dependencies:
```bash
npm install
```

3. Compile TypeScript:
```bash
npx tsc
```

4. Start the server:
```bash
npm start
```

## Usage

The server provides a `create_workflow` tool that accepts a workflow specification:

```json
{
  "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:

```json
{
  "n8n-workflow-builder": {
    "command": "node",
    "args": ["/path/to/n8n-workflow-builder/dist/index.js"]
  }
}
```

## License
MIT