TIATool

Installing TIATool

One line (PowerShell, engineering PC with TIA Portal):

irm https://tiatool.dev/install.ps1 | iex

Unattended with a key: $env:TIATOOL_LICENSE_KEY='XXXX'; irm https://tiatool.dev/install.ps1 | iex Or run TIATool-Setup.exe /SILENT /LICENSEKEY=XXXX /CLIENTS=claude,cursor.

Setup (installer/tiatool.iss) installs to C:\Program Files\TIATool, detects TIA Portal V17–V21 Openness, adds you to "Siemens TIA Openness" (sign out/in once), then runs tiax-agent init as you: doctor → license key → MCP registration for Claude Desktop, Cursor, VS Code (ticked by default) and, when you tick them, Claude Code, Windsurf/Devin Desktop, Cline, Codex CLI, Gemini CLI, OpenCode and GitHub Copilot CLI (/CLIENTS=claude,cursor,claude-code,... unattended). Log: %LOCALAPPDATA%\TIATool\install-init.log.

Verify the installer before you run it: its SHA-256 is published on the website's /download.sha256 (Get-FileHash TIATool-Setup.exe). After an upgrade from 0.7 or older, read the upgrade notes in CHANGELOG.md — online tools now need a policy, and existing caches want a re-scan.

Licence

TIATool needs an active licence: a 3-day free trial, then EUR 99.99/month or EUR 999.99/year per seat. Without one every tool refuses with an "activate or buy" message; doctor, init, license and setup still work.

tiax-agent license activate TT-XXXXX-XXXXX-XXXXX-XXXXX     # a purchased key
tiax-agent license status                                  # plan, features, expiry

Air-gapped PC (yearly, enterprise, offline and edu plans): tiax-agent license request-offline --key <KEY> writes a request file; upload it on the website from any PC with internet and bring back the licence file; tiax-agent license import <file> installs it (verified offline, bound to this PC, no refresh). Behind an authenticating proxy, licence and update calls use the system proxy with your Windows credentials. tiax-agent update --check tells you about a newer release; it never installs anything.

Administrators: policy

Online tools (plc_download, plc_online, plc_compare_online) are on by default; a policy with "allow_online": false switches them off. A policy can also make a PC read-only, switch scripts off, limit projects to folders and hold chosen calls for a person. From an elevated prompt:

tiax-agent policy init --machine --allow-online     # %ProgramData%\TIATool\policy.json, commented example
tiax-agent policy show                              # what applies, and which file set each value

Examples (read-only plant, commissioning PC, CI runner): security/policy.md.

Client entry written by setup:

{ "mcpServers": { "tiatool": { "command": "C:\\Program Files\\TIATool\\tiax-agent.exe", "args": ["mcp"] } } }

Setup also writes each client's own rule that lets TIATool's tools run without an approval prompt, where the client has one for a single server (see the table below; for Cursor only into an mcpAllowlist you already keep in ~/.cursor/permissions.json, because creating that file would replace Cursor's in-app allowlist and switch Auto-review off). TIATool itself asks only where a policy sets confirm_mode or require_confirmation.

Try it without TIA Portal (5 minutes)

tiax-agent init --demo

Builds %LOCALAPPDATA%\TIATool\demo from the shipped sample ({app}\samples: a small export with PLC blocks, a tag table and an HMI, plus an equipment model), scans it, and registers it as the server tiatool-demo (read-only explore toolset) in every AI client installed for you — your tiatool entry is never touched. Restart the client and ask the questions it prints. Rebuild with the same command; remove with tiax-agent setup --remove --name tiatool-demo --all.

AI clients

tiax-agent setup --client <list> or --all (every client installed for you):

The installer ticks Claude Desktop, Cursor, VS Code and Claude Code (untick what you don't use). From a terminal, the same four: tiax-agent setup --client claude,claude-code,cursor,vscode. Then quit and restart the client (Claude Desktop: right-click the tray icon > Quit — closing the window keeps it running) and check with tiax-agent doctor, which lists every client TIATool is registered in.

Client id Config written Tools run without asking
Claude Desktop claude %APPDATA%\Claude\claude_desktop_config.json; the Microsoft Store build: %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json (found automatically; stdio only) no file setting: choose Always allow once (or Customize > Connectors > tiatool > Tool permissions)
Cursor cursor %USERPROFILE%\.cursor\mcp.json tiatool:* added to the mcpAllowlist you already keep in ~/.cursor/permissions.json; without one, add it in Cursor Settings > Agents (that file would replace Cursor's own allowlist and switch Auto-review off)
VS Code vscode %APPDATA%\Code\User\mcp.json (servers) no file setting: Chat: Manage Tool Approval, tick tiatool once
Claude Code claude-code %USERPROFILE%\.claude.json user scope ($CLAUDE_CONFIG_DIR if set) "mcp__tiatool" in permissions.allow of ~/.claude/settings.json
Windsurf / Devin Desktop windsurf (devin) %APPDATA%\devin\mcp_config.json; before Devin Desktop %USERPROFILE%\.codeium\windsurf\mcp_config.json (our old entry there is removed) "mcp__tiatool__*" in permissions.allow of %APPDATA%\devin\config.json
Cline cline %USERPROFILE%\.cline\data\settings\cline_mcp_settings.json (Cline 4.x; CLINE_MCP_SETTINGS_PATH, CLINE_DATA_DIR, CLINE_DIR); an entry already in VS Code's globalStorage copy (Cline before 4.x) is kept up to date, and --remove clears both nothing to write: Cline runs MCP tools while Use MCP servers is on (the default)
OpenAI Codex CLI codex %USERPROFILE%\.codex\config.toml [mcp_servers.tiatool] ($CODEX_HOME; stdio only) default_tools_approval_mode = "approve" in the entry (Codex 0.122+)
Gemini CLI gemini %USERPROFILE%\.gemini\settings.json ($GEMINI_CLI_HOME) "trust": true in the entry (trusted folders)
OpenCode opencode %USERPROFILE%\.config\opencode\opencode.json (or the existing opencode.jsonc; $XDG_CONFIG_HOME) mcp.tiatool "tiatool_*": "allow" as the last permission rule
GitHub Copilot CLI copilot %USERPROFILE%\.copilot\mcp-config.json ($COPILOT_HOME) approvals are per folder: answer "don't ask again" once per repository, or start it with --allow-tool=tiatool

Other servers and your own keys in the entry are kept; every change first takes a new timestamped *.bak. A file with comments (JSONC) that setup would have to rewrite is left as it is, and setup prints the line to add. Options: --toolset explore (recommended for read-only users), --http, --name, --remove (also takes the approval rule back), --dry-run. tiax-agent doctor lists where TIATool is registered.

Long calls (builds, compiles: minutes): Cline, Codex, Gemini CLI, OpenCode and Copilot CLI get a 600 s per-server timeout in the entry. Claude Code reads MCP_TOOL_TIMEOUT from its own environment — set MCP_TOOL_TIMEOUT=600000 (ms) there or in ~/.claude/settings.json "env" (MCP_TIMEOUT is only the server start-up timeout; setup no longer writes it into server entries, where no client read it).

Cloud AI assistants (TIATool Remote)

To use this PC from Claude, Microsoft Copilot Studio, Notion or ChatGPT in the cloud, pair it with your account and keep the link running:

tiax-agent remote pair
tiax-agent remote autostart on

Then add https://mcp.tiatool.dev/mcp as a connector in the AI app. Everything else — several PCs or VMs, what the cloud may do, connector keys, policy — is in remote.md.

Support and privacy

  • tiax-agent support-bundle [--out x.zip] — doctor output, versions, config, logs, policy and selftest overlay with licence keys, tokens, e-mails and user/machine names masked. Written locally; nothing is uploaded.
  • tiax-agent privacy — every endpoint TIATool can contact (licence server only; no telemetry).
  • Logs: %LOCALAPPDATA%\TIATool\logs\tiax-agent*.log (Linux: ~/.local/state/TIATool/logs), 5 × 1 MB. TIATOOL_LOG_DIR moves them, TIATOOL_NO_LOG=1 turns them off.

Flavours: the hosted preview installer (preview-installer.yml) ships tiax.exe (V19) only, compiled against the Openness reference stub. The full build (release.yml, TIA runner) ships tiax.exe (V19) and tiax-v21.exe (V21). tiax-v17/v18/v20.exe are built by build.cmd / release.yml when TIA_PUBLICAPI_V17/V18/V20 exist on the build machine (unverified). Release: tag vX.Y.Z → .github/workflows/release.yml (self-hosted TIA runner, optional PFX signing). The site's /download redirects to the TIATOOL_INSTALLER_URL env var (503 until set).

Built from docs/INSTALL.md in the product repository. Links to files that are not published here are shown as plain text.