ignition-mcp-server
ignition-mcp-server
Ignition SCADA向けの初のAI搭載開発ツール — あらゆるAIエージェントがIgnitionプロジェクトとゲートウェイを読み取り、理解し、操作できるようにするMCPサーバーです。
[!NOTE] このコネクタは、Nodeblueによる初期のコミュニティツールです。 完全なシステムは、当社の産業インテリジェンスプラットフォームであるNexusです。これらのリポジトリは、そのコネクタレイヤーにすぎません。
Nexusは、PLCロジック、SCADAシステム、ライブコントローラデータ、ドキュメント、障害履歴、MES/ERPレコードなど、運用全体を読み取り、推論します。Rockwell、Siemens、Ignition、CODESYSファミリー、そしてPLCopenを通じた500以上のブランドに対応しています。稼働中のラインの障害を診断し、運用の永続的なメモリを保持し、出典を明記して平易な英語で回答します。
Nodeblueオープンソースコネクタ
コネクタ | 機能 |
Rockwell/Allen-Bradley Studio 5000 — L5Xエクスポートを解析: タグ、UDT、ルーチン、AOI、相互参照 | |
ignition-mcp-server(このリポジトリ) | Ignition SCADA — ビュー、スクリプト、タグ、UDT、アラーム、ライブゲートウェイの読み取り/書き込み |
Ignition SCADAタグとStudio 5000 PLCロジックをエンドツーエンドで関連付けます |
このツールの機能
ignition-mcp-server は、Model Context Protocol を介して、AIエージェント(Claude、GPT、ローカルLLM)をIgnition SCADAプロジェクトに接続します。AIに構造化されたアクセスを提供します:
タグ — タグ階層の参照、フォルダパスによるフィルタリング、データ型と値の表示
Perspectiveビュー — コンポーネントツリー、バインディング、イベントハンドラ、スタイルの読み取り
スクリプト — スコープ情報付きでプロジェクトライブラリのスクリプトとゲートウェイイベントスクリプトを読み取り
UDT — メンバー詳細付きでユーザー定義型(User Defined Type)定義の一覧表示と検査
アラームパイプライン — ステージ、プロファイル、遷移を含むアラーム通知設定の読み取り
名前付きクエリ — パラメータ、データベースターゲット、型を含むSQLクエリ定義の読み取り
ライブタグの読み取り/書き込み — WebDevを介して稼働中のIgnitionゲートウェイのタグ値を読み取り。書き込みはオプトイン(
--enable-writes)スクリプト実行 — ゲートウェイスコープでゲートウェイ上にPythonスクリプトを実行(オプトイン、
--enable-writes)タグ履歴 — 時間範囲フィルタリングを使用して履歴タグデータを照会
Ignition 8.1+ プロジェクトエクスポート(.zipファイル)と8.3+ ファイルシステムベースのプロジェクト(ディレクトリ直接アクセス)の両方に対応しています。
Related MCP server: ignition-mcp
なぜこれが必要か
Ignitionは世界に約30万以上の導入実績がありますが、AIツールはゼロです。ベンダーのコパイロットも、サードパーティ製ツールも、学術研究もありません。他の主要なオートメーションプラットフォーム(Siemens、Rockwell、Schneider)にはAIアシスタントがあります。Ignitionには何もありません。
このサーバーはそのギャップを埋めます。オープンソースで、エージェントに依存せず、オフラインで動作します。
Nodeblue によって構築・保守されています。これらのコネクタは、Nexus での取り組みから生まれた初期のコミュニティツールです。Nexusでは、この機能は本番グレードで提供されており、クロスベンダー相関、ライブ障害診断、運用の永続的なメモリも備えています。
インストール
pip install ignition-mcp-serverPython 3.10+ が必要です。
代わりにソースからインストールする場合:
git clone https://github.com/nodeblue-ai/ignition-mcp-server.git
cd ignition-mcp-server
pip install .クイックスタート
stdio (ローカル — kiro-cli、Claude Desktop、Claude Code)
ignition-mcp-serverSSE (リモート — サーバーは1台のマシン、エージェントは別のマシン)
ignition-mcp-server --transport sse --port 8080ライブゲートウェイ接続
ignition-mcp-server --gateway-url https://my-gateway:8088 --gateway-username admin --gateway-password changemeこれにより、読み取り専用のライブツール(read_tag と get_history)が有効になります。APIエンドポイントが設定されたゲートウェイ上の WebDevモジュール が必要です(下記の ゲートウェイ設定 を参照)。
[!WARNING] ライブ書き込みはデフォルトで無効です。
write_tagとexecute_scriptは、稼働中のSCADAシステムの値を変更し、実際の機器を動作させる可能性があります。有効にするには、--enable-writesで明示的にオプトインする必要があります:ignition-mcp-server --gateway-url https://my-gateway:8088 --enable-writesこれは、本番環境以外のゲートウェイに対してのみ行うか、接続されたAIエージェントが操作してもよい範囲を完全に理解している場合にのみ行ってください。ゲート付きで監査され、人間の承認を必要とするライブ書き込みは、Nexus の一部です。
設定
kiro-cli
~/.kiro/settings.json に追加:
{
"mcpServers": {
"ignition": {
"command": "ignition-mcp-server",
"args": []
}
}
}ライブゲートウェイアクセスを使用する場合:
{
"mcpServers": {
"ignition": {
"command": "ignition-mcp-server",
"args": ["--gateway-url", "https://my-gateway:8088"]
}
}
}Claude Desktop
Claude Desktop MCP 設定に追加:
{
"mcpServers": {
"ignition": {
"command": "ignition-mcp-server",
"args": []
}
}
}SSE (リモート)
エンジニアリングワークステーションでサーバーを起動:
ignition-mcp-server --transport sse --host 0.0.0.0 --port 8080任意のMCPクライアントからSSE URLを使用して接続: http://<host>:8080/sse
利用可能なツール
ping
ヘルスチェック。\"pong\" を返します。
get_tags(project_path, tag_path?, provider?)
プロジェクト内のタグを参照します。オプションでフォルダパスとタグプロバイダーでフィルタリングできます。
get_tags("/path/to/project", "Conveyors/Line1")
get_tags("/path/to/project", "", "edge")タグ名、タイプ、データ型、値、ドキュメントを返します。
list_tag_providers(project_path)
プロジェクト内のすべてのタグプロバイダー名を一覧表示します(例: default、edge、MQTT)。
list_views(project_path)
プロジェクト内のすべてのPerspectiveビューパスを一覧表示します。
get_view(project_path, view_path)
Perspectiveビューのコンポーネントツリーをバインディングとイベント付きで取得します。
get_view("/path/to/project", "Overview")コンポーネント階層、プロパティバインディング、イベントハンドラ数を返します。
list_scripts(project_path)
すべてのスクリプトをそのスコープ(gateway、client、all)とともに一覧表示します。
get_script(project_path, script_path)
プロジェクトスクリプトのソースコードを取得します。
get_script("/path/to/project", "ignition/script-python/utils")list_udts(project_path)
すべてのUDT(ユーザー定義型)定義名を一覧表示します。
get_udt(project_path, udt_name?)
メンバー詳細、パラメータ、ドキュメント付きのUDT定義を取得します。
get_udt("/path/to/project", "Motor_UDT")list_alarms(project_path)
プロジェクト内のすべてのアラームパイプライン名を一覧表示します。
get_alarm(project_path, pipeline_name)
ステージ、通知プロファイル、遷移を含むアラームパイプラインの設定を取得します。
get_alarm("/path/to/project", "MainAlarmPipeline")パイプラインのステージ(タイプ: delay、notification)、通知プロファイル名、連絡先情報、集約期間、遷移数を返します。
list_named_queries(project_path)
プロジェクト内のすべての名前付きクエリ名を一覧表示します。
get_named_query(project_path, query_name)
名前付きクエリのSQL、パラメータ、データベース接続、タイプ(Query vs Update)を取得します。
get_named_query("/path/to/project", "GetActiveFaults")SQLテキスト、データ型とデフォルト値を持つパラメータ定義、ターゲットデータベース、説明を返します。
read_tag(tag_path)
ライブゲートウェイから1つ以上のタグの現在値を読み取ります。複数タグの場合はカンマ区切り。
read_tag("[default]Conveyors/Line1/Speed")
read_tag("[default]Conveyors/Line1/Speed, [default]Conveyors/Line1/Running")起動時に --gateway-url が必要です。
write_tag(tag_path, value)
ライブゲートウェイ上のタグに値を書き込みます。ブール値/数値への変換を自動的に処理します。
write_tag("[default]Conveyors/Line1/Speed", "1800")デフォルトでは無効です。 起動時に --gateway-url と --enable-writes が必要です。
execute_script(code)
Ignitionゲートウェイ上でPythonスクリプトをゲートウェイスコープで実行します。
execute_script("system.tag.readBlocking(['[default]Conveyors/Line1/Speed'])")デフォルトでは無効です。 起動時に --gateway-url と --enable-writes が必要です。
get_history(tag_path, start, end)
ゲートウェイのヒストリアンから履歴タグデータを照会します。
get_history("[default]Conveyors/Line1/Speed", "2026-04-12T00:00:00Z", "2026-04-12T12:00:00Z")起動時に --gateway-url が必要です。
対応プロジェクト形式
形式 | 使用方法 |
プロジェクトディレクトリ (8.1+ または 8.3+) |
|
プロジェクトエクスポート ( | Ignition Gateway または Designer からエクスポートした |
8.3 ファイルシステム | ゲートウェイ上の |
会話例
You: What tags are under the Conveyors folder?
Agent calls: get_tags("/projects/MyPlant", "Conveyors")
Agent: The Conveyors folder contains 2 items:
- Line1 (Folder) — 3 child tags: Running (Boolean), Speed (Float4), Faulted (Boolean)
- Line2_Motor (UDT Instance) — type: Motor_UDT
You: What does the Motor_UDT look like?
Agent calls: get_udt("/projects/MyPlant", "Motor_UDT")
Agent: Motor_UDT has 3 members:
- Running (Boolean) — Motor running status
- Faulted (Boolean) — Motor fault status
- Speed_RPM (Float4) — Motor speed in RPM
Parameters: MotorName (String)
You: Show me the Overview view
Agent calls: get_view("/projects/MyPlant", "Overview")
Agent: The Overview view has a flex container with 3 children:
1. titleLabel (ia.display.label) — bound to view.params.title
2. speedDisplay (ia.display.led-display) — bound to tag [default]Conveyors/Line1/Speed
3. startButton (ia.input.button) — has 1 onClick event handlerゲートウェイ設定
ライブツール(read_tag、write_tag、execute_script、get_history)を使用するには、Ignitionゲートウェイに WebDevモジュール が必要で、以下のRESTエンドポイントが設定されている必要があります:
エンドポイント | メソッド | 目的 |
| POST | タグ値を読み取り |
| POST | タグ値を書き込み |
| POST | ゲートウェイスクリプトを実行 |
| POST | タグ履歴を照会 |
/api/tags/read 用のWebDev Pythonリソースの例:
def doPost(request, session):
import json
body = json.loads(request["data"])
paths = body.get("tagPaths", [])
values = system.tag.readBlocking(paths)
return {
"json": [
{"path": str(v.path), "value": v.value, "quality": str(v.quality)}
for v in values
]
}完全なセットアップ手順については、Ignition WebDevドキュメント を参照してください。
ロードマップ
v0.2 — アラームと名前付きクエリ ✅
list_alarms/get_alarm— アラームパイプライン設定を解析list_named_queries/get_named_query— パラメータ付きSQL名前付きクエリを解析
v0.3 — ライブゲートウェイ連携 ✅
read_tag(tag_path)/write_tag(tag_path, value)— Ignition WebDevモジュールを介したライブタグ操作execute_script(code)— ゲートウェイ上でスクリプトを実行get_history(tag_path, start, end)— タグ履歴を照会
v0.4 — クロスプラットフォームインテリジェンス ✅
bridge-mcp-server を介してIgnitionタグをStudio 5000 L5X PLCロジックと相互参照
「タグXがtrueになるとこのアラームが発生する — ここにXを駆動するPLCロジックがあります」
タグサマリーでのOPCアイテムパス抽出(
opcItemPath、opcServer)
v0.5 — 書き込み安全ゲート ✅
write_tag/execute_scriptはデフォルトで無効 —--enable-writesでオプトインツールの説明とCLIヘルプに安全警告を追加
メンテナンス
PyPI公開(
pip install ignition-mcp-server)新リリースに合わせたIgnitionバージョン形式のサポート
実際のプロジェクトエクスポートからのバグ修正とエッジケース対応 — issue歓迎
このコネクタは、そのスコープにおいて機能完成しています: 単一プロジェクトの理解とゲートウェイ接続。そのスコープを超える開発はNexusで行われます。
このコネクタとNexusの比較
コネクタはアクセスレイヤーです。Nexus は、その上に、そして他のすべてのコネクタの上に、単一のシステムとして位置するインテリジェンスです。
機能 | このコネクタ | Nexus |
Ignition プロジェクトの解析(タグ、ビュー、スクリプト、UDT、アラーム、クエリ) | ✅ | ✅ |
ライブゲートウェイ読み取り / 履歴 | ✅ | ✅ |
ライブ書き込み | ⚠️ オプトインフラグ、未監査 | ✅ ゲート付き、監査済み、人間による承認 |
クロスベンダー: Rockwell, Siemens, CODESYS ファミリー(500+ ブランド)、OPC UA | — | ✅ |
稼働ラインのライブ故障診断(根本原因、引用付き) | — | ✅ |
ナレッジレイヤー: あなたのマニュアル、SFS/DOO ドキュメント、故障履歴 — 検索可能、ロジックにリンク | — | ✅ |
セッションをまたぐ運用の永続メモリ | — | ✅ |
スクリプト生成、ビュー雛形、コード生成 | — | ✅ |
フリート規模: 自動検出、プラント全体の在庫、監視、アラーム | — | ✅ |
ローカルLLM / エアギャップ展開 | — | ✅ |
単一ゲートウェイ上の単一プロジェクトを超えた用途でこのコネクタを評価している場合は、Nexus についてご相談ください。
開発
git clone https://github.com/nodeblue-ai/ignition-mcp-server.git
cd ignition-mcp-server
pip install -e .
pip install pytest
pytest tests/ -vプロジェクト構成
src/ignition_mcp_server/
├── __init__.py
├── __main__.py # CLI entry point (stdio/SSE, gateway config)
├── server.py # FastMCP server with all 17 tool definitions
├── project_source.py # Read from .zip or directory (LRU-cached)
├── gateway_client.py # HTTP client for live Ignition WebDev API
└── parsers/
├── tags.py # Tag hierarchy parser (multi-provider)
├── views.py # Perspective view parser
├── scripts.py # Script discovery and reader
├── udts.py # UDT definition parser
├── alarms.py # Alarm pipeline parser
└── named_queries.py # Named query parser
tests/
├── test_server.py # 59 tests — parsers, project sources, error handling
├── test_gateway.py # 18 tests — live gateway tools + write gating with mock HTTP server
└── fixtures/
├── sample-project/ # Synthetic Ignition project (directory)
└── sample-project.zipコントリビューション
貢献は歓迎します。これはMITライセンスのオープンソースプロジェクトです。
共有できる実際のIgnitionプロジェクトのエクスポート(または匿名化されたバージョン)があれば、エッジケースのテストに特に価値があります。
ライセンス
Available Tools
17 toolsexecute_scriptA
Execute a Python script on the Ignition gateway and return the result.
DISABLED by default — requires the server to be started with --gateway-url AND --enable-writes. Scripts run in gateway scope with access to system.* functions and can change gateway state or actuate equipment.
Args: code: Python code to execute on the gateway.
Inputs: code (required). Returns: Generic wrapper for non-object return types.
get_alarmA
Get an alarm pipeline's configuration including stages, notifications, and transitions.
Args: project_path: Path to Ignition project directory or .zip export. pipeline_name: Alarm pipeline name (from list_alarms output).
Inputs: project_path (required), pipeline_name (required). Returns: Generic wrapper for non-object return types.
get_historyA
Query historical tag data from a live Ignition gateway.
Requires the server to be started with --gateway-url and a historian configured on the gateway.
Args: tag_path: Full tag path (e.g. "[default]Conveyors/Line1/Speed"). start: Start time as ISO 8601 (e.g. "2026-04-12T00:00:00Z"). end: End time as ISO 8601 (e.g. "2026-04-12T12:00:00Z").
Inputs: end (required), start (required), tag_path (required). Returns: Generic wrapper for non-object return types.
get_named_queryA
Get a named query's SQL, parameters, database connection, and type.
Args: project_path: Path to Ignition project directory or .zip export. query_name: Named query name (from list_named_queries output).
Inputs: query_name (required), project_path (required). Returns: Generic wrapper for non-object return types.
get_scriptA
Get the source code of an Ignition project script.
Args: project_path: Path to Ignition project directory or .zip export. script_path: Script resource path (from list_scripts output).
Inputs: script_path (required), project_path (required). Returns: Generic wrapper for non-object return types.
get_tagsA
Get tags from an Ignition project, optionally filtered by folder path.
Args: project_path: Path to Ignition project directory or .zip export. tag_path: Optional folder path to filter (e.g. "Conveyors/Line1"). provider: Tag provider name (default: "default"). Use list_tag_providers to discover.
Inputs: project_path (required), provider, tag_path. Returns: Generic wrapper for non-object return types.
get_udtB
Get UDT definition(s) with member details.
Args: project_path: Path to Ignition project directory or .zip export. udt_name: Optional UDT name. If empty, returns all UDTs.
Inputs: project_path (required), udt_name. Returns: Generic wrapper for non-object return types.
get_viewA
Get a Perspective view's component tree, bindings, and structure.
Args: project_path: Path to Ignition project directory or .zip export. view_path: View path (e.g. "Overview" or "Screens/MotorDetail").
Inputs: view_path (required), project_path (required). Returns: Generic wrapper for non-object return types.
list_alarmsB
List all alarm pipeline names in an Ignition project.
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
list_named_queriesA
List all named query names in an Ignition project.
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
list_scriptsA
List all scripts in an Ignition project with their scope.
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
list_tag_providersA
List all tag provider names in an Ignition project (e.g. 'default', 'edge').
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
list_udtsB
List all UDT (User Defined Type) names in an Ignition project.
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
list_viewsA
List all Perspective view paths in an Ignition project.
Args: project_path: Path to Ignition project directory or .zip export.
Inputs: project_path (required). Returns: Generic wrapper for non-object return types.
pingA
Health check — verify the server is running.
Inputs: no named parameters. Returns: Generic wrapper for non-object return types.
read_tagA
Read the current value of one or more tags from a live Ignition gateway.
Requires the server to be started with --gateway-url pointing to an Ignition gateway with the WebDev module installed.
Args: tag_path: Tag path(s), comma-separated for multiple (e.g. "[default]Conveyors/Line1/Speed").
Inputs: tag_path (required). Returns: Generic wrapper for non-object return types.
write_tagA
Write a value to a tag on a live Ignition gateway.
DISABLED by default — requires the server to be started with --gateway-url AND --enable-writes. Writing to a live gateway can actuate real equipment. The value is sent as-is; the gateway handles type coercion.
Args: tag_path: Full tag path (e.g. "[default]Conveyors/Line1/Speed"). value: Value to write (string representation — gateway coerces to tag data type).
Inputs: value (required), tag_path (required). Returns: Generic wrapper for non-object return types.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools target distinct resources (alarms, views, scripts, UDTs, queries, tags) and separate project inspection from live gateway operations. There is minor potential overlap between get_tags and read_tag, and get_udt can return all UDTs when no name is given, but descriptions generally clarify the boundaries.
Tool names consistently use snake_case with predictable verb_noun forms such as list_alarms, get_view, list_named_queries, read_tag, and write_tag. The only non-resource verb is ping, which is a standard health-check name and does not break the overall pattern.
With 17 tools, the server is slightly above the ideal 3–15 range, but the breadth is justified by covering several distinct Ignition resource families plus live gateway operations. Each tool has a clear role, so the count feels reasonable rather than bloated.
The set provides strong read/list coverage for alarms, tags, views, scripts, UDTs, and named queries, plus live read/write/script/history operations. However, there are no create, update, or delete tools for project resources, which leaves notable lifecycle gaps for an Ignition management surface.
Maintenance
Related MCP Connectors
An MCP gateway for teams deploying AI tools at scale to employee-facing and headless agents.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
One connector for 15,000+ MCP servers plus your team's private MCPs, from any AI client.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceMCP server that connects AI assistants to Siemens TIA Portal via the Openness API. AI-assisted PLC programming, project management, hardware configuration, cross-reference analysis, and deployment. 19 tools, 230 actions.67-
- AlicenseCqualityCmaintenanceMCP server for Inductive Automation Ignition, enabling AI assistants to browse and write tags, query history and alarms, manage projects, and deploy Perspective views through natural language.4336 PyPI1MIT
- AlicenseNot gradedqualityDmaintenanceThe first and only MCP server for PLC (Programmable Logic Controller) intelligence. Give any AI agent direct access to industrial automation data — ladder logic, tag databases, cross-references, fault root cause analysis, and sequence blockersMIT
- AlicenseAqualityDmaintenanceAn MCP server that provides AI assistants with real-time access to Inductive Automation Ignition documentation, enabling accurate answers on Ignition-specific topics by searching live docs and fetching full pages.3MIT