Skip to main content
Glama

Ignition MCP

A local-first MCP server for Ignition 8.3 SCADA/HMI. Direct filesystem control when Ignition is on the same machine, Gateway web-session login when it is remote. No API key required. Read-only by default.

ignition-mcp exposes 164 tools across 16 modules for projects, Perspective views, project scripts, tags and UDTs, alarms, databases, history/OEE, security, historians, versioned documentation lookup and diagnostics. It is built for AI agents first: every response carries a _ctx block describing the session, and every failure is explicit (unsupported, not_connected, insufficient_data) instead of invented data.


Contents


Related MCP server: ignition-mcp-server

What you get

Area

What it does

Local-first control

Reads and writes project files, views, scripts, named queries and styles directly from an Ignition install — no HTTP, no credentials.

Remote gateway access

Session-first login with username/password; optional API token; no factory-password spraying.

164 tools

Gateway diagnostics, trial/license status, tags/UDTs, Perspective, scripting, alarms, database, history/OEE, projects, icons, security, historians, analysis, docs lookup and AI control.

Safe writes

Read-only by default; dry_run diffs, confirm=True, read-back verification, automatic local snapshots and restore.

Project analysis

Broken bindings, missing embedded views/styles, unused views, inheritance maps and generated Markdown docs.

Runtime diagnostics

ignition-mcp --doctor reports install, gateway, auth and OpenAPI coverage as JSON.


Requirements

  • Python 3.10+

  • Ignition 8.3 is the primary target. Standard edition is the reference; other editions and versions work where their endpoints match, and unsupported endpoints return a clear unsupported payload with a hint.

  • Local install (optional): Ignition on the same machine enables direct filesystem access.

  • Remote gateway (optional): the gateway URL plus a username/password, or an API token.


Install and run

With uv (recommended)

uvx ignition-mcp

With pip

pip install ignition-mcp
ignition-mcp

From a checkout

git clone https://github.com/your-org/ignition-mcp
cd ignition-mcp
uv sync
uv run ignition-mcp

The default transport is stdio, which is what Claude Desktop, Cursor and VS Code expect.

# Network transports for remote agents
ignition-mcp --transport sse --port 8080
ignition-mcp --transport http --port 8080

# Diagnostics (prints JSON and exits)
ignition-mcp --doctor

Connect to Ignition

If Ignition is installed on the same machine, the server finds it automatically. It reads data/gateway.xml, data/db/config.idb and data/projects/** directly.

# Only needed when the install is in a non-standard location
export IGNITION_INSTALL_PATH="/opt/ignition"

With local access, project reads and writes need no gateway connection and no credentials.

Remote gateway

export IGNITION_GATEWAY_URL="http://192.168.1.50:8088"
export IGNITION_USERNAME="operator"
export IGNITION_PASSWORD="secret"

The client logs in to the Gateway web session (/main/webapp/j_security_check) and reuses the session cookie. An API token is optional:

export IGNITION_API_TOKEN="..."   # optional fallback only

Discovery order

AutoConnect tries, in order:

  1. Explicit URL (IGNITION_GATEWAY_URL or a config file)

  2. Local Ignition install scan

  3. OS credential store (Windows Credential Manager / macOS Keychain / Linux keyring)

  4. mDNS (_ignition._tcp.local)

  5. Port scan of localhost on 8088, 8043, 8060 and 8090

It stops at the first usable result. If no gateway is found, local filesystem tools still work.

Verify the connection

ignition-mcp --doctor

The report includes the detected install path, gateway URL, auth method, OpenAPI endpoint count and a capability matrix. It never prints passwords or tokens.


Client setup

Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS:

{
  "mcpServers": {
    "ignition": {
      "command": "uvx",
      "args": ["ignition-mcp"]
    }
  }
}

Add an env block only when you want to skip discovery:

{
  "mcpServers": {
    "ignition": {
      "command": "uvx",
      "args": ["ignition-mcp"],
      "env": {
        "IGNITION_GATEWAY_URL": "http://192.168.1.50:8088",
        "IGNITION_USERNAME": "operator",
        "IGNITION_PASSWORD": "secret"
      }
    }
  }
}

Cursor

.cursor/mcp.json:

{
  "mcpServers": {
    "ignition": {
      "command": "uvx",
      "args": ["ignition-mcp"]
    }
  }
}

VS Code

.vscode/mcp.json:

{
  "servers": {
    "ignition": {
      "type": "stdio",
      "command": "uvx",
      "args": ["ignition-mcp"]
    }
  }
}

Remote HTTP

ignition-mcp --transport http --host 0.0.0.0 --port 8080

Point the client at http://your-host:8080/mcp. Use sse instead when the client requires the older SSE transport.

Docker and Docker Compose

A non-root Dockerfile and compose.yaml are included for running Ignition 8.3 alongside ignition-mcp with read-only project access and file-based secrets:

mkdir -p secrets artifacts
printf 'your-admin-password' > secrets/gateway-admin-password
docker compose up -d --build
docker compose exec ignition-mcp /app/.venv/bin/ignition-mcp --doctor

The Compose stack keeps IGNITION_READONLY=true, mounts Ignition's data volume read-only at /ignition/data, and maps ./artifacts to /artifacts for export_project and gateway_backup. IGNITION_PASSWORD_FILE and IGNITION_API_TOKEN_FILE are also supported outside Docker.


Write safety

Writes are blocked by default.

export IGNITION_READONLY=false       # enable writes for this process

An agent can also enable writes for the current session with mcp_enable_writes (and turn them off again with mcp_disable_writes).

Every write follows the same sequence:

  1. Guard — write_guard rejects writes while read-only and requires confirm=True.

  2. Preview — call with dry_run=True to receive a unified text diff or a field-level JSON diff (changed, change_count, changes, diff).

  3. Apply — call again with confirm=True.

  4. Verify — local writes are read back and compared; tag writes read the values back from the gateway and report verified plus any mismatches.

Snapshots and restore

Before a local file is replaced, the server copies it to:

~/.ignition/mcp/snapshots/<timestamp>/

Each snapshot has a manifest.json and the original content. The newest 20 are kept.

  • mcp_list_write_snapshots — list snapshots.

  • mcp_restore_write_snapshot(snapshot_id, confirm=True) — restore one file.

Restore is itself a write: it needs writes enabled and confirm=True. Snapshots cover local file writes (views, scripts, project resources), not live tag values.

export IGNITION_MCP_SNAPSHOT_DIR="/custom/snapshot/dir"
export IGNITION_MCP_SNAPSHOT_LIMIT=20

Trial and licensing

Ignition's trial is two hours and can be reset an unlimited number of times, but only after it has expired. Pre-emptive resets are against the license agreement, so the MCP refuses them.

  • gateway_trial_status reads /data/api/v1/trial. The read needs no API token and returns license_mode, trial_status (active, expired, licensed), seconds_remaining, expired, emergency and development flags.

  • gateway_reset_trial(confirm=True) resets the timer only when expired is true. It uses the Gateway session (IGNITION_USERNAME/IGNITION_PASSWORD); no API token is required. Without an administrator session the gateway returns 401, and the tool reports authentication_required with a hint.

  • Restarting the gateway does not reset the trial. Local project files do not contain the trial timer; it is runtime state and must be read from the gateway.

gateway_trial_status
# {"trial_status": "expired", "seconds_remaining": 0, "expired": true, ...}

gateway_reset_trial(dry_run=True)
# {"status": "dry_run", "reset_allowed": true, ...}

gateway_reset_trial(confirm=True)
# {"status": "reset", "verified": true, "after": {"seconds_remaining": 7200, ...}}

Project exports and Gateway backups

  • export_project(project, output_path) downloads a project-only .zip from GET /data/api/v1/projects/export/{project}. It includes project resources, not tags or Gateway configuration. Without output_path, it writes to exports/<project>_<timestamp>.zip.

  • create_project_backup(project, output_path) is the same project export under a backup-oriented name; it defaults to project_backups/<project>_<timestamp>.zip.

  • gateway_backup(output_path, include_peer_local, confirm=True) downloads a full .gwbk from GET /data/api/v1/backup. It includes projects, tags, Gateway configuration and credentials. Without output_path, it writes to backups/<gateway>_gateway_backup_<timestamp>.gwbk.

All three use the Gateway admin session (IGNITION_USERNAME/IGNITION_PASSWORD) and do not require an API token. Without an admin session the gateway returns 401. gateway_backup requires confirm=True because it can be large; use dry_run=True first. Downloads are written to a .part file and renamed only after a complete response.

export_project(project="Line1", output_path="/artifacts/Line1.zip")
gateway_backup(output_path="/artifacts/gateway.gwbk", confirm=True)
# {"status": "backup_created", "path": "/artifacts/gateway.gwbk", "verified": true, ...}

Tool catalog

The table lists representative tools. Call mcp_list_capabilities for the full, live list and the gateway feature matrix.

Module

Key tools

AI Control

mcp_connect, mcp_status, mcp_set_project, mcp_list_capabilities, mcp_discover_gateways, mcp_set_gateway, mcp_audit_log, mcp_enable_writes, mcp_disable_writes, mcp_list_write_snapshots, mcp_restore_write_snapshot, mcp_designer_status

Gateway

gateway_status, gateway_info, gateway_modules, gateway_projects, gateway_logs, gateway_diagnostics, gateway_performance, gateway_backup_status, gateway_backup, gateway_redundancy_status, gateway_restart, gateway_trial_status, gateway_reset_trial

Tags & UDTs

browse_tags, read_tag, write_tag, search_tags, get_tag_configuration, list_udts, get_udt_definition, find_udt_instances, compare_udts, find_tag_references, find_missing_feedback_tags, validate_tag_paths

Perspective

list_perspective_views, read_perspective_view, create_perspective_view, update_perspective_view, validate_perspective_view, list_page_config, inspect_component_tree, find_view_bindings, find_event_scripts, list_bindings, get_binding, list_transforms, list_property_change_scripts, list_message_handlers, get_event_script, list_view_scripts, validate_view_scripts, validate_project_scripts, set_binding, delete_binding, set_transform, delete_transform, set_property_change_script, delete_property_change_script, set_message_handler, delete_message_handler, set_event_script, delete_event_script, list_styles, add_style_class_to_component, add_custom_property, find_views_by_css, check_embedded_views, check_view_bindings

Scripting

list_project_scripts, read_project_script, write_project_script, validate_script_syntax, check_script_indentation, format_ignition_script, analyze_script, search_script_functions, find_script_dependencies, compare_script_versions, find_script_references, generate_ignition_script, access_script_console, test_code_snippet

Docs

docs_search, docs_get_page, docs_system_function, docs_expression_function, docs_component, docs_binding, docs_script_scope, docs_refresh

Alarms

list_alarm_configurations, get_active_alarms, get_alarm_history, get_alarm_pipeline, inspect_alarm_properties, find_alarm_tag_references, analyze_alarm_frequency, get_alarm_statistics

Database

list_database_connections, create_db_connection, test_db_connection, list_named_queries, read_named_query, inspect_named_query_parameters, create_named_query, write_named_query, delete_named_query, validate_sql, execute_readonly_query, test_named_query, find_database_references, find_queries_by_table

History/OEE

query_tag_history, get_production_counts, get_machine_runtime, get_downtime, calculate_availability, calculate_performance, calculate_quality, compare_shift_production, generate_production_report

Projects

create_project, list_project_resources, read_project_resource, write_project_resource, export_project, import_project, compare_project_versions, validate_project, create_project_backup, deploy_project, rollback_project, check_project_inheritance, get_parent_project

Icons

list_icons, search_icons, add_icon, edit_icon, delete_icon, get_icon_usage

Security

list_user_sources, get_user_source, create_user_source, edit_user_source, list_identity_providers, get_identity_provider, create_identity_provider, edit_identity_provider, list_roles, get_audit_profile_data

Historians

list_historians, get_historian, create_historian, edit_historian, get_historian_status, list_history_providers

Analysis

analyze_project, project_dependency_map, generate_project_docs, search_project_text

Phase 4 stubs

list_devices, add_device, get_device_status, browse_opc_server, read_opc_node, list_simulators, create_simulator, create_simulator_tags — registered but return unsupported


Guide for AI agents

Start every session

  1. Call mcp_connect. Read the returned _ctx block: gateway URL, version, edition, auth method, active project, local read availability and warnings.

  2. Call mcp_list_capabilities. Inspect gateway.features; treat unverified and unknown as "try it and handle unsupported", not as "available".

  3. Call mcp_status before long operations if the session may have expired.

Choose the right path

  • Project files (views, scripts, resources, styles, named queries): prefer local filesystem reads. They are faster and need no gateway.

  • Live values (tag reads/writes, alarms, history, gateway health): require a gateway.

  • If state.has_gateway is false, use local-only tools and explain what cannot be done.

Write protocol

Never enable writes unless the user explicitly asks for a change.

read current state
  → dry_run=True (inspect diff/changes)
  → confirm=True (apply)
  → check verified / mismatches
  → if needed: mcp_list_write_snapshots → mcp_restore_write_snapshot(confirm=True)
  • Do not call mcp_enable_writes just to "see if it works".

  • A write without confirm=True returns requires_confirmation; that is expected.

  • If a write is blocked, report the reason and the exact flag the user must change.

  • Snapshots cover local file writes only. Live tag writes are verified by read-back, not snapshotted.

Response envelope

Every tool returns:

{
  "result": { "status": "ok", "...": "..." },
  "_ctx": {
    "gateway_url": "http://localhost:8088",
    "gateway_version": "8.3.0",
    "gateway_edition": "Standard",
    "auth_method": "session_login",
    "active_project": "Line1",
    "local_read_available": true,
    "readonly_mode": true,
    "warnings": [],
    "ai_hints": []
  }
}

Status values to handle

Status

Meaning

What to do

ok / written / created / updated

Success

Continue; check verified when present

dry_run

Preview only

Inspect diff / changes, then confirm

requires_confirmation

confirm=True missing

Ask the user, then retry with confirmation

blocked

Read-only mode

Explain how to enable writes; do not retry blindly

not_connected

No gateway client

Use local tools or help the user connect

not_expired

Trial reset requested too early

Wait for expiry; pre-emptive resets are refused

authentication_required

Trial reset needs an admin Gateway session

Set IGNITION_USERNAME/IGNITION_PASSWORD

unsupported

Endpoint/module unavailable

Report the hint; do not invent a result

gateway_error

HTTP/auth failure

Report status and path; check credentials/version

insufficient_data

Metrics missing

Ask for the missing values; do not fabricate

Analysis before editing

  • analyze_project finds broken bindings, missing embedded views, missing style classes, unused views and missing parent projects.

  • project_dependency_map shows inheritance and cycles.

  • search_project_text supports literal and regex search across projects, including parents.

  • generate_project_docs produces Markdown for views, scripts, queries and styles.

Use these before large edits so you change the right resources.

Trial reset

  • Call gateway_trial_status before suggesting a reset. If trial_status is active, do not reset; wait for expiry.

  • Only call gateway_reset_trial(confirm=True) when expired is true and the user asked for it. It needs writes enabled and an administrator Gateway session, not an API token.

  • If it returns authentication_required, ask the user for Gateway credentials; never guess or spray passwords.

Self-audit

mcp_audit_log returns this session's tool actions with status and non-secret details. Use it when the user asks what changed.

Multiple gateways

Run one server instance per gateway. Within an instance, mcp_set_gateway(url) switches the active session; mcp_discover_gateways lists candidates. A shared multi-gateway registry is not implemented.


Common workflows

Inspect a project

mcp_connect
mcp_list_capabilities
mcp_set_project(project="Line1")
list_project_resources
list_perspective_views
list_project_scripts
list_named_queries

Read live tags

read_tag(paths=["[default]Line1/Count", "[default]Line1/Running"])
search_tags(query="Pump*", provider="default")

Safely edit a view

read_perspective_view(view_path="Dashboard/Overview")
update_perspective_view(view_path="Dashboard/Overview", view_json={...}, dry_run=True)
# inspect diff
update_perspective_view(view_path="Dashboard/Overview", view_json={...}, confirm=True)

Safely edit a script

read_project_script(module_path="Util")
write_project_script(module_path="Util", code="...", dry_run=True)
# inspect diff
write_project_script(module_path="Util", code="...", confirm=True)

Audit a project

analyze_project(project="Line1")
project_dependency_map(project="Line1")
generate_project_docs(project="Line1")

Diagnose a connection

ignition-mcp --doctor

Environment variables

All variables are optional; safe defaults are built in.

Variable

Default

Purpose

IGNITION_INSTALL_PATH

auto-detect

Local Ignition install root

IGNITION_GATEWAY_URL

auto-discover

Gateway base URL, e.g. http://host:8088

IGNITION_USERNAME

—

Gateway session username

IGNITION_PASSWORD

—

Gateway session password

IGNITION_API_TOKEN

—

Optional API key (X-Ignition-API-Token)

IGNITION_API_PREFIX

/data/api/v1

REST namespace prefix

IGNITION_PROJECT

first project

Initial active project

IGNITION_READONLY

true

Set false to allow writes

IGNITION_MODULES

all

Comma-separated module allow-list (e.g. gateway,tags,projects)

IGNITION_TIMEOUT

30

HTTP timeout in seconds

IGNITION_SCAN_NETWORK

true

Allow mDNS and port discovery

IGNITION_SCAN_TIMEOUT

2

Seconds per discovery probe

IGNITION_VERIFY_SSL

false

Verify TLS certificates

IGNITION_TRANSPORT

stdio

stdio, sse or http

IGNITION_HOST

127.0.0.1

Bind host for network transports

IGNITION_PORT

8080

Bind port for network transports

IGNITION_LOG_LEVEL

INFO

DEBUG, INFO, WARNING, ERROR

IGNITION_MCP_SNAPSHOT_DIR

~/.ignition/mcp/snapshots

Write-snapshot store

IGNITION_MCP_SNAPSHOT_LIMIT

20

Number of snapshots to keep


Troubleshooting

Symptom

Likely cause

Fix

not_connected for tag/history tools

No gateway URL or session

Set IGNITION_GATEWAY_URL, or run locally with IGNITION_INSTALL_PATH

unsupported for a tool

Endpoint missing on this version/edition

Check --doctor and the gateway's /openapi.json; the hint names the tried endpoints

401 / 403

Missing or rejected session login

Set IGNITION_USERNAME/IGNITION_PASSWORD; API token is optional

Writes return blocked

Read-only mode

Set IGNITION_READONLY=false or call mcp_enable_writes

Writes return requires_confirmation

confirm=True missing

Preview with dry_run=True, then confirm

Local install not found

Non-standard path

Set IGNITION_INSTALL_PATH

Slow startup

Network discovery on a large subnet

Set IGNITION_GATEWAY_URL or IGNITION_SCAN_NETWORK=false

Gateway changes not visible

Local file write vs. running gateway

Reload/deploy the project in Ignition if your setup requires it

Need to undo a local edit

Snapshot available

mcp_list_write_snapshots → mcp_restore_write_snapshot(confirm=True)

Trial expired

Two-hour trial ended

gateway_trial_status, then gateway_reset_trial(confirm=True) after expiry

Trial reset returns authentication_required

No admin Gateway session

Set IGNITION_USERNAME/IGNITION_PASSWORD; no API token needed

For deeper diagnostics, set IGNITION_LOG_LEVEL=DEBUG and inspect stderr. The MCP protocol uses stdout, so logs always go to stderr.


Development

uv sync
uv run pytest -q
uv run ruff check src tests
uv run ruff format --check src tests
uv run mypy src
uv run ignition-mcp --doctor

The test suite is fully offline: HTTP is mocked with respx, and local installs are built in temporary directories. CI runs lint, format, type checks and tests on Python 3.10–3.13.

See AGENTS.md for the architecture, conventions and agent workflow rules. See CONTRIBUTING.md for setup and PR expectations. See CHANGELOG.md for release notes.


Project layout

src/ignition_mcp/
├── __main__.py          # CLI, --doctor, transports
├── server.py            # MCP bootstrap and module registration
├── mcp_compat.py        # MCP SDK v1/v2 compatibility
├── config.py            # env → pyproject → ~/.ignition/mcp.json
├── state.py             # session, tool envelope, write guard, audit
├── safety.py            # snapshots, restore, diff previews
├── capabilities.py      # OpenAPI → feature matrix
├── doctor.py            # --doctor diagnostics
├── autoconnect/         # discovery chain + local install reader
├── client/              # Gateway HTTP client
└── modules/             # one domain per file: tags.py, perspective.py, ...

Module files expose a single register(mcp, state) function. Tool names are the public API and stay stable.


Limitations

  • REST coverage is best-effort. Ignition's API surface varies by version and edition. Tools use candidate endpoints and return unsupported when none match; /openapi.json is the authority.

  • No live gateway in CI. HTTP behaviour is tested with mocks. Verify against your own gateway with --doctor and a few read calls before relying on writes.

  • Phase 4 is stubbed. Devices/OPC-UA and Simulators tools are registered but return unsupported.

  • Snapshots are local-file only. Live tag values are verified by read-back but cannot be restored from a snapshot.

  • Local writes are filesystem writes. Depending on your project setup, Ignition may need a project reload or deploy before a running session sees the change.

  • Trial state is runtime-only. It cannot be read from local project files; use gateway_trial_status against a running gateway. Reset is refused before expiry.


License

MIT

Available Tools

172 tools
access_script_consoleB

Execute code in the Gateway Script Console.

Args: code: Jython code to execute. project: Project context. scope: Execution scope. confirm: Must be True to execute. dry_run: Validate the code without executing it.

Returns: Execution output, or a guard/preview payload.

Inputs: code (required), scope, confirm, dry_run, +1 more. Returns: object

add_custom_propertyB

Add a custom property to a component.

Args: view_path: View containing the component. component_name: Component meta.name. property_name: New property name. property_type: Perspective type, e.g. String, Int4 or Boolean. default_value: Initial value. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: The updated custom-property map or a preview payload.

Inputs: view_path (required), property_name (required), property_type (required), component_name (required), +4 more. Returns: object

add_deviceC

Add a device connection (not yet implemented).

Inputs: name (required), type (required), config (required), confirm, +1 more. Returns: object

add_iconA

Upload a custom SVG icon.

Args: name: Icon name. svg: SVG markup. confirm: Must be True to upload. dry_run: Preview without uploading.

Returns: Upload acknowledgement or a preview payload.

Inputs: svg (required), name (required), confirm, dry_run. Returns: object

add_style_class_to_componentB

Add a style class to a component.

Args: view_path: View containing the component. component_name: Component meta.name. style_class: Style class to add. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: The updated component or a preview payload.

Inputs: view_path (required), style_class (required), component_name (required), confirm, +2 more. Returns: object

analyze_alarm_frequencyB

Rank the most frequent alarms over the last N days.

Args: days: Look-back window in days. top_n: Number of alarms to return.

Returns: Ranked sources with occurrence counts.

Inputs: days, top_n. Returns: object

analyze_projectA

Analyze a project for broken bindings, missing views, styles and dead resources.

Args: project: Project name; defaults to the active project.

Returns: Issues with severity and resource paths, plus a summary and validity flag.

Inputs: project. Returns: object

analyze_scriptA

Statically analyse a script: functions, imports, complexity and issues.

Args: module_path: Dotted module path. project: Project name; defaults to the active project.

Returns: Analysis results and improvement suggestions.

Inputs: module_path (required), project. Returns: object

browse_opc_serverC

Browse an OPC-UA address space (not yet implemented).

Inputs: server_name (required), node_id. Returns: object

browse_tagsA

Browse tag providers and folders.

Args: path: Tag path to browse, e.g. [default] or [default]Equipment. recursive: Return the full subtree instead of one level.

Returns: Tag nodes with name, path, type and value type when available.

Inputs: path, recursive. Returns: object

calculate_availabilityA

Calculate availability (run time ÷ planned time).

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. planned_time_minutes: Scheduled production time. run_time_minutes: Actual running time.

Returns: Availability as a fraction and percentage.

Inputs: line (required), end_date (required), start_date (required), run_time_minutes, +1 more. Returns: object

calculate_oeeB

Calculate OEE = Availability × Performance × Quality.

Args: line: Production line label (echoed in the result). start_date: ISO-8601 window start. end_date: ISO-8601 window end. planned_time_minutes: Scheduled production time. run_time_minutes: Actual running time. total_count: Total units produced. good_count: Units that passed quality checks. ideal_cycle_seconds: Ideal seconds per unit.

Returns: Availability, performance, quality and OEE (0–1 and percentages).

Inputs: line (required), end_date (required), start_date (required), good_count, +4 more. Returns: object

calculate_performanceB

Calculate performance ((ideal cycle × count) ÷ run time).

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. run_time_minutes: Actual running time. total_count: Total units produced. ideal_cycle_seconds: Ideal seconds per unit.

Returns: Performance as a fraction and percentage.

Inputs: line (required), end_date (required), start_date (required), total_count, +2 more. Returns: object

calculate_qualityB

Calculate quality (good count ÷ total count).

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. total_count: Total units produced. good_count: Units that passed quality checks.

Returns: Quality as a fraction and percentage.

Inputs: line (required), end_date (required), start_date (required), good_count, +1 more. Returns: object

check_embedded_viewsC

Verify every embedded view reference in a project resolves.

Args: project: Project name; defaults to the active project.

Returns: Valid and broken embedded view references.

Inputs: project. Returns: object

check_project_inheritanceB

Show the full project inheritance chain.

Args: project: Project name; defaults to the active project.

Returns: The chain from the project up to its root parent.

Inputs: project. Returns: object

check_script_indentationB

Check Ignition script indentation in its real execution context.

Args: code: Script source, already decoded from view.json. context: One of :data:SCRIPT_CONTEXTS. indent_unit: auto, tab, 2 or 4.

Returns: Validity, indentation metadata and structured diagnostics.

Inputs: code (required), context, indent_unit. Returns: object

check_view_bindingsA

Validate tag bindings in a view against live tag quality.

Args: view_path: View to check. project: Project name; defaults to the active project.

Returns: Valid and broken bindings; verified is false without a gateway.

Inputs: view_path (required), project. Returns: object

compare_project_versionsB

Diff two project archives by resource path.

Args: zip_a: Path to the first archive. zip_b: Path to the second archive.

Returns: Added, removed and changed resources.

Inputs: zip_a (required), zip_b (required). Returns: object

compare_script_versionsA

Diff two versions of a script.

Args: module_path: Module path used to label the diff and load the current version. code_a: Original code; defaults to the on-disk version. code_b: New code; defaults to an empty string when omitted. project: Project name; defaults to the active project.

Returns: A unified diff and a summary of added/removed lines.

Inputs: module_path (required), code_a, code_b, project. Returns: object

compare_shift_productionA

Compare production counts across lines for one day.

Args: lines: Line tag prefixes, e.g. ["[default]Line1"]. date: Day to compare (YYYY-MM-DD). count_tag_suffix: Tag appended to each line prefix.

Returns: Per-line historian rows for the day.

Inputs: date (required), lines (required), count_tag_suffix. Returns: object

compare_udtsB

Compare two UDT definitions.

Args: udt_path_a: First UDT path. udt_path_b: Second UDT path.

Returns: Added, removed and changed member names.

Inputs: udt_path_a (required), udt_path_b (required). Returns: object

create_db_connectionB

Create a database connection.

Args: name: Connection name. driver: JDBC driver class. connect_url: JDBC connection URL. username: Database username. password: Database password (never logged). confirm: Must be True to create. dry_run: Preview without creating.

Returns: Creation acknowledgement or a guard/preview payload.

Inputs: name (required), driver (required), password (required), username (required), +3 more. Returns: object

create_historianB

Create a historian.

Args: name: Historian name. type: Historian type (SQLITE, MYSQL, ...). config: Historian configuration. confirm: Must be True to create. dry_run: Preview without creating.

Returns: Creation acknowledgement or a preview payload.

Inputs: name (required), type (required), config (required), confirm, +1 more. Returns: object

create_identity_providerB

Create an identity provider.

Args: name: Provider name. type: Provider type (SAML, OIDC, LDAP). config: Provider configuration. confirm: Must be True to create. dry_run: Preview without creating.

Returns: Creation acknowledgement or a preview payload.

Inputs: name (required), type (required), config (required), confirm, +1 more. Returns: object

create_named_queryA

Create a named query resource.

Args: path: Named query path, e.g. Production/GetCounts. query: SQL text with named parameters such as :line. parameters: Parameter definitions with name and type. query_type: Ignition query type, normally query. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: Write acknowledgement or a dry-run diff.

Inputs: path (required), query (required), confirm, dry_run, +3 more. Returns: object

create_perspective_viewA

Create a new Perspective view.

Args: view_path: Destination path, e.g. Dashboard/NewView. view_json: Full view document. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Validate and preview without writing.

Returns: Write acknowledgement, or validation issues in dry-run mode.

Inputs: view_json (required), view_path (required), confirm, dry_run, +1 more. Returns: object

create_projectA

Create a blank Ignition project directly in a local installation.

Database connections are Gateway-wide resources, not project metadata. Use create_db_connection to create them, then create named queries for the project.

Args: name: Project directory name. title: Human-readable title; defaults to the name. description: Optional project description. parent: Existing local parent project. enabled: Whether the project is enabled. inheritable: Whether child projects may inherit from this project. confirm: Must be True to create. dry_run: Validate and preview without creating.

Returns: Creation acknowledgement or a preview payload.

Inputs: name (required), title, parent, confirm, +4 more. Returns: object

create_project_backupA

Download a project backup (a project export archive).

Ignition calls this a project export; it contains project resources only, not tags or Gateway configuration. Use gateway_backup for a full .gwbk.

Args: project: Project name; defaults to the active project. output_path: Destination .zip; defaults to project_backups/<project>_<timestamp>.zip.

Returns: Backup acknowledgement with the saved path, size and ZIP validity.

Inputs: project, output_path. Returns: object

create_simulatorC

Create a simulator device (not yet implemented).

Inputs: name (required), confirm, dry_run. Returns: object

create_simulator_tagsC

Create tags on a simulator (not yet implemented).

Inputs: tags (required), simulator (required), confirm, dry_run. Returns: object

create_user_sourceB

Create a user source.

Args: name: User source name. type: Source type (INTERNAL, AD, DB, ...). config: Source configuration. confirm: Must be True to create. dry_run: Preview without creating.

Returns: Creation acknowledgement or a preview payload.

Inputs: name (required), type (required), config (required), confirm, +1 more. Returns: object

delete_bindingC

Delete one component property binding.

Inputs: property (required), component (required), view_path (required), confirm, +2 more. Returns: object

delete_event_scriptC

Delete a component event script.

Inputs: event (required), component (required), view_path (required), confirm, +2 more. Returns: object

delete_iconA

Delete a custom icon.

Args: name: Icon name. confirm: Must be True to delete. dry_run: Preview the deletion without changing the gateway.

Returns: Deletion acknowledgement.

Inputs: name (required), confirm, dry_run. Returns: object

delete_message_handlerC

Delete a component message handler by message type.

Inputs: component (required), view_path (required), message_type (required), confirm, +2 more. Returns: object

delete_named_queryA

Delete a named query resource.

Args: path: Named query path. project: Project name; defaults to the active project. confirm: Must be True to delete. dry_run: Preview the deletion without writing.

Returns: Deletion acknowledgement or a dry-run preview.

Inputs: path (required), confirm, dry_run, project. Returns: object

delete_property_change_scriptD

Delete a property-change script.

Inputs: property (required), component (required), view_path (required), confirm, +2 more. Returns: object

delete_transformC

Delete one binding transform by index.

Inputs: index (required), property (required), component (required), view_path (required), +3 more. Returns: object

deploy_projectA

Deploy a project to the gateway.

Args: project: Project name; defaults to the active project. confirm: Must be True to deploy. dry_run: Preview without deploying.

Returns: Deployment acknowledgement or a preview payload.

Inputs: confirm, dry_run, project. Returns: object

docs_bindingA

Look up binding, transform or message-handler guidance.

Args: kind: tag, property, expression, query, transform, script-transform, property-change or message-handler. version: Docs version.

Returns: The matching page and sections.

Inputs: kind (required), version. Returns: object

docs_componentB

Look up a Perspective component in the versioned manual.

Args: name: Component name or type, e.g. Button. version: Docs version.

Returns: The matching component page and sections.

Inputs: name (required), version. Returns: object

docs_expression_functionC

Look up an expression function in the versioned manual.

Args: name: Function name, e.g. ceil. version: Docs version.

Returns: The matching page, citation and extracted sections.

Inputs: name (required), version. Returns: object

docs_get_pageA

Read a versioned Ignition documentation page.

Args: path_or_url: Docs path or an official docs URL. version: Docs version used for relative paths.

Returns: Markdown/text, citation and extracted sections.

Inputs: path_or_url (required), version. Returns: object

docs_refreshA

Refresh the local docs catalog from the official sitemap.

Args: version: Docs version. confirm: Must be True to perform the network refresh.

Returns: Index summary or a confirmation request.

Inputs: confirm, version. Returns: object

docs_script_scopeB

Return scope hints and matching manual pages for an Ignition script scope.

Args: scope: Existing scripting scope such as perspective_component. version: Docs version.

Returns: Scope objects plus matching docs search results.

Inputs: scope (required), version. Returns: object

docs_system_functionB

Look up a system function in the versioned manual.

Args: name: Function name, e.g. system.perspective.sendMessage. version: Docs version.

Returns: The matching page, citation and extracted sections.

Inputs: name (required), version. Returns: object

edit_historianB

Update a historian.

Args: name: Historian name. config: New configuration. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

Inputs: name (required), config (required), confirm, dry_run. Returns: object

edit_iconA

Replace an existing custom icon.

Args: name: Icon name. svg: New SVG markup. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

Inputs: svg (required), name (required), confirm, dry_run. Returns: object

edit_identity_providerB

Update an identity provider.

Args: name: Provider name. config: New configuration. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

Inputs: name (required), config (required), confirm, dry_run. Returns: object

edit_user_sourceB

Update a user source.

Args: name: User source name. config: New configuration. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

Inputs: name (required), config (required), confirm, dry_run. Returns: object

execute_readonly_queryA

Execute a read-only SQL query.

Args: datasource: Database connection name. query: SELECT/WITH statement. params: Positional parameters. max_rows: Maximum rows to request.

Returns: Query rows or a rejection payload for non-read statements.

Inputs: query (required), datasource (required), params, max_rows. Returns: object

export_projectB

Export a project archive through the gateway.

Args: project: Project name; defaults to the active project. output_path: Destination .zip; defaults to exports/<project>_<timestamp>.zip.

Returns: Export acknowledgement with the saved path, size and ZIP validity.

Inputs: project, output_path. Returns: object

find_alarm_tag_referencesB

Find project resources that reference an alarm pipeline.

Args: pipeline_name: Pipeline name to search for.

Returns: Matching files and lines.

Inputs: pipeline_name (required). Returns: object

find_database_referencesB

Find project resources that reference a database connection.

Args: connection_name: Connection name to search for. project: Project name; defaults to the active project.

Returns: Matching resources and lines.

Inputs: connection_name (required), project. Returns: object

find_event_scriptsB

Find component event scripts in a view.

Args: view_path: View to scan. project: Project name; defaults to the active project.

Returns: Event handlers with their component and source code.

Inputs: view_path (required), project. Returns: object

find_missing_feedback_tagsB

Find command tags that have no matching feedback tag.

Args: path: Root tag path to scan. running_suffix: Feedback tag suffix (e.g. Running or Feedback). cmd_suffix: Command tag suffix (e.g. Start or Cmd).

Returns: Command tags without a sibling feedback tag.

Inputs: path, cmd_suffix, running_suffix. Returns: object

find_queries_by_tableA

Find named queries that reference a table or column.

Args: table_name: Table to search for (case-insensitive). column_name: Optional column to require as well. project: Project name; defaults to the active project.

Returns: Matching query paths.

Inputs: table_name (required), project, column_name. Returns: object

find_script_dependenciesA

Find imports and system calls used by a script module.

Args: module_path: Dotted module path. project: Project name; defaults to the active project.

Returns: Imports, system.* calls and functions defined in the module.

Inputs: module_path (required), project. Returns: object

find_script_referencesB

Find where a function or symbol is referenced in a project.

Args: function_name: Symbol to search for. project: Project name; defaults to the active project.

Returns: Matching resources and lines across the project and its parents.

Inputs: function_name (required), project. Returns: object

find_tag_referencesA

Find project resources that reference a tag path.

Args: tag_path: Tag path to search for. project: Project to search; defaults to the active project.

Returns: Matching files and lines across the project and its parents.

Inputs: tag_path (required), project. Returns: object

find_udt_instancesB

Find every instance of a UDT in a provider.

Args: udt_type: UDT type name or path. provider: Tag provider to search.

Returns: Instance paths whose type matches udt_type.

Inputs: udt_type (required), provider. Returns: object

find_view_bindingsB

Find all property bindings in a view.

Args: view_path: View to scan. project: Project name; defaults to the active project. binding_type: Optional filter such as tag or expr.

Returns: Bindings with component, property, type and config.

Inputs: view_path (required), project, binding_type. Returns: object

find_views_by_cssA

Find views and components that use a style class.

Args: css_class: Style class name to search for. project: Project name; defaults to the active project.

Returns: Matching views with the component names that use the class.

Inputs: css_class (required), project. Returns: object

format_ignition_scriptA

Preview or produce a normalized Ignition script body.

This tool formats an in-memory string; it does not write a project file. A confirmed result can be passed to a targeted write tool, which performs the snapshot and read-back.

Args: code: Script source. context: One of :data:SCRIPT_CONTEXTS. indent_unit: auto, tab, 2 or 4. dry_run: Return a diff instead of the formatted string. confirm: Must be True to return the formatted string when not dry-running.

Returns: A diff preview, a confirmation request, or the formatted code.

Inputs: code (required), confirm, context, dry_run, +1 more. Returns: object

gateway_backupA

Download a full Gateway backup (.gwbk).

The archive includes projects, tags, Gateway configuration and credentials, so treat the output as sensitive. It requires an administrator Gateway session; no API token is required. Use dry_run to preview, then confirm=True to download.

Args: output_path: Destination file or existing directory. Defaults to backups/<gateway>_gateway_backup_<timestamp>.gwbk. include_peer_local: Include peer-local data in a redundant pair. confirm: Must be True to download. dry_run: Preview the endpoint and destination without downloading.

Returns: Backup path, byte count and verification status.

Inputs: confirm, dry_run, output_path, include_peer_local. Returns: object

gateway_backup_statusB

Check the last gateway backup status.

Returns: Backup metadata when the gateway exposes it.

Inputs: no named parameters. Returns: object

gateway_diagnosticsB

Identify configuration problems and failed components.

Returns: A list of issues with severity and a summary of the checks performed.

Inputs: no named parameters. Returns: object

gateway_infoB

Get gateway version, edition, auth method and install details.

Returns: Version/edition information from the session and local install.

Inputs: no named parameters. Returns: object

gateway_logsA

Search or tail gateway logs.

Args: level: Minimum level to include (DEBUG/INFO/WARN/ERROR). keyword: Case-insensitive substring filter. lines: Number of trailing log lines to inspect.

Returns: Matching log lines and the source that produced them.

Inputs: level, lines, keyword. Returns: object

gateway_modulesB

List installed Ignition modules.

Returns: Module names, from config.idb locally or the gateway API remotely.

Inputs: no named parameters. Returns: object

gateway_performanceA

Inspect gateway resource usage (CPU, heap, threads, sessions).

Returns: Metrics extracted from the gateway status payload.

Inputs: no named parameters. Returns: object

gateway_projectsA

List projects with enabled state and inheritance parent.

Returns: Project entries from disk when available, otherwise from the gateway API.

Inputs: no named parameters. Returns: object

gateway_redundancy_statusB

Get redundancy role and synchronisation state.

Returns: Redundancy payload when the gateway is redundant.

Inputs: no named parameters. Returns: object

gateway_reset_trialA

Reset the Ignition trial timer after it has expired.

Ignition allows unlimited trial resets, but only after expiry. This tool refuses pre-emptive resets (which are against the license agreement). No API token is required: when the POST needs authentication, it logs in with the configured Gateway username/password session.

Args: confirm: Must be True to reset. dry_run: Report whether a reset is currently allowed.

Returns: Reset acknowledgement, a not-expired payload, or an authentication hint.

Inputs: confirm, dry_run. Returns: object

gateway_restartA

Restart the gateway. Disconnects every client session.

Args: confirm: Must be True to execute the restart. dry_run: Preview the impact without restarting.

Returns: Restart acknowledgement or a guard payload.

Inputs: confirm, dry_run. Returns: object

gateway_statusB

Check gateway health.

Returns: Reachability, raw gateway status, and local-install availability.

Inputs: no named parameters. Returns: object

gateway_trial_statusA

Read the gateway's trial/license state.

Uses the public /data/api/v1/trial route, so no API token is needed for the read. Trial state is runtime-only and cannot be derived from local project files.

Returns: License mode, trial state, seconds remaining, and expiry/emergency flags.

Inputs: no named parameters. Returns: object

generate_ignition_scriptB

Generate a scope-aware script scaffold.

Args: description: What the script should do, in plain language. scope: Script scope (gateway, perspective_component, tag_event, ...). template: Optional template hint such as tag_change or timer.

Returns: A scaffold with the correct context comment and a TODO marker.

Inputs: description (required), scope, template. Returns: object

generate_production_reportA

Generate a production report for several lines.

Args: lines: Line tag prefixes. start_date: ISO-8601 start. end_date: ISO-8601 end. format: json or csv.

Returns: A report document; CSV is returned as text inside the JSON envelope.

Inputs: lines (required), end_date (required), start_date (required), format. Returns: object

generate_project_docsA

Generate Markdown documentation for a project.

Args: project: Project name; defaults to the active project.

Returns: Markdown covering inheritance, views, scripts, named queries and style classes.

Inputs: project. Returns: object

get_active_alarmsB

Get currently active alarms.

Args: source_filter: Tag/source filter (* for all). state_filter: Alarm state filter (* for all). priority_filter: Optional priority filter. max_results: Maximum alarms to return.

Returns: Active alarm entries and their count.

Inputs: max_results, state_filter, source_filter, priority_filter. Returns: object

get_alarm_historyC

Get alarm journal entries for a time range.

Args: start_date: ISO-8601 start timestamp. end_date: ISO-8601 end timestamp. source_filter: Tag/source filter. max_results: Maximum events to return.

Returns: Historical alarm events.

Inputs: end_date (required), start_date (required), max_results, source_filter. Returns: object

get_alarm_pipelineB

Read alarm notification pipeline configuration.

Args: pipeline_name: Optional pipeline to select.

Returns: Pipeline configuration entries.

Inputs: pipeline_name. Returns: object

get_alarm_statisticsB

Compute alarm statistics for a time range.

Args: start_date: ISO-8601 start; defaults to 7 days ago. end_date: ISO-8601 end; defaults to now.

Returns: Event count, acknowledgement rate and most active sources.

Inputs: end_date, start_date. Returns: object

get_audit_profile_dataB

Read audit log entries.

Args: start_date: ISO-8601 start. end_date: ISO-8601 end. actor: Actor filter (* for all). action: Action filter (* for all). max_results: Maximum entries.

Returns: Audit entries.

Inputs: actor, action, end_date, start_date, +1 more. Returns: object

get_bindingB

Read one component property binding.

Args: view_path: View containing the component. component: Component meta.name. property: Property path, with or without the props. prefix. project: Project name; defaults to the active project.

Returns: The binding object, including transforms.

Inputs: property (required), component (required), view_path (required), project. Returns: object

get_device_statusC

Get a device's connection status (not yet implemented).

Inputs: device_name (required). Returns: object

get_downtimeB

Read downtime events for a line.

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. state_tag: Tag path holding machine state.

Returns: Historian rows for the state tag, or a hint when no tag is configured.

Inputs: line (required), end_date (required), start_date (required), state_tag. Returns: object

get_event_scriptB

Read one component event handler.

Args: view_path: View containing the component. component: Component meta.name. event: Event key, such as onActionPerformed. project: Project name; defaults to the active project.

Returns: The event handler object.

Inputs: event (required), component (required), view_path (required), project. Returns: object

get_historianC

Get a historian's configuration.

Args: name: Historian name.

Returns: The historian configuration.

Inputs: name (required). Returns: object

get_historian_statusB

Check historian health, lag and backfill queue.

Args: name: Historian name.

Returns: Status payload from the gateway.

Inputs: name (required). Returns: object

get_icon_usageA

Find project resources that reference an icon.

Args: name: Icon name or path. project: Project name; defaults to the active project.

Returns: Matching resources and lines.

Inputs: name (required), project. Returns: object

get_identity_providerC

Get an identity provider's configuration.

Args: name: Identity provider name.

Returns: The provider configuration.

Inputs: name (required). Returns: object

get_machine_runtimeA

Read a machine's running-state history.

Args: tag_path: Boolean running tag. start_date: ISO-8601 start. end_date: ISO-8601 end.

Returns: Historian rows for the running tag.

Inputs: end_date (required), tag_path (required), start_date (required). Returns: object

get_parent_projectA

Get the direct parent of a project.

Args: project: Project name; defaults to the active project.

Returns: The parent project name, or None.

Inputs: project. Returns: object

get_production_countsB

Read production counts for a line from a count tag.

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. count_tag: Tag path holding the production count.

Returns: Historian rows for the count tag, or a hint when no tag is configured.

Inputs: line (required), end_date (required), start_date (required), count_tag. Returns: object

get_tag_configurationB

Get full configuration for one or more tags.

Args: paths: Tag paths to inspect.

Returns: Tag configuration documents, including alarms and history settings.

Inputs: paths (required). Returns: object

get_udt_definitionA

Get a UDT definition including members and parameters.

Args: udt_path: UDT type path, e.g. [default]_types_/Equipment/Motor.

Returns: The UDT configuration document.

Inputs: udt_path (required). Returns: object

get_user_sourceC

Get a user source's configuration.

Args: name: User source name.

Returns: The user source configuration.

Inputs: name (required). Returns: object

import_projectA

Import a project archive through the gateway.

Args: zip_path: Local path to the .zip archive. confirm: Must be True to import. dry_run: Validate the archive without uploading it.

Returns: Import acknowledgement or a preview payload.

Inputs: zip_path (required), confirm, dry_run. Returns: object

inspect_alarm_propertiesC

Read the alarm definitions attached to a tag.

Args: tag_path: Tag path to inspect.

Returns: Alarm definitions from the tag configuration.

Inputs: tag_path (required). Returns: object

inspect_component_treeB

Return the component hierarchy of a view.

Args: view_path: View to inspect. project: Project name; defaults to the active project. depth: Maximum nesting depth to return.

Returns: A nested tree of component type, name and child count.

Inputs: view_path (required), depth, project. Returns: object

inspect_named_query_parametersB

Inspect a named query's parameter definitions.

Args: query_path: Named query path. project: Project name; defaults to the active project.

Returns: Parameter definitions with type and default value.

Inputs: query_path (required), project. Returns: object

list_alarm_configurationsC

List configured alarms.

Args: project: Optional project filter.

Returns: Alarm configuration entries.

Inputs: project. Returns: object

list_bindingsA

List bindings, including their ordered transforms.

Args: view_path: View to scan. project: Project name; defaults to the active project. include_transforms: Include each binding's transform list.

Returns: Bindings with component, property, type, config and transforms.

Inputs: view_path (required), project, include_transforms. Returns: object

list_database_connectionsA

List database connections and their status.

Returns: Connection names from the local config database or the gateway API.

Inputs: no named parameters. Returns: object

list_devicesA

List configured devices (not yet implemented).

Inputs: no named parameters. Returns: object

list_historiansB

List configured tag historians.

Returns: Historian entries.

Inputs: no named parameters. Returns: object

list_history_providersC

List history providers.

Returns: Provider entries.

Inputs: no named parameters. Returns: object

list_iconsC

List available icons.

Args: category: Optional category filter.

Returns: Icon entries.

Inputs: category. Returns: object

list_identity_providersB

List identity providers (SAML, OIDC, LDAP).

Returns: Identity provider entries.

Inputs: no named parameters. Returns: object

list_message_handlersA

List component message handlers in a view.

Args: view_path: View to scan. project: Project name; defaults to the active project.

Returns: Message type, scope flags, component and script.

Inputs: view_path (required), project. Returns: object

list_named_queriesA

List named queries in a project.

Args: project: Project name; defaults to the active project.

Returns: Named query paths.

Inputs: project. Returns: object

list_page_configA

Read Perspective page configuration for a project.

Args: project: Project name; defaults to the active project.

Returns: Page configuration JSON.

Inputs: project. Returns: object

list_perspective_viewsB

List Perspective views in a project.

Args: project: Project name; defaults to the active project.

Returns: Sorted view paths such as Dashboard/Overview.

Inputs: project. Returns: object

list_project_resourcesA

List project resources.

Args: project: Project name; defaults to the active project. resource_type: Optional path fragment filter (perspective, script-python).

Returns: Project-relative resource paths.

Inputs: project, resource_type. Returns: object

list_project_scriptsA

List project library script modules.

Args: project: Project name; defaults to the active project.

Returns: Dotted module paths such as MyModule.SubModule.

Inputs: project. Returns: object

list_property_change_scriptsA

List property-change scripts in a view.

Args: view_path: View to scan. project: Project name; defaults to the active project.

Returns: Property, component, enabled state and script.

Inputs: view_path (required), project. Returns: object

list_rolesB

List security roles.

Returns: Role entries.

Inputs: no named parameters. Returns: object

list_simulatorsA

List simulator devices (not yet implemented).

Inputs: no named parameters. Returns: object

list_stylesB

List style classes and theme data for a project.

Args: project: Project name; defaults to the active project.

Returns: Style class names and their definitions.

Inputs: project. Returns: object

list_transformsB

List ordered transforms for one binding.

Args: view_path: View containing the binding. component: Component meta.name. property: Property path. project: Project name; defaults to the active project.

Returns: Ordered transform entries.

Inputs: property (required), component (required), view_path (required), project. Returns: object

list_udtsC

List UDT definitions in a tag provider.

Args: provider: Tag provider name.

Returns: UDT type names and member counts when available.

Inputs: provider. Returns: object

list_user_sourcesB

List configured user sources.

Returns: User source entries.

Inputs: no named parameters. Returns: object

list_view_scriptsB

List every embedded script in a view with its Ignition context.

Args: view_path: View to scan. project: Project name; defaults to the active project.

Returns: Events, transforms, property-change scripts and message handlers.

Inputs: view_path (required), project. Returns: object

mcp_audit_logA

Return this session's tool-action audit trail.

Args: limit: Maximum entries to return (newest last).

Returns: Recorded tool actions with status and non-secret details.

Inputs: limit. Returns: object

mcp_connectA

Connect or refresh the Ignition gateway session and return full context.

Call this at the start of a conversation, or after the gateway was restarted. When a session already exists this is cheap; otherwise discovery runs again.

Returns: Gateway context, capabilities, and connection status.

Inputs: no named parameters. Returns: object

mcp_designer_statusA

Report running Ignition Designer processes and their project window titles.

This provides process/session discovery only. It does not click or edit the Designer UI, because that requires separate Windows UI-automation integration and is unsafe to assume.

Returns: Designer process details and whether Designer is running.

Inputs: no named parameters. Returns: object

mcp_disable_writesB

Re-enable read-only protection for this session.

Returns: The updated write mode.

Inputs: no named parameters. Returns: object

mcp_discover_gatewaysA

Discover Ignition gateways on this machine and the local network.

Args: scan_subnet: Also scan the local /24 subnet (slow; off by default).

Returns: Found gateway URLs with the discovery sources that produced them.

Inputs: scan_subnet. Returns: object

mcp_enable_writesA

Enable write tools for this session.

Individual writes still require confirm=True.

Returns: The updated write mode.

Inputs: no named parameters. Returns: object

mcp_list_capabilitiesA

List the tools registered in this MCP session and what they can do.

Returns: Tool names plus write/local-read capability flags.

Inputs: no named parameters. Returns: object

mcp_list_write_snapshotsA

List snapshots taken before local writes.

Args: limit: Maximum number of snapshots to return, newest first.

Returns: Snapshot manifests plus the store location.

Inputs: limit. Returns: object

mcp_restore_write_snapshotA

Restore a file from a write snapshot.

Args: snapshot_id: Snapshot id from mcp_list_write_snapshots. confirm: Must be True to restore. dry_run: Preview the restore without changing the target file.

Returns: Restore acknowledgement or a guard payload.

Inputs: snapshot_id (required), confirm, dry_run. Returns: object

mcp_set_gatewayB

Switch to another gateway by URL.

Args: url: Gateway base URL, e.g. http://10.0.1.50:8088.

Returns: The new session context, or an error payload when the gateway is unreachable.

Inputs: url (required). Returns: object

mcp_set_projectA

Switch the active project context.

Args: project: Project name. Must be known to the gateway or the local install.

Returns: The new active project and its inheritance parent.

Inputs: project (required). Returns: object

mcp_statusA

Report session status without any network I/O.

Returns: Connection, auth, project and read-only state.

Inputs: no named parameters. Returns: object

project_dependency_mapA

Show project inheritance as a graph.

Args: project: Project name; defaults to the active project.

Returns: Nodes, inheritance edges and any detected cycle.

Inputs: project. Returns: object

query_tag_historyC

Query historical tag values.

Args: paths: Tag paths to query. start_date: ISO-8601 start. end_date: ISO-8601 end. aggregation: Aggregation mode (Average, MinMax, LastValue, ...). interval_minutes: Aggregation interval in minutes.

Returns: Historian rows and the columns returned.

Inputs: paths (required), end_date (required), start_date (required), aggregation, +1 more. Returns: object

read_named_queryB

Read a named query's SQL and parameters.

Args: query_path: Named query path, e.g. Production/GetCounts. project: Project name; defaults to the active project.

Returns: The decoded query.json resource.

Inputs: query_path (required), project. Returns: object

read_opc_nodeC

Read an OPC-UA node (not yet implemented).

Inputs: node_id (required), server_name (required). Returns: object

read_perspective_viewB

Read a view's full JSON definition.

Args: view_path: View path such as Dashboard/Overview. project: Project name; defaults to the active project.

Returns: The decoded view JSON.

Inputs: view_path (required), project. Returns: object

read_project_resourceB

Read any project resource.

Args: resource_path: Project-relative path, e.g. project.json. project: Project name; defaults to the active project.

Returns: Decoded JSON for .json resources, text otherwise.

Inputs: resource_path (required), project. Returns: object

read_project_scriptB

Read a project library script.

Args: module_path: Dotted module path, e.g. MyModule.SubModule. project: Project name; defaults to the active project.

Returns: The script source and a quick syntax check.

Inputs: module_path (required), project. Returns: object

read_tagC

Read current values and quality for one or more tags.

Args: paths: Fully qualified tag paths, e.g. ["[default]Pump1/Running"].

Returns: One entry per tag with value, quality and timestamp.

Inputs: paths (required). Returns: object

rollback_projectA

Roll a project back to a previous backup.

Args: project: Project name; defaults to the active project. backup_id: Backup identifier to restore. confirm: Must be True to roll back. dry_run: Preview the rollback without changing the gateway.

Returns: Rollback acknowledgement.

Inputs: confirm, dry_run, project, backup_id. Returns: object

search_iconsB

Search icons by name or category.

Args: query: Case-insensitive substring.

Returns: Matching icon entries.

Inputs: query (required). Returns: object

search_project_textA

Search project files with a literal string or regular expression.

Args: query: Literal text or regex pattern. project: Project name; defaults to the active project. regex: Treat query as a regular expression. case_sensitive: Match case exactly (default is case-insensitive). include_parents: Also search inherited parent projects. max_results: Maximum number of matches (capped at 1000).

Returns: Matching files and lines with project-relative resource paths.

Inputs: query (required), regex, project, max_results, +2 more. Returns: object

search_script_functionsA

Search for function definitions across project scripts.

Args: query: Function name or fragment (case-insensitive). project: Project name; defaults to the active project.

Returns: Matches with module, function name, line and arguments.

Inputs: query (required), project. Returns: object

search_tagsA

Search tags by name pattern, type or value type.

Args: query: Name pattern; * and ? wildcards are supported. provider: Tag provider to search. tag_type: Optional filter such as AtomicTag, UdtInstance or Folder. data_type: Optional value type such as Int4 or Boolean. max_results: Maximum number of matches.

Returns: Matching tag nodes.

Inputs: query (required), provider, tag_type, data_type, +1 more. Returns: object

set_bindingA

Create or replace one component property binding.

Args: view_path: View containing the component. component: Component meta.name. property: Property path, with or without the props. prefix. binding: Binding object, e.g. {"type": "tag", "config": {...}}. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: Write acknowledgement or a dry-run diff.

Inputs: binding (required), property (required), component (required), view_path (required), +3 more. Returns: object

set_event_scriptC

Create or replace a component event script.

Inputs: event (required), script (required), component (required), view_path (required), +4 more. Returns: object

set_message_handlerC

Create or replace a component message handler.

Inputs: script (required), component (required), view_path (required), message_type (required), +6 more. Returns: object

set_property_change_scriptC

Create or replace a property-change script.

Inputs: script (required), property (required), component (required), view_path (required), +4 more. Returns: object

set_transformC

Append or replace one binding transform.

Inputs: property (required), component (required), transform (required), view_path (required), +4 more. Returns: object

test_code_snippetA

Execute a snippet and compare the result with an expected value.

Args: code: Jython snippet to run. project: Project context. expected_result: Optional value to compare against the returned result. confirm: Must be True to execute. dry_run: Validate without executing.

Returns: The result, whether it matched, and any error text.

Inputs: code (required), confirm, dry_run, project, +1 more. Returns: object

test_db_connectionB

Test a database connection.

Args: connection_name: Name of the configured connection.

Returns: Connection status and latency when reported by the gateway.

Inputs: connection_name (required). Returns: object

test_named_queryC

Execute a named query with test parameters.

Args: query_path: Named query path. params: Named parameters. project: Project name; defaults to the active project.

Returns: Query rows or an error payload.

Inputs: query_path (required), params, project. Returns: object

update_perspective_viewA

Replace an existing Perspective view.

Args: view_path: View to update. view_json: New full view document. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Validate and summarise the change without writing.

Returns: Write acknowledgement, or a change summary in dry-run mode.

Inputs: view_json (required), view_path (required), confirm, dry_run, +1 more. Returns: object

validate_perspective_viewB

Validate structure, embedded view references and bindings of a view.

Args: view_path: View to validate. project: Project name; defaults to the active project.

Returns: Issues grouped by kind plus a validity flag.

Inputs: view_path (required), project. Returns: object

validate_projectA

Validate a project's views, scripts and embedded view references.

Args: project: Project name; defaults to the active project.

Returns: Issues grouped by resource, plus a validity flag.

Inputs: project. Returns: object

validate_project_scriptsA

Validate embedded scripts across every view in a project.

Args: project: Project name; defaults to the active project.

Returns: Per-view script diagnostics and a project-level validity flag.

Inputs: project. Returns: object

validate_script_syntaxB

Validate Python/Jython syntax locally.

Args: code: Script source. scope: Script scope, used for context hints. context: Optional explicit Ignition script context. When omitted, it is inferred from scope. check_indentation: Include context-aware indentation diagnostics.

Returns: Validity, structured diagnostics and the objects available in the scope.

Inputs: code (required), scope, context, check_indentation. Returns: object

validate_sqlB

Validate SQL syntax without touching a database.

Args: sql: SQL text. dialect: Dialect hint (informational; no parser is dialect-specific here).

Returns: Validity and any structural issues found.

Inputs: sql (required), dialect. Returns: object

validate_tag_pathsB

Check which tag paths exist and return a good quality value.

Args: paths: Tag paths to validate. provider: Provider used when a path has no provider prefix.

Returns: Valid and invalid paths with reasons.

Inputs: paths (required), provider. Returns: object

validate_view_scriptsB

Validate every embedded script using its real Ignition context.

Args: view_path: View to validate. project: Project name; defaults to the active project.

Returns: Per-script diagnostics and a validity flag.

Inputs: view_path (required), project. Returns: object

write_named_queryA

Create or replace a named query resource.

Args: path: Named query path. query: SQL text with named parameters. parameters: Parameter definitions with name and type. query_type: Ignition query type, normally query. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview the change without writing.

Returns: Write acknowledgement or a dry-run diff.

Inputs: path (required), query (required), confirm, dry_run, +3 more. Returns: object

write_project_resourceB

Write a project resource.

Args: resource_path: Project-relative path. data: JSON-serialisable payload or raw text. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Preview without writing.

Returns: Write acknowledgement or a preview payload.

Inputs: data (required), resource_path (required), confirm, dry_run, +1 more. Returns: object

write_project_scriptA

Create or replace a project library script.

Args: module_path: Dotted module path, e.g. MyModule.NewModule. code: Python/Jython source. project: Project name; defaults to the active project. confirm: Must be True to write. dry_run: Validate and preview without writing.

Returns: Write acknowledgement, or validation issues in dry-run mode.

Inputs: code (required), module_path (required), confirm, dry_run, +1 more. Returns: object

write_tagA

Write values to tags.

Args: paths: Fully qualified tag paths. values: Values to write; must align with paths. confirm: Must be True to execute the write. dry_run: Preview the write without changing anything.

Returns: Write acknowledgement or a guard/preview payload.

Inputs: paths (required), values (required), confirm, dry_run. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 172 tools

    Disambiguation3/5

    Most tools target a clear resource+action, but there is meaningful overlap: create_named_query vs write_named_query, find_view_bindings vs list_bindings, find_event_scripts vs list_view_scripts vs get_event_script, and validate_script_syntax vs check_script_indentation. The many 'not yet implemented' stubs (add_device, browse_opc_server, etc.) add noise that makes the surface harder to navigate.

    Naming Consistency4/5

    Nearly all names are snake_case verb_noun or noun-status patterns and remain readable. There are minor deviations like namespaced prefixes (gateway_*, mcp_*, docs_*) mixed with plain verbs, plus a few noun-first names (gateway_status), but no chaotic camelCase mixing.

    Tool Count2/5

    172 tools is far beyond a well-scoped set for a single MCP server; it is an extreme breadth that overwhelms an agent's tool selection. While the Ignition platform is large, the surface should be partitioned into focused servers or drastically consolidated.

    Completeness3/5

    Coverage is broad across tags, Perspective, scripts, alarms, DB, projects and security, but several advertised operations are stubs (devices, simulators, OPC-UA). Lifecycle gaps exist too: user sources, identity providers and historians support create/edit/get/list but no delete.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to interact with Inductiveautomation's Ignition SCADA/MES platform through its REST API. Provides 45+ tools for gateway management, project operations, backup handling, log analysis, and license activation.
      45
      GPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      The first AI-powered development tool for Ignition SCADA — an MCP server that lets any AI agent read, understand, and interact with your Ignition projects and gateways.
      17
      114 PyPI
      15
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to manage and interact with Ignition Gateway 8.3+ through a curated set of tools covering gateway administration, projects, resources, tags, alarms, historian data, and script execution via the REST API.
      GPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to inspect Ignition gateway backups, project exports and tag exports locally and turn them into an editable engineering reference and manual pack workspace. Runs over stdio so agents can explain, validate and complete the evidence-traced documents without uploading anything.
      Apache 2.0