LN

ljmerza/nodered-mcp

Developer tools

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

24 stars 3 forks 品質 80 トレンド 30MIT

Node-RED Flows.json の読み込み、クエリ、および編集用の MCP サーバー

概要

Node-RED 用の MCP サーバー。 MCP クライアントからフローを読み、編集し、デプロイします。 このサーバーでは、MCP クライアントが Node-RED インスタンスで動作します。タブ、ノード、ワイヤ、グループ、サブフロー、コンフィグノード。 それらを読み、それらを編集し、実行インスタンスに結果をデプロイすることができます。 Admin API で Node-RED に接続したり、flows.json ファイルを直接読み書きしたりできます。 どちらの方法でも、ツールはNode-RED形式を理解しています。 フローノードをコンフィグノードから伝え、タブを渡る線を追って、エディタが同じようにグループボックスをサイズ化できます。 - リストタブ、グループ、サブフロー、または識別されたノード、およびそれらを参照するものとともに構成ノード。 名前、種類、タブで検索します。 ノードからノードにワイヤをトレースします。 - ノードの作成、更新、名前変更、重複、削除 有効化して無効にします。 ワイヤーとワイヤを解除し、既存のワイヤーに1つを差し込み、またはその周りのトラフィックルートをバイパスします。 - グループを作成、ポップアップ、リスタイル、削除します。 タブの作成、名前変更、並び替え、削除.

概要(AI 翻訳)

Node-RED 用の MCP サーバー。 MCP クライアントからフローを読み、編集し、デプロイします。

について

このサーバーでは、MCP クライアントが Node-RED インスタンスで動作します。タブ、ノード、 ワイヤー、グループ、サブフロー、および構成ノード。 それらを読み、それらを編集し、そして 実行中のインスタンスに結果をデプロイします。

Admin API で Node-RED に接続したり、読み込みや書き込みを行います。 [[flows.json]] 直接ファイル。 どちらの方法でも、ツールはNode-REDを理解しています フォーマット。 フローノードをコンフィグノードから伝え、線を越える タブ、グループボックスのサイズ、エディタが同じようにします。

##特徴

  • 読み込み。 タブ、グループ、サブフロー、または識別されたノード、および構成ノードをリスト それらを参照するものと共に。 名前、種類、タブで検索します。 ワイヤーをトレース ノードからノードへ。
  • ノードの編集。 ノードの作成、更新、名前変更、重複、削除 有効化して無効にします。 ワイヤーとワイヤを解除し、それらを既存のものに差し込みます ワイヤー、またはその周りのトラフィックルートをバイパスします。 -グループとタブの編集。 グループを作成、ポップアップ、リスタイル、削除します。 タブの作成、名前変更、並び替え、削除 ノードのインポートとエクスポートセット。
  • レイアウト。 ノードを配置する前に、無料の領域を尋ねるので、

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

README

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

nodered-mcp

An MCP server for Node-RED. Read, edit, and deploy your flows from an MCP client.

About

This server lets an MCP client work with a Node-RED instance: tabs, nodes, wires, groups, subflows, and config nodes. It can read them, edit them, and deploy the result to the running instance.

It connects to Node-RED through the Admin API, or reads and writes a flows.json file directly. Either way, the tools understand the Node-RED format. They can tell a flow node from a config node, follow a wire across tabs, and size a group box the same way the editor does.

Features

  • Reading. List tabs, groups, subflows, orphaned nodes, and config nodes along with what references them. Search by name, type, or tab. Trace a wire from node to node.
  • Editing nodes. Create, update, rename, duplicate, and delete nodes. Enable and disable them. Wire and unwire them, insert one into an existing wire, or bypass one so traffic routes around it.
  • Editing groups and tabs. Create, populate, restyle, and delete groups. Create, rename, reorder, and delete tabs. Import and export sets of nodes.
  • Layout. Ask for a free region before placing nodes, so you do not have to guess coordinates. Check the canvas for overlapping nodes and groups, fix them, and repack a tab’s groups into columns.
  • Batching. Edits stay in memory until you save or deploy, so a build with many nodes lands as a single change. Use diff to see what will change, and undo to step back one call at a time.
  • Safety checks. A layout gate blocks any write that creates a new overlap. A staleness check blocks any write that would overwrite a deploy someone made from the browser while you were working.

Requirements

  • Python 3.11 or newer. The only dependency is fastmcp.
GitHub で README 全文を見る

インストール

uvx nodered-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "nodered": { "type": "stdio", "command": "uvx", "args": ["nodered-mcp"], "env": { "NODERED_URL": "http://localhost:1880" } } } }