TIATool

TIATool Remote: your TIA Portal projects in cloud AI assistants

TIATool Remote lets AI assistants that run in the cloud — Claude, Microsoft Copilot Studio, Notion, ChatGPT and other MCP clients — work on the TIA Portal projects on your own PCs and virtual machines. Each PC keeps one outbound connection to TIATool Cloud: no inbound port, no VPN, no remote desktop. Every call runs through the same rails as a local client on that PC: argument rails, policy, licence, a new backup before every write, the journal and the post-write verify.

Local AI clients (Claude Desktop, Claude Code, Cursor, VS Code, …) keep using TIATool on the PC exactly as before.

 Claude · Copilot · Notion · ChatGPT ──► https://mcp.tiatool.dev/mcp (TIATool Cloud, OAuth or connector key)
                                                │  routes each call to the machine you name
             outbound WebSocket, port 443 ──────┘
 tiax-agent on each PC / VM ──► TIA Portal Openness (rails, policy, backup, journal, verify)

1. Pair each PC

On the PC (or VM), as the Windows user who runs TIA Portal:

tiax-agent remote pair

Your browser opens your TIATool account. Check that the code and the fingerprint match what the PC printed, and click Approve. The PC creates its own key, kept only on that PC (protected for that Windows user); the website stores only the public half. Name the PC with --name "Line 3 VM" (default: the computer name).

Remote access is included in every TIATool plan. Each PC or VM that runs TIATool uses one seat.

tiax-agent remote run                 # keep this running; Ctrl+C stops it
tiax-agent remote autostart on        # Windows: start it at every sign-in, without a window
tiax-agent remote status              # paired as …, link connected since …

The link goes through the system proxy (with your Windows proxy credentials, like licensing) and reconnects by itself. TIA Portal Openness needs a signed-in Windows session, so the agent runs as that user, not as a service.

3. Connect your AI app

The connector address is https://mcp.tiatool.dev/mcp (also shown on tiatool.dev → Account → Remote).

App How
Claude (web, desktop, mobile) Settings → Connectors → Add custom connector → paste the address → Connect → sign in to TIATool → Allow.
Microsoft Copilot Studio In your agent: Tools → Add a tool → Model Context Protocol → paste the address. Authentication OAuth 2.0 → Dynamic discovery, or API key in the header X-API-Key with a connector key (below).
Notion (custom agents) Agent settings → MCP connection → paste the address → sign in with OAuth, or use a connector key as a bearer token in the Authorization header.
ChatGPT (web) Plugins → Add custom MCP server → paste the address → sign in. Write tools in custom connectors are available on ChatGPT Business and Enterprise.
Other MCP clients OAuth 2.1 (dynamic client registration or client ID metadata documents, PKCE), or a connector key.

On the sign-in screen you choose what the app may do (§5). You can disconnect an app at any time under Connected apps.

Connector keys (for apps without OAuth, or for automation): tiatool.dev → Account → Remote → Connector keys → create one with the permissions it needs. Send it as Authorization: Bearer ttk_…, X-API-Key: ttk_… or X-Auth-Token: ttk_…. For an app that can set neither OAuth nor a header, use the connector URL that carries the key (https://mcp.tiatool.dev/mcp/k/ttk_…) and treat that URL like a password. Revoke a key there at any time.

4. Working with it

  • Machines. The assistant calls machines_list first: every paired PC with online state, TIA Portal versions, what it is busy with and its shared projects. Every other tool takes machine (name or id); with one paired PC it can be left out.

  • Projects. Give a project a short name so nobody needs Windows paths in the chat:

    tiax-agent remote share Line3 "D:\Projects\Line3\Line3.ap19"
    

    The assistant then says project: "Line3". Full paths still work where the policy allows them.

  • Long operations. Exports, compiles, builds and downloads can take minutes. In Claude (Pro, Max, Ultra, Team) they run as tasks that Claude follows by itself. Elsewhere the tool answers RUNNING job=… and the assistant calls job_wait with that id until the result is there. A dropped connection never runs anything twice.

  • Several machines. Each PC runs one TIA Portal operation at a time; several PCs work in parallel — for example four VMs that each compile their own project at the same time.

5. What the cloud may do

Three gates, and a call runs only when all of them allow it — then the usual rails apply.

Gate Set by Defaults
Connection permissions The account owner, when an app signs in or a key is created read ✔ · change projects ✔ · PLC online ✘ · write scripts ✘
This PC's settings A person at the PC: tiax-agent remote set … change projects on · PLC online off · scripts read
Machine policy The administrator: policy.json no limit
tiax-agent remote set --write off            # this PC accepts only reads from the cloud
tiax-agent remote set --online on            # allow plc_download / plc_online / plc_compare_online from the cloud
tiax-agent remote set --scripts write        # allow write-mode scripts and saving extensions from the cloud

Administrators cap or switch off remote access in the machine policy (%ProgramData%\TIATool\policy.json): allow_remote (false = no pairing, no link, every remote call refused), remote_read_only, remote_allow_online, remote_allow_scripts — see the policy reference. The policy's other rules (deny_tools, read_only, allowed_project_roots, confirm_mode, …) apply to remote calls as well. Every remote call is journaled with the cloud caller (account, app, call id) next to the Windows user and host.

6. Local and remote on the same PC

A PC used from the cloud and by a local AI client at the same time should serve both from one process, so they share one TIA Portal session:

tiax-agent remote run --http          # the link + the local HTTP MCP server (tiax-agent setup --http)
tiax-agent mcp --remote               # or: a local server that also opens the link

Otherwise the second one waits until the first one's TIA Portal session closes (after 15 idle minutes).

7. Virtual machines

  • Give every VM its own Windows identity: run sysprep /generalize on a cloned image (or install each VM fresh), then pair each VM on its own. A VM copied after pairing carries the same key; TIATool Cloud refuses the copy ("in use on another computer") — run tiax-agent remote unpair and tiax-agent remote pair on it.
  • Keep a user signed in (automatic sign-in) and turn on tiax-agent remote autostart on.
  • Size the host for several TIA Portal instances (Siemens recommends 16 GB RAM per installation, 32 GB for large projects) and check your Siemens licence terms for virtual machines.

8. Security and privacy

  • Outbound only: one WebSocket to mcp.tiatool.dev on port 443, through your proxy. Nothing listens on the PC.
  • The PC proves who it is by signing a fresh challenge with its own key on every connection; no reusable secret travels. Apps sign in with OAuth 2.1 (PKCE) or a revocable connector key.
  • TIATool Cloud passes calls and answers through without storing them. For up to two hours it keeps each call's tool, machine, account, start and end time, status and last progress line; its logs record the tool, the machine, the outcome and the duration. What your AI app reads goes to its provider under that app's terms, as with a local client.
  • Take access back at any time: disconnect an app or revoke a key (Account → Remote; it stops working within a minute), remove a machine there (disconnected at once), or run tiax-agent remote unpair on the PC. tiax-agent privacy lists every endpoint.

Command reference

tiax-agent remote pair [--name <name>] [--no-browser]
tiax-agent remote run [--http [--port 8765]] [--tiax <cache>] [--workspace <dir>] [--no-engine] [--idle-minutes 15]
tiax-agent remote status [--json]
tiax-agent remote set [--write on|off] [--online on|off] [--scripts off|read|write]
tiax-agent remote share <alias> <project.apXX> | share --list | unshare <alias>
tiax-agent remote autostart on|off|status
tiax-agent remote unpair
tiax-agent mcp --remote

tiax-agent doctor shows whether the PC is paired and the link runs.

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