n8n-workflow-builder-mcp

n8n-workflow-builder-mcp

4

The n8n Workflow Builder MCP is an MCP server that allows you to create, update, and execute n8n workflows programmatically using AI prompts. It features workflow management, connection management, and AI-friendly integration, aiming to streamline workflow development within the Cursor IDE.

n8n Workflow Builder MCP

This project provides a Model Context Protocol (MCP) server for building and manipulating n8n workflows JSON in Cursor IDE through AI chat prompts.

Current Status

  • Early development stage
  • MCP server creates JSON files for n8n workflows
  • Issues: wrong parameters, connection issues, unverified node types

Key Features

  • Workflow Management, Node Discovery, Connection Management
  • AI Integration and AI-Friendly Interface

Prerequisites

  • Node.js, Cursor IDE, npm or yarn, TypeScript compiler

Running the Server

Start the MCP server using npm or integrate it with Cursor IDE using provided methods.

Available MCP Tools

  • Tools include create_workflow, list_workflows, get_workflow_details, add_node, edit_node, delete_node, add_connection, add_ai_connections, list_available_nodes

Troubleshooting

Steps include restarting Cursor, checking settings and logs, verifying file permissions, checking for port conflicts.

Project Structure

  • Source code in /src, tools in /src/tools, models in /src/models, configuration in /config, tests in /tests

Contributing

Submit a Pull Request after forking and branching.

License

Pending confirmation from n8n team.