ignition-mcp
MCP 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.
README
<!-- mcp-name: io.github.jsgorana/ignition-mcp -->
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.
You: "Deploy a Perspective dashboard to a new project called LineOverview with a
gauge bound to [default]Line1/Speed."
Claude: (bootstraps the project, writes the view, wires the tag binding, triggers a scan)
-> https://gateway:8088/data/perspective/client/LineOverview
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
pipx install ignition-mcp
# or: uvx ignition-mcp
# or: pip install ignition-mcp
3. Configure your MCP client
Claude Desktop (claude_desktop_config.json) or Claude Code (.mcp.json):
{
"mcpServers": {
"ignition": {
"command": "ignition-mcp",
"env": {
"IGNITION_URL": "http://localhost:8088",
"IGNITION_API_TOKEN": "claude:YOUR_SECRET_HERE"
}
}
}
}
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:
"env": {
"IGNITION_URL": "http://localhost:8088",
"IGNITION_API_TOKEN": "claude:YOUR_SECRET_HERE",
"IGNITION_BRIDGE_SECRET": "a-long-random-string",
"IGNITION_ALLOW_WRITES": "true"
}
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
| Variable | Required | Default | Meaning |
|---|---|---|---|
IGNITION_URL |
yes | none | Gateway base URL, e.g. http://localhost:8088 |
IGNITION_API_TOKEN |
yes | none | API key, name:secret |
IGNITION_BRIDGE_SECRET |
no | unset | HMAC secret for the bridge; bridge tools are disabled without it |
IGNITION_ALLOW_WRITES |
no | false |
Master switch for every mutating tool |
IGNITION_TLS_VERIFY |
no | true |
Set to false for self-signed dev gateways |
IGNITION_TIMEOUT_S |
no | 30 |
Per-request timeout, in seconds |
IGNITION_TAG_WRITE_ALLOWLIST |
no | unset | Comma-separated glob patterns; tag writes outside them are refused |
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
| Area | Tools |
|---|---|
| Diagnostics | ignition_diagnose, gateway_info, gateway_trial_status, gateway_trial_reset |
| Tags | tag_browse, tag_read, tag_write, tag_create, tag_config_export, tag_config_import |
| History | history_query, history_providers |
| Alarms | alarm_status, alarm_journal, alarm_acknowledge |
| Projects | project_list, project_get, project_create, project_delete, project_export, project_import, project_scan |
| Perspective | perspective_bootstrap_project, perspective_list_views, perspective_get_view, perspective_upsert_view, perspective_delete_view, perspective_validate_view, perspective_page_config_get/set, perspective_session_props_get, perspective_style_upsert, perspective_list_sessions |
| Gateway admin | gateway_modules, gateway_logs_query, gateway_logger_set_level, gateway_backup, gateway_performance, config_resource_list |
| Database | db_run_named_query, db_query |
| Bridge | bridge_install, bridge_status |
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
git clone https://github.com/jsgorana/ignition-mcp
cd ignition-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
ruff check src tests # lint
pytest tests/unit # unit tests, no gateway needed
python bridge/build_zip.py # rebuild the bridge project archive
# Live integration suite (needs a real 8.3 gateway with the bridge installed):
IGNITION_URL=... IGNITION_API_TOKEN=... IGNITION_BRIDGE_SECRET=... \
IGNITION_ALLOW_WRITES=true python tests/live/live_check.py
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。