Ignition MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ignition MCP check my Ignition project for broken Perspective bindings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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; |
Project analysis | Broken bindings, missing embedded views/styles, unused views, inheritance maps and generated Markdown docs. |
Runtime diagnostics |
|
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
unsupportedpayload 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-mcpWith pip
pip install ignition-mcp
ignition-mcpFrom a checkout
git clone https://github.com/your-org/ignition-mcp
cd ignition-mcp
uv sync
uv run ignition-mcpThe 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 --doctorConnect to Ignition
Local install (recommended)
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 onlyDiscovery order
AutoConnect tries, in order:
Explicit URL (
IGNITION_GATEWAY_URLor a config file)Local Ignition install scan
OS credential store (Windows Credential Manager / macOS Keychain / Linux keyring)
mDNS (
_ignition._tcp.local)Port scan of
localhoston 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 --doctorThe 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 8080Point 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 --doctorThe 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 processAn 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:
Guard —
write_guardrejects writes while read-only and requiresconfirm=True.Preview — call with
dry_run=Trueto receive a unified text diff or a field-level JSON diff (changed,change_count,changes,diff).Apply — call again with
confirm=True.Verify — local writes are read back and compared; tag writes read the values back from the gateway and report
verifiedplus anymismatches.
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=20Trial 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_statusreads/data/api/v1/trial. The read needs no API token and returnslicense_mode,trial_status(active,expired,licensed),seconds_remaining,expired,emergencyanddevelopmentflags.gateway_reset_trial(confirm=True)resets the timer only whenexpiredis true. It uses the Gateway session (IGNITION_USERNAME/IGNITION_PASSWORD); no API token is required. Without an administrator session the gateway returns401, and the tool reportsauthentication_requiredwith 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.zipfromGET /data/api/v1/projects/export/{project}. It includes project resources, not tags or Gateway configuration. Withoutoutput_path, it writes toexports/<project>_<timestamp>.zip.create_project_backup(project, output_path)is the same project export under a backup-oriented name; it defaults toproject_backups/<project>_<timestamp>.zip.gateway_backup(output_path, include_peer_local, confirm=True)downloads a full.gwbkfromGET /data/api/v1/backup. It includes projects, tags, Gateway configuration and credentials. Withoutoutput_path, it writes tobackups/<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 |
|
Gateway |
|
Tags & UDTs |
|
Perspective |
|
Scripting |
|
Docs |
|
Alarms |
|
Database |
|
History/OEE |
|
Projects |
|
Icons |
|
Security |
|
Historians |
|
Analysis |
|
Phase 4 stubs |
|
Guide for AI agents
Start every session
Call
mcp_connect. Read the returned_ctxblock: gateway URL, version, edition, auth method, active project, local read availability and warnings.Call
mcp_list_capabilities. Inspectgateway.features; treatunverifiedandunknownas "try it and handleunsupported", not as "available".Call
mcp_statusbefore 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_gatewayis 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_writesjust to "see if it works".A write without
confirm=Truereturnsrequires_confirmation; that is expected.If a write is blocked, report the
reasonand 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 |
| Success | Continue; check |
| Preview only | Inspect |
|
| Ask the user, then retry with confirmation |
| Read-only mode | Explain how to enable writes; do not retry blindly |
| No gateway client | Use local tools or help the user connect |
| Trial reset requested too early | Wait for expiry; pre-emptive resets are refused |
| Trial reset needs an admin Gateway session | Set |
| Endpoint/module unavailable | Report the hint; do not invent a result |
| HTTP/auth failure | Report status and path; check credentials/version |
| Metrics missing | Ask for the missing values; do not fabricate |
Analysis before editing
analyze_projectfinds broken bindings, missing embedded views, missing style classes, unused views and missing parent projects.project_dependency_mapshows inheritance and cycles.search_project_textsupports literal and regex search across projects, including parents.generate_project_docsproduces Markdown for views, scripts, queries and styles.
Use these before large edits so you change the right resources.
Trial reset
Call
gateway_trial_statusbefore suggesting a reset. Iftrial_statusisactive, do not reset; wait for expiry.Only call
gateway_reset_trial(confirm=True)whenexpiredis 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_queriesRead 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 --doctorEnvironment variables
All variables are optional; safe defaults are built in.
Variable | Default | Purpose |
| auto-detect | Local Ignition install root |
| auto-discover | Gateway base URL, e.g. |
| — | Gateway session username |
| — | Gateway session password |
| — | Optional API key ( |
|
| REST namespace prefix |
| first project | Initial active project |
|
| Set |
| all | Comma-separated module allow-list (e.g. |
|
| HTTP timeout in seconds |
|
| Allow mDNS and port discovery |
|
| Seconds per discovery probe |
|
| Verify TLS certificates |
|
|
|
|
| Bind host for network transports |
|
| Bind port for network transports |
|
|
|
|
| Write-snapshot store |
|
| Number of snapshots to keep |
Troubleshooting
Symptom | Likely cause | Fix |
| No gateway URL or session | Set |
| Endpoint missing on this version/edition | Check |
| Missing or rejected session login | Set |
Writes return | Read-only mode | Set |
Writes return |
| Preview with |
Local install not found | Non-standard path | Set |
Slow startup | Network discovery on a large subnet | Set |
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 |
|
Trial expired | Two-hour trial ended |
|
Trial reset returns | No admin Gateway session | Set |
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 --doctorThe 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
unsupportedwhen none match;/openapi.jsonis the authority.No live gateway in CI. HTTP behaviour is tested with mocks. Verify against your own gateway with
--doctorand 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_statusagainst a running gateway. Reset is refused before expiry.
License
MIT
Available Tools
172 toolsaccess_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_searchA
Search the versioned Ignition documentation catalog.
Args:
query: Search terms.
version: Docs version (8.3, 8.1 or 2027).
kind: Optional page kind such as system_function or component.
limit: Maximum results.
Returns: Ranked results with paths, URLs and snippets.
Inputs: query (required), kind, limit, 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
Scored across 172 tools
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.
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.
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.
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
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Git-backed platform for skills, tools, and context for AI agents
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables 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.45GPL 3.0
- AlicenseAqualityBmaintenanceThe 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.17114 PyPI15MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityCmaintenanceEnables 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