Work / TIA-Bridge-MCP

TIA-Bridge-MCP: TIA Portal MCP server — Siemens PLC programming with AI

Control Siemens TIA Portal and your PLC with AI: an MCP server for any agent

industrial-automation · 2026 · Active

What is it made of?

industrial-automation · mcp · model-context-protocol · plc · s7-1200 · s7-1500 · siemens · tia-portal

Source on GitHub ↗ · Need one like it? →

How does it work?

TIA-Bridge connects Claude, or any other AI agent that speaks the Model Context Protocol (MCP), to Siemens TIA Portal and the PLCs it programs. You describe the machine in plain language. The agent creates the project, configures the hardware, writes the PLC program, sets up motion axes and HMI screens, compiles everything, tests it in the simulator and downloads it to the PLC. During commissioning it reads and writes live PLC values while you work on the machine.

What you can ask for

"Create a project with an S7-1200 G2 CPU and write a conveyor program in ladder: start, stop, an E-stop that needs a reset, and a 2-second hold after the metal detector clears."

"Build a pick-and-place cell with six servo axes on a CPU 1511T and SINAMICS S210 drives: homing, jogging, teach positions and an automatic cycle, with a WinCC Unified panel to run it."

"Compile the hardware and the program, and fix every error."

"Load the program into PLCSIM, switch it to RUN and compare it with the project."

"Watch I0.4 to I0.7 and Q0.1 while I press the buttons on the panel."

"Download to the PLC." A download to a real PLC always waits for your confirmation.

What it covers

Simulation

TIA-Bridge works with S7-PLCSIM, Siemens' PLC simulator, so a program can run in simulation before it goes near a real PLC. The agent starts PLCSIM, loads the hardware and the program, switches between RUN, STOP and PAUSE, compares the simulated PLC with the project, reloads it after a change, and closes it again. PLCSIM has to match the TIA Portal version: PLCSIM V17 for TIA Portal V17, PLCSIM V21 for V21.

The agent can also switch on the project option that prepares blocks for simulation when they compile.

PLCSIM Advanced and WinCC runtime simulation are not supported yet.

Test runs

Works with

Safety

Why

TIA Portal is a large tool, and much of a PLC engineer's day goes into clicking through it: adding hardware, setting parameters, wiring up HMI tags, compiling and fixing. With TIA-Bridge an agent does that work from a description, and the engineer reviews the result and decides what goes to the machine.

TIA-Bridge is proprietary. This repository is an overview; the source is private.

What do people ask about it?

Is there an MCP server for Siemens TIA Portal?

Yes: TIA-Bridge. It connects Claude, or any other AI agent that speaks the Model Context Protocol (MCP), to Siemens TIA Portal through TIA Portal Openness, Siemens' API for automating engineering work. You describe the machine in plain language. The agent creates the project, configures the hardware, writes the PLC program, sets up motion axes and HMI screens, compiles everything, tests it in S7-PLCSIM and downloads it to the PLC.

Can Claude Code program a Siemens PLC in TIA Portal?

Yes, through TIA-Bridge, and so can Claude Desktop, Cursor, Cline, Windsurf and other MCP clients. The agent writes blocks in ladder logic (LAD) and SCL, brings in FBD, STL and GRAPH blocks by import, and creates tag tables and PLC data types. It compiles the hardware and the software with every message traced to the object it came from, so the agent can fix the errors itself. In a test run on a real S7-1200 G2 (CPU 1214C DC/DC/DC), a ladder conveyor program with start, stop, an E-stop latch with reset, a metal-detector hold and the run relay of a VFD was downloaded and is running.

Which TIA Portal versions and Siemens hardware does it support?

TIA Portal V21 and V17, with S7-1200, S7-1200 G2 and S7-1500 CPUs (the S7-1500T included), distributed I/O, SINAMICS drives, HMI panels and PROFINET networks with their IP addresses, topology and IRT. The agent can search the whole V21 hardware catalog, about 11,700 entries, by article number or name. In motion control it sets up positioning axes and other technology objects, drive telegrams and isochronous servo mode. In WinCC Unified and WinCC Comfort/Advanced it handles the PLC connections, tags, screens, buttons, I/O fields and their events. Hardware can be imported and exported as AutomationML.

Can it test the program in S7-PLCSIM first?

Yes. A program can run in simulation before it goes near a real PLC: the agent starts S7-PLCSIM, loads the hardware and the program, switches between RUN, STOP and PAUSE, compares the simulated PLC with the project online, reloads it after a change and closes it. PLCSIM has to match the TIA Portal version: PLCSIM V17 for TIA Portal V17, PLCSIM V21 for V21. PLCSIM Advanced and WinCC runtime simulation are not supported yet.

Can I use TIA Portal from a Mac or Linux?

Not directly. TIA Portal is Windows software, and it stays on its engineering PC. With TIA-Bridge the AI agent runs on a Mac or a Linux machine on the same network and does the TIA Portal work from there.

Can the AI agent download to a real PLC on its own?

No. Downloads, going online, writes to PLC values and simulator control each need an explicit confirmation. In the test runs on a real S7-1200 G2, every write was read back and checked, and writes outside a value's range were refused before anything was sent. If you have a project open in TIA Portal, the agent leaves it alone and works in a TIA Portal session of its own. The project password is typed once on your own machine and stored encrypted on the engineering PC; the agent never sees it.

Is TIA-Bridge the same as Siemens Industrial Copilot?

No. Siemens Industrial Copilot is Siemens' own AI assistant. TIA-Bridge is a separate tool that Bibin V R built, and it connects AI agents such as Claude to TIA Portal through the Model Context Protocol. It is proprietary: the GitHub repository is an overview and the source is private. Ask through the contact page about using it on your projects.

What else did I build?

View all →

GXBridge-MCP

Control Mitsubishi GX Works3 and your PLC with AI — an MCP server for any agent GX Works3 · Industrial Automation

eplanbridge

Drive EPLAN Pro Panel 2022.0.3 from outside the application — and build a 6-axis robot-arm control schematic with it. C# · EPLAN

picw-overview

Replacing a Mitsubishi PLC with a Raspberry Pi 4B as master of a dynamic checkweigher (Thames Side T16 / XT1-SO)

/ Work / {{ project.name }} {{ project.category }}

{{ project.name }}{{ project.headline }}

{{ project.tagline }}

{{ m }}

What is it?

{{ project.description }}

npm i {{ project.npm }}

What does it do?

{{ f.n }}

{{ f.text }}

What is it made of?

{{ t }}

How does it work?

{{ b.s }}

{{ b.s }}

{{ b.s }}

{{ b.s }}
{{ b.s }}
  • {{ it }}

Read the full README on GitHub →

What do people ask about it?

{{ f.q }}

{{ f.a }}

What did I write about it?

What else did I build?

View all →

/ Work

Where did
it go?

That project doesn't exist. Head back to the full list.