Ignition MCP

Registre officiel Autres

MCP server for Inductive Automation Ignition: tags, alarms, history, and Perspective

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package ignition-mcp
Claude Code
claude mcp add ignition-mcp -e 'IGNITION_URL=<IGNITION_URL>' -e 'IGNITION_API_TOKEN=<your ignition_api_token>' -e 'IGNITION_BRIDGE_SECRET=<your ignition_bridge_secret>' -e 'IGNITION_ALLOW_WRITES=<IGNITION_ALLOW_WRITES>' -- uvx ignition-mcp==0.1.3
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ignition-mcp": {
            "command": "uvx",
            "args": [
                "ignition-mcp==0.1.3"
            ],
            "env": {
                "IGNITION_URL": "<IGNITION_URL>",
                "IGNITION_API_TOKEN": "<your ignition_api_token>",
                "IGNITION_BRIDGE_SECRET": "<your ignition_bridge_secret>",
                "IGNITION_ALLOW_WRITES": "<IGNITION_ALLOW_WRITES>"
            }
        }
    }
}

Variables d'environnement

  • IGNITION_URL obligatoire Gateway base URL, e.g. http://localhost:8088
  • IGNITION_API_TOKEN obligatoire secret Ignition API key in 'name:secret' form
  • IGNITION_BRIDGE_SECRET secret HMAC secret shared with the mcp-bridge WebDev project; enables live tag/alarm/history/Perspective tools
  • IGNITION_ALLOW_WRITES Set to 'true' to enable mutating tools (each call still requires confirm=true)

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. ignition-mcp
  2. Why two planes
  3. Quickstart
  4. Configuration
  5. Safety model
  6. Tool catalog
  7. Building Perspective views
  8. Development
  9. Acknowledgments
  10. License
  11. Disclaimer

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/v1 API, 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.

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

VariableRequiredDefaultMeaning
IGNITION_URLyesnoneGateway base URL, e.g. http://localhost:8088
IGNITION_API_TOKENyesnoneAPI key, name:secret
IGNITION_BRIDGE_SECRETnounsetHMAC secret for the bridge; bridge tools are disabled without it
IGNITION_ALLOW_WRITESnofalseMaster switch for every mutating tool
IGNITION_TLS_VERIFYnotrueSet to false for self-signed dev gateways
IGNITION_TIMEOUT_Sno30Per-request timeout, in seconds
IGNITION_TAG_WRITE_ALLOWLISTnounsetComma-separated glob patterns; tag writes outside them are refused

Safety model

  • Read-only by default. Mutating tools refuse to run unless IGNITION_ALLOW_WRITES=true and the call passes confirm=true. Your assistant sets confirm after 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-bridge logger. 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

AreaTools
Diagnosticsignition_diagnose, gateway_info, gateway_trial_status, gateway_trial_reset
Tagstag_browse, tag_read, tag_write, tag_create, tag_config_export, tag_config_import
Historyhistory_query, history_providers
Alarmsalarm_status, alarm_journal, alarm_acknowledge
Projectsproject_list, project_get, project_create, project_delete, project_export, project_import, project_scan
Perspectiveperspective_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 admingateway_modules, gateway_logs_query, gateway_logger_set_level, gateway_backup, gateway_performance, config_resource_list
Databasedb_run_named_query, db_query
Bridgebridge_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
ruff format --check src tests # format check
mypy src                      # type check
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.

Questions fréquentes

Qu'est-ce que Ignition MCP ?

MCP server for Inductive Automation Ignition: tags, alarms, history, and Perspective

Comment installer Ignition MCP ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add ignition-mcp -e 'IGNITION_URL=<IGNITION_URL>' -e 'IGNITION_API_TOKEN=<your ignition_api_token>' -e 'IGNITION_BRIDGE_SECRET=<your ignition_bridge_secret>' -e 'IGNITION_ALLOW_WRITES=<IGNITION_ALLOW_WRITES>' -- uvx ignition-mcp==0.1.3. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Ignition MCP ?

Oui. Il attend IGNITION_URL, IGNITION_API_TOKEN, IGNITION_BRIDGE_SECRET, à renseigner dans sa configuration.

Ignition MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Ignition MCP ?

Il est publié par jsgorana. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.