
Ignition MCP
io.github.jsgorana由 GitHub 帳號 jsgorana 發布v0.1.3更新於 Oct 25, 2026
MCP server for Inductive Automation Ignition: tags, alarms, history, and Perspective
概覽
適用於 Inductive Automation Ignition 閘道器的 MCP 伺服器,讓助理瀏覽與寫入標籤、查詢歷史與警報、管理專案並部署 Perspective 檢視。
- 可以做什麼
- 診斷閘道器並檢視其資訊、試用狀態、模組、日誌、備份與效能,列出設定資源,並透過閘道器執行具名或臨時資料庫查詢。瀏覽、讀取、寫入、建立、匯出與匯入標籤,查詢標籤歷史及其提供者。檢視警報狀態與日誌,並確認警報。列出、取得、建立、刪除、匯出、匯入與掃描專案。初始化專案,並列出、取得、建立、更新、刪除、驗證 Perspective 檢視,設定頁面、樣式與工作階段。安裝並檢查啟用即時標籤、警報、歷史與 Perspective 工具的 bridge WebDev 專案。
- 適用情境
- 適用於助理需要操作 Ignition 8.3 閘道器的情境:檢查標籤、警報與歷史,管理專案,或依範本撰寫並部署 Perspective 檢視。預設為唯讀;啟用寫入適用於希望助理在閘道器上進行變更的維運人員。
- 執行需求
- 以 Python 套件形式在本機執行(pipx、uvx 或 pip)。需要 IGNITION_URL(閘道器基礎位址)與 IGNITION_API_TOKEN(name:secret 形式的 API 金鑰),並在閘道器上授予讀寫權限。即時標籤、警報、歷史與 Perspective 工具需要在閘道器上安裝 mcp-bridge WebDev 專案並設定 IGNITION_BRIDGE_SECRET。選用設定包括 TLS 驗證、逾時與標籤寫入允許清單。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ignition MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ignition-mcp
An MCP (Model Context Protocol) server for Inductive Automation Ignition. It gives an AI assistant, Claude Desktop, Claude Code, or any MCP client, structured access to an Ignition gateway: browse and write tags, query history and alarms, manage projects, and deploy full Perspective views.
Tested against Ignition 8.3. 43 tools spanning tags, history, alarms, projects, gateway administration, and Perspective. The server is read-only by default; every write is gated behind an explicit opt-in.
Why two planes
Ignition 8.3 ships a native REST API, but it doesn't expose live tag values, tag history, alarm
queries, or Perspective view resources. ignition-mcp covers the gap with two transport planes:
- REST plane. The gateway's native
/data/api/v1API, authenticated with an API key, used for projects, gateway configuration, modules, logs, backups, and Perspective session diagnostics. - Bridge plane. A small WebDev project (
mcp-bridge) you install once on the gateway. It exposes the gateway scripting surface (system.tag.*,system.alarm.*,system.db.*, and project file I/O) over HMAC-signed HTTP requests.
Tools that need the bridge degrade with a clear message if it isn't installed. Run
ignition_diagnose any time to see what's configured and what's missing.
Quickstart
1. Create an API key on the gateway
Gateway web UI -> Config -> Security -> API Keys -> Create. Give it a name, for example claude.
Copy the full token; it looks like claude:AbCd....
The key's auto-created security level (Authenticated/<key-name>) needs to be granted gateway
read/write access under Config -> Security -> General -> Gateway Read/Write Permissions. Skip
this step and calls return HTTP 403; ignition_diagnose will tell you and give the exact fix.
2. Install ignition-mcp
3. Configure your MCP client
Claude Desktop (claude_desktop_config.json) or Claude Code (.mcp.json):
Restart the client and ask it to run ignition_diagnose. You should get an all-green checklist,
aside from a warning about the bridge, which is the next step.
4. Install the bridge (recommended, needed for live data and Perspective deploys)
Generate a random secret, enable writes, and let the server install the bridge for you:
Ask your assistant to install the bridge (this runs the bridge_install tool), then run
ignition_diagnose again to confirm the bridge check is green. See
docs/bridge.md for the manual install path and troubleshooting.
Configuration
Safety model
- Read-only by default. Mutating tools refuse to run unless
IGNITION_ALLOW_WRITES=trueand the call passesconfirm=true. Your assistant setsconfirmafter you approve the action. - Destructive operations echo the name back. Deleting a project or view requires re-sending its exact name.
- A tag-write allowlist lets you restrict writable tags to specific path globs.
- REST mutations carry the API key's identity into Ignition's own audit log; bridge mutations log
to the
mcp-bridgelogger. Secrets are never logged or echoed back. - The bridge's file endpoints are confined to
data/projects/; nothing outside that tree is reachable.
Tool catalog
The server also exposes MCP resources the assistant can read to author valid Perspective views:
ignition://docs/view-schema and ignition://templates/view/{flex-basic,coordinate-basic,tag-bound-dashboard}.
Building Perspective views
See docs/perspective-authoring.md for the full writeup. In
short: the assistant reads the view-schema resource, starts from a template, validates offline
with perspective_validate_view, then deploys with perspective_upsert_view, which validates
again, writes the view, and triggers a project scan. A full round-trip example is in
examples/deploy-dashboard.md.
Development
Acknowledgments
Built on the Model Context Protocol and its Python SDK, using httpx for HTTP. The ignition-sdk-examples repository was a useful reference while working out how Ignition's module and scripting APIs fit together.
License
MIT. See LICENSE.
Disclaimer
This project is independent and community-built. It is not affiliated with, endorsed by, or sponsored by Inductive Automation. "Ignition" and "Perspective" are trademarks of Inductive Automation, LLC, used here only to describe compatibility. Test any write-enabled tool against a non-production gateway before pointing it at something that matters.
來源:README.md,提交 fb55db3
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分