IN

ifmelate/n8n-workflow-builder-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

52 stars 15 forks 品質 83 トレンド 8MIT

ifmelate/n8n-workflow-builder-mcp は [https://github.com/ifmelate/n8n-workflow-builder-mcp. からインポートされた MCP サーバーの候補です

概要

ifmelate/n8n-workflow-builder-mcp は [https://github.com/ifmelate/n8n-workflow-builder-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

N8nワークフローの構築と操作のためのモデルコンテキストプロトコル(MCP)サーバー。 AI のプロンプトで n8n ワークフローをビルド — Claude コード、VS コード、カーソル、および MCP 互換クライアントで動作します。

MCP サーバは正しいですか?

このサーバはn8nワークフローJSONファイルをローカルで書きます。 n8nインスタンスを実行する必要はありません。n8n 1.86.0 - 2.6.2をカバーするバンドルされたカタログからノードバージョンを選択します。

このサーバーをご使用の場合:

  • オフラインでワークフローファイルを生成し、それらをインポートしたい(またはgitにコミット)
  • は、古いホストされた n8n にあり、そのノード [typeVersion] が実際にサポートしているワークフローが必要です。 [N8N_VERSION] を設定してマッチします。

必要に応じて代替:

  • AI が n8n インスタンスでワークフローを直接ビルド、テスト、実行したい。 n8n の組み込みインスタンスレベルの MCP サーバーを使用します。
  • n8n APIで展開する大きなノードのドキュメンテーションとテンプレートライブラリを望む。 czlonkowski/n8n-mcp を使用してください。
  • 2.6.2 の後の n8n で加えられたノードを必要とします。 バンドルされたカタログにはまだありません。

デモビデオ:

カーソルルール

  • ルールのファイル [rules/n8n-mcp-server-rules.mdc]

主な特長

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

n8n Workflow Builder MCP

A Model Context Protocol (MCP) server for building and manipulating n8n workflows. Build n8n workflows just by prompting with AI — works with Claude Code, VS Code, Cursor, and any MCP-compatible client.

Is this the right MCP server for you?

This server writes n8n workflow JSON files locally. It doesn’t need a running n8n instance, and it picks node versions from a bundled catalog that covers n8n 1.86.0 – 2.6.2.

Use this server if you:

  • want to generate workflow files offline and import them yourself (or commit them to git)
  • are on an older self-hosted n8n and need workflows whose node typeVersions your instance actually supports. Set N8N_VERSION to match it.

Consider an alternative if you:

  • want the AI to build, test and run workflows directly in your n8n instance. Use n8n’s built-in instance-level MCP server.
  • want a large node documentation and template library with deployment through the n8n API. Use czlonkowski/n8n-mcp.
  • need nodes added in n8n after 2.6.2. They aren’t in the bundled catalog yet.

DEMO VIDEO:

Cursor rules

  • File with rules is in rules/n8n-mcp-server-rules.mdc

Key Features

  • Workflow Management: Create, update, and execute n8n workflows programmatically (execute is not implemented yet)
  • Node Discovery: Explore available n8n nodes and their capabilities
  • Connection Management: Create connections between workflow nodes
  • AI Integration: Special tools for connecting AI components in workflows
  • AI-Friendly Interface: Designed specifically for interaction with AI agents
  • N8N Version Management: Automatic version detection and compatibility handling - supports 184+ n8n versions (1.86.0 – 2.6.2) with dynamic node filtering and “closest lower version” matching for backward compatibility

Prerequisites

  • Node.js (v18 or higher)
  • npm (for npx command)
  • An MCP-compatible client (Claude Code, VS Code, Cursor, etc.)

Installation & Setup

Getting your n8n API Key

The API key is optional. The server only uses N8N_API_URL/N8N_API_KEY to detect your n8n version. To work fully offline, skip them and set N8N_VERSION (e.g. N8N_VERSION=1.123.2) instead.

  1. Open your n8n instance in a browser
  2. Go to Settings > API Keys
  3. Click Create API Key
  4. Copy the generated key and use it in your configuration

Add the MCP server using the Claude Code CLI:

GitHub で README 全文を見る

インストール

npx -y n8n-workflow-builder-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "n8n-workflow-builder": { "command": "npx", "args": ["-y", "n8n-workflow-builder-mcp"], "env": { "N8N_API_URL": "http://localhost:5678", "N8N_API_KEY": "your-n8n-api-key-here" } } } }