Guide · Updated
What is an MCP server for TIA Portal?
An MCP server for TIA Portal is a local program that gives an AI assistant tools for Siemens TIA Portal over the Model Context Protocol. TIATool’s server, tiax-agent, exposes 75 tools: offline queries on a scanned project cache and live tools that drive TIA Portal Openness, for Claude Desktop, Claude Code, Cursor and VS Code.
MCP in plain words
The Model Context Protocol (MCP) is an open protocol that lets an AI client call tools a server offers. The client, such as Claude Desktop, Claude Code, Cursor or VS Code, starts the server and shows its tools to the model. The model decides which tool to call; the server does the work on your PC and returns the answer.
For TIA Portal, the server is the part that knows Openness, SIMATIC ML and your project. TIATool’s server is tiax-agent. By default it runs over stdio as a child process of your AI client, as your Windows user, with no listening port. An optional HTTP mode binds to 127.0.0.1 only and needs a bearer token on every request.
What TIATool’s server exposes
75 tools in two lanes, so a quick question never waits behind a long build. Cache tools answer from the scanned .tiax cache; TIA Portal is never involved. Live tools work on the real project through TIA Portal Openness, one call at a time. By effect, 53 tools only read, 7 depend on the action and 15 change a project, and every write takes a backup first. A selection:
| Tool | What it does | Effect |
|---|---|---|
| project_statsInventory of the project: PLCs, block counts by type and language, and how much is readable. | Inventory of the project: PLCs, block counts by type and language, and how much is readable. | Reads |
| who_writes_tagEvery place a tag is written, with block, network and the writing logic. | Every place a tag is written, with block, network and the writing logic. | Reads |
| what_block_callsThe blocks a block calls, with the instance DB used; who_calls gives the callers. | The blocks a block calls, with the instance DB used; who_calls gives the callers. | Reads |
| search_projectRanked full-text search across block names, comments, logic and HMI content. | Ranked full-text search across block names, comments, logic and HMI content. | Reads |
| project_diffTwo scans compared: blocks and HMI artifacts added, removed and changed. | Two scans compared: blocks and HMI artifacts added, removed and changed. | Reads |
| audit_projectMultiple writers, unwired FB inputs, literal offsets, retain in volatile DBs and more. | Multiple writers, unwired FB inputs, literal offsets, retain in volatile DBs and more. | Reads |
| export_projectThe real project to SIMATIC ML; read-only unless asked to compile first. | The real project to SIMATIC ML; read-only unless asked to compile first. | Reads or writes |
| build_from_sourceBlocks, tag tables and hardware from a source folder, then compile; a dry run previews. | Blocks, tag tables and hardware from a source folder, then compile; a dry run previews. | Writes |
| compile_projectCompile and save, with compiler messages by block, line and network. | Compile and save, with compiler messages by block, line and network. | Writes |
| verify_changeThe verify gate between your baseline and the state after a change. | The verify gate between your baseline and the state after a change. | Reads |
| restore_backupBack to any timestamped restore point, into a new folder by default. | Back to any timestamped restore point, into a new folder by default. | Reads or writes |
| openness_browseThe live Openness object model: attributes, compositions and actions. | The live Openness object model: attributes, compositions and actions. | Reads |
| script_runA C# script against the project: read mode never commits, write mode is backed up. | A C# script against the project: read mode never commits, write mode is backed up. | Reads or writes |
Every tool with its arguments is in the MCP tool reference.
Which AI clients work
Any MCP client can use the server. The installer registers the four most common ones, and tiax-agent setup redoes it on demand:
tiax-agent setup --client claude,claude-code,cursor,vscodeClaude Desktop
- Setup id
claude- Config file setup writes
%APPDATA%\Claude\ claude_desktop_config.json
Claude Code
- Setup id
claude-code- Config file setup writes
%USERPROFILE%\, user scope.claude.json
Cursor
- Setup id
cursor- Config file setup writes
%USERPROFILE%\.cursor\ mcp.json
VS Code
- Setup id
vscode- Config file setup writes
%APPDATA%\, underCode\ User\ mcp.json servers
| Client | Setup id | Config file setup writes |
|---|---|---|
| Claude Desktop | claude | %APPDATA%\ |
| Claude Code | claude-code | %USERPROFILE%\, user scope |
| Cursor | cursor | %USERPROFILE%\ |
| VS Code | vscode | %APPDATA%\, under servers |
--all registers every client installed for you, including Windsurf/Devin Desktop, Cline, OpenAI Codex CLI, Gemini CLI, OpenCode and GitHub Copilot CLI (every client and its file). Setup keeps your other servers and writes a timestamped .bak before each change. Step by step: Claude, Cursor and VS Code.
Cloud AI assistants reach the same tools through TIATool Remote. Pair each PC once with tiax-agent remote pair, keep tiax-agent remote run going, then add https:/ as a connector in the assistant and sign in with your TIATool account, or use a connector key. The PC connects outward only, and every call runs there through the same policy, backup and journal as a local client.
How a call reaches TIA Portal
Your AI client sends the call
Over MCP: stdio by default, or HTTP on 127.0.0.1 with a bearer token.
tiax-agent checks it
In a fixed order: argument rails, policy, licence. Values are passed on as
--key=value, and a string that looks like a command-line switch is refused, so no argument can switch a rail off.Cache tools answer at once
In-process, from the
.tiaxcache of your last export and scan.Live tools go to the engine for your TIA version
Over a named pipe with a per-user ACL and a shared secret:
tiax.exefor V19,tiax-v21.exefor V21, chosen from the project file. The engine keeps TIA Portal and the project open between calls and closes Portal after 15 idle minutes.Every write is backed up, journaled and verified
A new timestamped backup comes first; the write lands in the journal, and in a project workspace the verify gate checks it against your baseline.
Keep the AI in its lane
- Toolsets shape what the client lists:
--toolset explorefor read-only users, orgenerate,commission,admin,extendandall.find_toolsearches the full catalog. - The policy file enforces it. An administrator can make a PC read-only, deny tools, switch scripts off, keep the AI off real PLCs or have a person confirm named tools;
tiax-agent policy showprints what applies and which file set each value. - Backups, the Portal guard and the journal are on by default, and no MCP call can switch them off.
tiax-agent policy showDetails: security and data flow.
Limits
- The server runs on Windows 10 or 11 (64-bit), next to your own licensed TIA Portal V19 or V21 with Openness. It brings no AI model; your client does.
- Siemens does not open all of TIA Portal, so some calls depend on the project, the panel and the TIA version, and the assistant says when one cannot be done. When no tool fits, the assistant can script Openness itself: see how AI automates Openness.
- Cache answers are as good as the export: STL and GRAPH bodies record no read/write edges, lossy LAD/FBD renderings are flagged, and HMI-to-PLC matches are by name, because the export does not carry that link.
Frequently asked questions
Is an MCP server an AI model?
No. The server only offers tools. The model runs in your AI client, such as Claude, Cursor or VS Code, under that provider’s terms; TIATool includes no model and does not resell AI usage.
Does TIATool’s MCP server need the internet?
Not day to day. It contacts the licence server on activation and refreshes the licence daily while online; yearly plans can use an air-gapped licence file instead. No telemetry is sent. To be reached from a cloud assistant through TIATool Remote, the PC keeps one outbound connection to the relay while the link runs.
Does it open a network port?
Not by default: over stdio the server is a child process of your AI client. The optional HTTP mode listens on 127.0.0.1 only, needs a bearer token from tiax-agent token and refuses browser origins other than localhost. TIATool Remote opens no port either: the PC connects outward to the relay over HTTPS.
How many tools does it have?
75: 53 only read, 7 depend on the action and 15 change a project. Every seat includes all of them and all updates, at €99.99 a month or €999.99 a year.
Can I give the AI read-only access?
Yes. Register it with --toolset explore, the toolset for read-only users, and have an administrator set read_only in the policy file: a toolset shapes what the client lists, the policy enforces it.
More guides
- Claude and TIA PortalHow do I use Claude with Siemens TIA Portal?
- Cursor and VS CodeCan I use Cursor or VS Code with TIA Portal?
- Openness and AIHow does AI automate TIA Portal Openness?
- Analyse an inherited projectHow do I analyse an inherited TIA Portal project fast?
- AI-written SCLCan AI write SCL for S7-1500 safely?
Reference
- MCP tool reference: every tool with its arguments, effect and status
- Security and data flow: who sees what, and the threat model
- Every supported AI client and the file setup writes
- How TIATool compares with other ways to use AI in TIA Portal
- Install in three steps
- Pricing: monthly or yearly, every tool included
- Get started: install, connect your AI app and run a first session
- Capability matrix: what is proven, with evidence and limits
- FAQ: install, licensing, data and TIA Portal versions
Try it on your own project.
All 75 tools and every update, running on your engineering PC. After the trial a seat is €99.99 a month or €999.99 a year, one PC per seat.
Every plan starts with a 3-day free trial. A card is required at checkout; cancel in your account before the trial ends and nothing is charged.