AC

alicankiraz1/cursor-n8n-builder

Developer tools

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

59 stars 12 forks 品質 71 トレンド 13MIT

カーソル n8n ワークフロー ビルダー MCP

概要

Cursor IDE の AI アシスタントが n8n REST API を通じて n8n ワークフローを管理できるモデルコンテキストプロトコル (MCP) サーバー。 - : ワークフローの作成、更新、削除、リスト - : ワークフローの有効化と非アクティブ化 - : 実行履歴と詳細を表示 - : Webhook URL によるトリガーワークフロー - : AI アシスタントのための組み込みヘルプシステム - : 一般的な n8n ノードの種類と構成 - : 応答性バックオフによる自動再試行 グローバルな設定で ~/.cursor/mcp.json を作成または編集します。 1。 n8nインスタンス2にログインします。 トップページ > 3. 4 をクリックします。 生成されたキーをコピーする n8n get node info ツールは、これらの共通ノードに関する情報を提供します。 - : webhook, scheduleTrigger, ManualTrigger - : httpRequest, code, set, if, merge - : splitInBatches, responseToWebhook サーバは、堅牢なエラー処理を含みます。 - : 失敗したリクエストは最大3回取得されます - : retries間の遅延の増加 - : エラーメッセージには、解像度のヒントが含まれています - : APIリクエストの30秒のタイムアウト

概要(AI 翻訳)

Cursor IDE の AI アシスタントが n8n REST API を通じて n8n ワークフローを管理できるモデルコンテキストプロトコル (MCP) サーバー。

##特徴

  • ワークフロー管理: ワークフローの作成、更新、削除、リスト
  • ワークフローアクティベーション:ワークフローの有効化と非アクティブ化
  • 執行管理: 実行履歴と詳細を表示
  • Webhook Triggering: Webhook URL によるトリガーワークフロー
  • 自己文書化: AIアシスタントのための組み込みヘルプシステム
  • ノード情報:一般的なn8nノードタイプと構成 -エラー処理: 指数関数的なバックオフの自動再試行

クイックスタート

インストール

インストールスクリプトを使用する:

手動構成

グローバル構成の[~/.cursor/mcp.jsonを作成または編集します。

##n8n APIキーの取得

  1. n8nインスタンスにサインインする 2。 設定>** APIに行く 3。 [ APIキーを作成する]をクリックします**
  2. 生成されたキーをコピーする

利用可能なツール

ドキュメントとヘルプ

| ツール | 概要 | お問い合わせ | [n8n_tools_help | 利用案内・資料の入手 | | [[n8n_get_node_info | 共通n8nノードについて |

###ワークフロー管理

| ツール | 概要 | お問い合わせ

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

README

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

Cursor n8n MCP Server

A Model Context Protocol (MCP) server that enables AI assistants in Cursor IDE to manage n8n workflows through the n8n REST API.

Features

  • Workflow Management: Create, update, delete, and list workflows
  • Workflow Activation: Activate and deactivate workflows
  • Execution Management: View execution history and details
  • Webhook Triggering: Trigger workflows via webhook URLs
  • Self-Documentation: Built-in help system for AI assistants
  • Node Information: Common n8n node types and configurations
  • Error Handling: Automatic retry with exponential backoff

Quick Start

Installation

git clone https://github.com/alicankiraz1/cursor-n8n-mcp.git
cd cursor-n8n-mcp

npm install
npm run build

node dist/index.js setup

Or use the install script:

./install.sh

Manual Configuration

Create or edit ~/.cursor/mcp.json for global configuration:

{
  "mcpServers": {
    "cursor-n8n-mcp": {
      "command": "node",
      "args": ["/path/to/cursor-n8n-mcp/dist/index.js"],
      "env": {
        "MCP_MODE": "stdio",
        "LOG_LEVEL": "error",
        "N8N_API_URL": "https://your-n8n-instance.com",
        "N8N_API_KEY": "your-api-key"
      }
    }
  }
}

Getting n8n API Key

  1. Log in to your n8n instance
  2. Go to Settings > API
  3. Click Create API Key
  4. Copy the generated key

Available Tools

Documentation & Help

Tool Description
n8n_tools_help Get usage guide and documentation
n8n_get_node_info Get information about common n8n nodes

Workflow Management

Tool Description
n8n_list_workflows List all workflows
n8n_get_workflow Get workflow details by ID
n8n_create_workflow Create a new workflow
n8n_update_workflow Update an existing workflow
n8n_delete_workflow Delete a workflow
n8n_activate_workflow Activate a workflow
n8n_deactivate_workflow Deactivate a workflow

Execution Management

Tool Description
n8n_list_executions List execution history
n8n_get_execution Get execution details
n8n_delete_execution Delete an execution record
n8n_trigger_webhook Trigger a workflow via webhook

System

Tool Description
n8n_health_check Check n8n API connectivity

Usage Examples

Check Connection

"Check the n8n connection"

List Workflows

"List all workflows in n8n"

Create a Workflow

"Create a webhook workflow that responds with the received data"

Get Node Information

"Show me how to configure a webhook node"

CLI Commands

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "cursor-n8n-mcp": { "command": "node", "args": ["/path/to/cursor-n8n-mcp/dist/index.js"], "env": { "MCP_MODE": "stdio", "LOG_LEVEL": "error", "N8N_API_URL": "https://your-n8n-instance.com", "N8N_API_KEY": "your-api-key" } } } }