
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 分