A high-performance, persistent Model Context Protocol (MCP) server providing AI coding agents (such as Google Antigravity, Claude Desktop, Cursor, and VS Code) with direct programmatic control over Siemens TIA Portal V21 and S7-PLCSIM Advanced V8.0.
Equipped with 153 specialized industrial automation tools, this server bridges generative AI with deterministic industrial hardware and software—enabling automated PLC logic authoring, model-based architecture ingestion (Draw.io / PlantUML / Mermaid), automated design-to-HMI pipelines (Figma to WinCC Unified), live simulation memory I/O, and automated Hardware-in-the-Loop (HIL) sequence verification with telemetry report generation.
+---------------------------------------------------------------------------------------+
| AI Agents / Pair Programmers (Antigravity, Claude, Cursor) |
+---------------------------+-------------------------------+---------------------------+
| |
HTTP JSON-RPC | Server-Sent Events (SSE) | Standard I/O (MCP stdio)
POST /mcp | GET /sse | stdin / stdout
v v
+---------------------------------------------------------------------------------------+
| TiaOpennessMcp Persistent Daemon (Port 5001) |
| |
| [ServerConfig] [HttpMcpServer] [McpServer] |
| - config.json (Host/Port) - Multi-client SSE Sessions - stdio framing |
| - Explicit PID attach only - POST /mcp & /status - stderr logging |
| |
| [TiaManager Singleton] [PlcSimManager Singleton] |
| - Persistent COM connection - S7-PLCSIM Advanced API V8.0 |
| - TiaPortal & Project handles - Shared Memory Controller Link |
| - Dynamic Openness Assembly Resolver - High-Speed Symbolic Tag Cache |
| - 131 Openness Tools (PLC, HMI, TestSuite) - 12 Virtual Simulation & Testing Tools |
+------------------------------+-------------------------------+------------------------+
| |
Siemens TIA Openness COM | PublicAPI | Simulation Runtime API
v v
+----------------------------------------------+ +--------------------------------------+
| Siemens TIA Portal V21 | | Siemens S7-PLCSIM Advanced V8.0 |
| - Hardware Configuration & Device Tree | | - Virtual S7-1500 Controller (Run) |
| - PLC Logic (OB, FB, FC, DB, SCL, SimaticML) | | - Zero-Overhead Memory Read/Write |
| - WinCC Unified PC Runtime (Screens, Items) | | - Deterministic Clock Scaling |
| - Siemens TestSuite Automated Rule Execution | | - Automated Online Sequence Runner |
+----------------------------------------------+ +--------------------------------------+
- Always-On Connection Persistence (
connexion must stay): TIA Portal and project instances are heavy COM entities requiring significant startup time.TiaManagerandPlcSimManagermaintain live handles in memory so every AI turn executes with sub-second latency without reloading the project. - Dual-Transport Flexibility: Standard MCP stdio for agent runners, alongside a concurrent HTTP/SSE daemon (port
5001) for web interfaces, live telemetry dashboards, and multi-agent orchestrators. - Clean-Room Assembly Loading: Dynamically resolves Siemens assemblies from local installation paths (
PublicAPI\V21\net48\andPLCSIMADV\API\8.0\), avoiding unauthorized binary redistribution while ensuring 100% binary compatibility with Siemens updates.
flowchart TD
subgraph AGENTS["🤖 AI Engineering Agents"]
AgentAntigravity["Google Antigravity<br/>(Advanced Agentic Coding)"]
AgentClaude["Claude Desktop / Cursor<br/>(stdio MCP Client)"]
AgentCustom["HTTP / SSE Client<br/>(Web UI / CI Dashboard)"]
end
subgraph SERVER["⚡ TiaOpennessMcp Server (Persistent Daemon)"]
TransportStdio["MCP stdio Handler<br/>Framing & JSON-RPC"]
TransportHttp["HTTP / SSE Engine<br/>Port 5001"]
ToolRegistry["Tool Registry<br/>153 Industrial Automation Tools"]
TiaMgr["TiaManager (Singleton)<br/>Openness COM Bridge"]
PlcSimMgr["PlcSimManager (Singleton)<br/>PLCSIM API V8.0 Bridge"]
end
subgraph TIA["🏭 Siemens TIA Portal V21"]
subgraph PLC["PLC Software Engine"]
PlcLogic["SCL / SimaticML Logic<br/>OB / FB / FC / DB Blocks"]
PlcTypes["Data Types (UDTs)<br/>Tag Tables (%I, %Q, %M)"]
PlcCompile["ICompilable Compiler<br/>Line Diagnostics & Warnings"]
end
subgraph HMI["WinCC Unified Runtime"]
HmiScreens["Screen Management<br/>Labels, Buttons, Shapes, IO Fields"]
HmiDynamization["Range Dynamization & Color Scales<br/>In-Place JS Script Updates"]
HmiComm["Text Lists & PLC Connections<br/>Unified Runtime Compiler"]
end
subgraph TEST["TestSuite Engine"]
TestSuite["Automated Rule Checking<br/>.tat Test Execution"]
end
end
subgraph SIM["🚀 Siemens S7-PLCSIM Advanced V8.0"]
SimRuntime["Virtual S7-1500 Controller<br/>Zero-Overhead Memory Access"]
SimScale["Deterministic Clock Scaling<br/>1.0x to 10.0x Speedup"]
SimSeq["Universal Sequence Validation<br/>80ms Telemetry & Verification Reports"]
end
AgentAntigravity -->|MCP stdio| TransportStdio
AgentClaude -->|MCP stdio| TransportStdio
AgentCustom -->|HTTP / SSE| TransportHttp
TransportStdio --> ToolRegistry
TransportHttp --> ToolRegistry
ToolRegistry --> TiaMgr
ToolRegistry --> PlcSimMgr
TiaMgr --> PLC
TiaMgr --> HMI
TiaMgr --> TEST
PlcSimMgr --> SIM
- Lifecycle & Instances: Discover running PIDs (
tia_list_processes), attach silently (tia_connect), open projects headless or with GUI (tia_open_project), save (tia_save_project), and close (tia_close_project). - Hardware Topology: Inspect racks, subnets, slots, CPU modules, and distributed I/O stations (
tia_list_devices,tia_get_device_tree). - Software Logic & Blocks: Enumerate blocks with language and consistency state (
tia_list_blocks), read block code (tia_get_block_code), import/overwrite SimaticML (tia_import_block), import complete SCL source (tia_import_scl_block), rename blocks in place (tia_rename_block), and delete obsolete blocks (tia_delete_block). SCL replacement backs up and deletes the old block before importing; failed imports attempt restoration, while compile errors are reported without rollback. - Block code as source text:
tia_get_block_codereturns the source text TIA Portal generates for SCL, STL and DB blocks and for PLC data types (format: "auto", the default). LAD, FBD and GRAPH blocks, and blocks whose source cannot be generated, return SimaticML.format: "xml"always returns SimaticML. - Large imports from files:
tia_import_block,tia_import_scl_blockandtia_import_plc_typetake either the inline text or a server-localfile_path.tia_import_scl_blockhas abackupparameter: an inconsistent block is compiled once before the backup, and the import stops if it stays inconsistent. - OB attributes:
tia_set_block_attributesetsCyclicTime,PhaseOffsetorPriorityNumberof an OB in place, with an explicit unit (msorus) and read-back. The unit follows the CPU: microseconds on S7-1500 and S7-1200 G2, milliseconds on the classic S7-1200.tia_import_blockwarns about OB cycle times in the wrong unit for the target CPU. - Data Types & Tags: Author User Data Types (
tia_list_plc_types,tia_import_plc_type), rename or delete them (tia_rename_plc_type,tia_delete_plc_type), and manage tag tables (tia_list_tag_tables,tia_get_tags). - Native Diagnostics: Compile software containers via
ICompilableand return exact error messages, line numbers, and warnings (tia_compile). When nothing needed compiling, the result says so (UpToDate,Note).tia_get_compile_statelists the consistency and compile dates of every block and data type without compiling.
- Screen Management: Create and delete Unified screens, and list or target screens recursively through nested screen groups (
hmi_list_screens,hmi_create_screen,hmi_delete_screen). - Widgets & UI Elements: Programmatically position labels with HTML typography (
hmi_add_label), pushbuttons (hmi_add_button), tag-bound toggle switches (hmi_add_toggle_switch), geometric shapes (hmi_add_shape), and process I/O fields (hmi_add_io_field). Pass texts as plain Unicode (ä, ö, °); the server wraps and escapes them. - In-place item updates:
hmi_update_screen_itemchanges position, size, colors,Visible,Enabled, IO-fieldOutputFormat, text alignment, the screen of a screen window,TextandFont(nested or asFont.Size) without deleting the item, and reads each value back. - Runtime settings: Read the WinCC Unified Runtime settings (
hmi_get_runtime_settings) and set the start screen in place (hmi_set_start_screen). - Discrete Alarms: Create or update discrete alarms with validated trigger tags, alarm classes, trigger modes, and multilingual event text (
hmi_create_discrete_alarm). - Range Dynamization: Dynamize properties (e.g.
BackColor, font color) to integer/real tags usingConditionType.Range(hmi_set_tag_dynamization). - Mapping Entry Updates: Update an existing tag or expression dynamization entry's value, alternate value, or flashing settings in place (
hmi_update_dynamization_entry). - Expression Condition Rows: Replace ordered Expressions-tab conditions and their typed property values in place (
hmi_set_expression_dynamization_entries). - In-Place Script Updates: Safely update button JavaScript handlers in-place without deleting or disrupting layout coordinates (
hmi_update_button_scripts). - JSON-Based HMI Engineering: Export, import, and patch screens, tags, and discrete alarms using versioned
tia-mcp-hmi/1JSON files (hmi_export_json,hmi_read_export_file,hmi_begin_import,hmi_upload_import_file,hmi_import_json,hmi_patch_json). Remote clients can transfer files through bounded Base64 chunks. Imports are transactional, verified, compiled, and never save the project. - Communication & Text Lists: Create device-level text lists (
hmi_create_text_list), export text lists (hmi_export_text_lists), and establish HMI-to-PLC communication links (hmi_create_connection). - Compile Diagnostics: Full Unified runtime compilation diagnostics with item-level error reporting (
hmi_compile). The HMI is selected by software, device item or device name (target_name), or automatically when the project has only one HMI.
HMI JSON exports are organized as manifest.json, screens/, tags/, alarms/discrete.json, and optional shared styles.json. File hashes are verified by default on import; use verify_hashes: false only when intentionally editing exported files without updating their manifest hashes. Imports support a dry run and optional item pruning; patch files support guarded set/bind/delete operations and verification requirements.
An imported item without a text, dynamizations or events key keeps that part unchanged; an empty list removes it. Existing Singlebit and Bitmask mapping tables are updated in place, so an unchanged export imports again without errors. Flags enums such as WindowFlags take names separated by , or |. Import does not reorder existing screen items; zOrder in the manifest or a screen file reports (keep) or refuses (require) a different item order. The patch format is described in the hmi-json skill and in docs/TOOLS_REFERENCE.md.
Tag and Expression dynamizations preserve value converters and typed Simple/Range/Bitmask mappings.
Faceplates retain their contained-type identity; internal tags retain their data type and unset limits.
Faceplate and custom-widget interface values are serialized as typed interface entries.
Custom widgets export supported full properties but must already exist when importing; their
creation identity and complex control compositions are not serialized. Inspect manifest warnings;
the JSON export is not a complete project backup. Tag, Expression, Script, and
ResourceList dynamizations are serialized. Bitmask mappings preserve their unsigned
64-bit condition/relevant masks and SingleBit/MultiBit mode. Script dynamizations retain code, global
definitions, async mode and trigger settings; referenced resource lists must already
exist on import. Unsupported dynamizations and tag-based limits fail explicitly.
By default, exports also include library/HmiAssets.zal21: a hashed native V21 archive
of the complete project type library, including faceplate/dynamic SVG definitions,
all committed versions, and PLC type dependencies (not just types used by the selected HMI).
The manifest records type/version GUIDs. Import restores missing definitions before
creating instances, refuses GUID/name/version conflicts, and never saves the project.
Dry runs retrieve and inspect a temporary read-only library without changing the project.
Use include_library: false to omit the archive when the required types already exist.
All library versions must be committed; no automatic release or replacement is performed.
The supplied SVG XSDs/DTD are in schemas/svghmi.
Native packaging transfers the actual library definitions;
it does not extract/rebuild raw .svghmi files or render faceplate/SVG contents.
Import standalone source SVGs through the TIA library editor first.
hmi_render_json renders an exported directory without connecting to TIA Portal or
executing JavaScript, expressions, or tag reads. The equivalent Windows CLI is:
.\src\bin\Debug\net48\TiaOpennessMcp.exe --render-hmi C:\Projects\Plant\hmi\HMI_RT_1 --output C:\Projects\Plant\previews --language en-US --scale 2
# Optional: --screen ParameterScreen (or group/name to disambiguate).Each screen produces a clean lossless .png, a numbered .layout.png, and a
.layout.json containing matching IDs, item paths, z-order, screen-space bounds,
visibility, clipping, possible text overflow, placeholders, and unresolved dynamic
properties. render-index.json links the results. Default scale is 2x for readable
AI inspection; coordinates in reports remain unscaled screen pixels. Review the
clean image first, then use overlay IDs and JSON to locate layout problems precisely.
The renderer resolves shared styles, localized text/markup, rounded shapes, lines,
buttons, IO fields, and static nested screen windows (including clipping, zoom, and
scroll offsets). Dynamic process values are shown as ?. Default language is en-US
when available, otherwise the first manifest language. Explicitly select a language
for reproducible review. Output files are never overwritten.
New compact exports include a hashed defaults.json referenced by defaultsFile,
so omitted properties can be resolved offline. Old compact exports still render,
but emit an approximation warning; prefer a full export or re-export for exact defaults.
These captured defaults are preview metadata; imports still use the destination TIA's
own type defaults.
Fidelity limits: this is an engineering preview, not a runtime screenshot.
Faceplates, custom SVG/widgets, alarm/trend controls, and other unavailable control
compositions are hatched placeholders. Graphic assets are not present in the export.
Missing fonts, inline rich-text formatting, window adaption/chrome, switch skins,
fill patterns and compositing approximations are disclosed in each report. Install
the original fonts for reliable text metrics. textOverflow is a heuristic, not a
runtime compiler verdict. Use runtime validation for final visual sign-off.
- Libraries: Enumerate global libraries and search project-library types or faceplates using bounded results and exact open-project scope; discover PLC instances of exact project-library types.
- Project Texts: Discover project text categories and export project texts using explicit cultures without overwriting an existing file.
- Read-only PLC Data: Inspect exact tag/member/table attributes and user-constant type/value data with exact PLC/table/group resolution.
- PLC Structure & Constants: Create block/tag-table groups and tag tables, and create/update supported user constants with exact target resolution and read-back.
- Project Setup: Create a project only in an existing empty directory using the connected TIA Portal instance.
- HMI Structure & Navigation: Create screen groups/screens and HMI tag tables, add verified navigation buttons, and rename screens, groups, or tag tables in place with explicit fail-on-conflict behavior.
- HMI Tags: Delete one HMI tag (
hmi_delete_tag) or rename it in place (hmi_rename_tag). Both scan for references first and supportdry_run. A referenced tag is not deleted by default. A rename reports which references still use the old name. - Verification: Each mutation has a case-by-case disposable-project test plan; live TIA verification remains for the operator.
- Supported simulator: S7-PLCSIM Advanced V8.0 or newer only (S7-1500 and ET 200SP virtual controllers). Standard S7-PLCSIM (V18-V21), and therefore S7-1200 simulation, has no public API and is not supported.
plcsim_list_instancesreports when standard S7-PLCSIM is running. - Direct Runtime Link: Connects to virtual S7-1500 controllers via shared memory API V8.0 (
plcsim_connect). - Operating Modes: Query status (
plcsim_get_status) and switch CPU operating modes (plcsim_set_operating_state:Run,Stop,MemoryReset). - Clock Scaling: Accelerate simulation deterministically (
plcsim_set_scale_factor: e.g.2.0xor5.0xspeed). - Zero-Overhead Memory I/O: High-speed symbolic tag reading and writing (
plcsim_read_tag,plcsim_write_tag,plcsim_read_tags,plcsim_write_tags). - Universal Sequence Validation: Execute parameterized sequence tests on any state machine (
plcsim_run_sequence), sample 80ms telemetry, verify state transitions, and generate validation reports. - Diagnosis:
plcsim_list_instancesreturns an object withruntimeAvailable, the API folder and version, the instances, running standard S7-PLCSIM processes and amessage. When the PLCSIM Advanced API is missing, everyplcsim_*tool error explains why.
- Enumerate configured project test cases (
tia_testsuite_list_tests). - Import and reload
.tatrule files withImportOptions.Override(tia_testsuite_load_test).
- Search and read the official docs:
docs_search,docs_read_page,docs_get_tocanddocs_list_publicationsread the public Siemens documentation sites (docs.tia.siemens.cloudanddocs.industrial-operations-x.siemens.cloud) through their Fluid Topics REST API. They cover TIA Portal, STEP 7, WinCC Unified (system functions and the JavaScript object model), the Openness API and more. - Token-efficient reading: Pages come back as Markdown.
mode: "outline"lists numbered headings with sizes,sectionreturns only the chosen sections,mode: "code"returns only code blocks, and long pages are split into parts with the exact arguments for the next one. References are compact (tia:<mapId>/<contentId>). - No TIA Portal needed: These tools need internet access only. Publications and tables of contents are cached in memory for 24 hours.
- Ported to C# from siemens-docs-mcp (MIT). See THIRD_PARTY_NOTICES.md.
- Read a running PLC:
plc_online_connect,plc_online_list_datablocks,plc_online_browseandplc_online_read_tagsread current values from a real S7-1200 or S7-1500 over S7CommPlus by symbolic name (DB_Process.Tank.LevelPct,DB_IO.Valves[2]), including optimized data blocks. No TIA Portal, Openness or PLC configuration change is needed. - Security: projects from TIA Portal V17 or later use TLS (managed BouncyCastle, no OpenSSL needed); older projects use the legacy challenge login from HarpoS7. The default
security_mode: "auto"tries TLS first. A password is needed only if the CPU's protection level requires one for reading. - Status:
plc_online_get_statusshows the CPU name, order number, firmware, project TIA version and RUN/STOP state. - Read-only by design: the driver client is created with writes disabled, and there are no write or operating-state tools. One connection stays open across calls (
plc_online_disconnectcloses it). - Uses DotNetProjects.S7CommPlusDriver (LGPL-3.0, NuGet, separate DLL). It and HarpoS7 are community projects based on protocol analysis, not Siemens products. See THIRD_PARTY_NOTICES.md.
- Devices and modules: Find complete type identifiers in the hardware catalog (
tia_find_module_types), create stations from an order number or an installed GSDML (tia_create_device,Devices.CreateWithItem), list free slots (tia_list_plug_locations) and plug modules, GSD submodules or drive telegrams (tia_plug_module,CanPlugNew+PlugNew). Rename and delete devices or items (tia_rename_hardware,tia_delete_hardwarewithconfirm). - PROFINET: Create subnets (
tia_create_subnet), connect interfaces (tia_connect_to_subnet), create the IO system on the controller (tia_create_io_system), assign IO devices (tia_connect_to_io_system), set IP address, router and PROFINET device name (tia_set_network_node), and review it all withtia_list_network. - IO addresses:
tia_get_io_addressesreturns each item's start address and length (bits) so PLC tags can be wired to modules and drive telegrams. - CAx/AutomationML: Export the project or one device as
.aml(tia_export_aml) and import it back (tia_import_aml, preview by default, conflict option parking lot / retain / overwrite). - Backup to Git:
tia_export_project_fileswrites blocks (SimaticML and SCL), UDTs, tag tables, watch/force tables and the hardware AML to a fixed folder layout. Export timestamps are removed and AML element IDs are made stable, so an unchanged project gives an unchanged folder. - Archives:
tia_archive_project(Project.Archive, compressed.zap21) andtia_retrieve_project(Projects.Retrieve). - Cross references:
tia_export_cross_referenceswrites the PLC cross-reference table of blocks and tags as JSONL. - Not possible through Openness V21: installing GSD/GSDML files (do it in TIA Portal: Options > Manage general station description files (GSD)), Siemens Startdrive drives in CAx files, and downloading to devices (deliberately not offered).
- List and read:
tia_list_technology_objectslists the PLC's Technology objects folder with type, version, DB number and folder.tia_get_technology_object_parametersreads parameters by their Name in Openness with value and CLR type. - Create:
tia_create_technology_objectcreates a technology object such asPID_Temp,PID_CompactorPID_3Stepwith an explicit version (for example1.1for PID_Temp on S7-1200). It fails without changes when a technology object, block or system block already has the name. - Set parameters:
tia_set_technology_object_parametersvalidates every value first, then writes them in order and reads each one back. It does not roll back earlier writes when a later one fails. - Creating the object does not call it. Call it from a cyclic interrupt OB, for example with
tia_import_scl_block. - Not verified against a live TIA Portal: the real parameter names and types of each object version, and whether the writes persist after save.
The MCP server enables an automated Design-to-Industrial HMI pipeline, transforming UI/UX designs into production-ready WinCC Unified V21 screens.
flowchart LR
Figma["🎨 Figma Design<br/>(Frames, Tokens, SVGs)"] -->|Export JSON & Vectors| Ingestion["🤖 AI Agent Ingestion<br/>(Geometry & Token Mapping)"]
Ingestion -->|hmi_create_screen & hmi_add_*| Creation["🖥️ WinCC Unified Screens<br/>(Widgets, Shapes, IO Fields)"]
Creation -->|hmi_set_tag_dynamization| Dynamization["⚡ Range Dynamization<br/>(Multi-state Color Feedback)"]
Dynamization -->|hmi_update_button_scripts| Scripting["📜 In-Place Scripting<br/>(Safe JavaScript Handlers)"]
Scripting -->|hmi_compile| Compilation["✅ Unified Compiler<br/>(Zero Error Verification)"]
-
Design & Token Export (Figma):
- Designers organize screens in Figma frames with layout grids (e.g. 1920x1080 or custom industrial aspect ratios).
- Component tokens are exported (geometry:
x,y,width,height; styles: background fill, borders, typography; vector graphics as SVGs).
-
AI Agent Ingestion & Translation:
- The AI agent parses design coordinates and converts CSS/hex colors into WinCC Unified ARGB format (
#AARRGGBBor#RRGGBB). - Figma visual elements map directly to native WinCC Unified primitives:
- Text frames
$\rightarrow$ hmi_add_label(with embedded HTML formatting). - Rectangles / Cards / Containers
$\rightarrow$ hmi_add_shape(Rectangle). - Action elements
$\rightarrow$ hmi_add_button. - Data displays & entry
$\rightarrow$ hmi_add_io_field(bound to PLC tags).
- Text frames
- The AI agent parses design coordinates and converts CSS/hex colors into WinCC Unified ARGB format (
-
Screen Creation & Placement:
- Creates targeted screen:
hmi_create_screen(e.g.MainOperation,Diagnostics). - Populates screen widgets with exact pixel coordinates.
- Creates targeted screen:
-
Range Dynamization & Color States:
- Binds visual attributes (such as background color) to PLC status tags using
hmi_set_tag_dynamization. - Supports multi-level range mapping (e.g.
0..0: Stopped (#6C757D),10..50: Running (#28A745),99..99: Fault (#DC3545)).
- Binds visual attributes (such as background color) to PLC status tags using
-
In-Place Script Updates:
- Injects JavaScript event handlers via
hmi_update_button_scripts. - Modifies existing buttons in-place without widget re-creation, preserving all coordinate bindings and visual stacking order.
- Injects JavaScript event handlers via
-
Unified Runtime Verification:
- Validates the resulting screen via
hmi_compile, returning compilation diagnostics directly to the agent.
- Validates the resulting screen via
The MCP server accepts structured system models to synthesize hardware configuration, PLC User Data Types (UDTs), and state machine logic directly from engineering diagrams.
flowchart TD
subgraph INPUT["📐 System Design Artifacts"]
DrawIO["Draw.io (.drawio / .xml)<br/>Hardware & Sequence Flow"]
PlantUML["PlantUML (.puml)<br/>Component & Class Diagrams"]
Mermaid["Mermaid (.mmd / Markdown)<br/>Statecharts & Topologies"]
end
subgraph INGESTION["🔍 AI Model Ingestion & Verification"]
HwParser["Topology Resolver<br/>CPU, Modules, Subnets, IP"]
TypeParser["Data Model Resolver<br/>UDTs, Structs, Primitives"]
StateParser["State Machine Resolver<br/>States, Transitions, Guards"]
end
subgraph TOOLS["⚙️ TIA Openness MCP Tools"]
ToolHw["tia_list_devices<br/>tia_get_device_tree"]
ToolType["tia_import_plc_type<br/>tia_get_tags"]
ToolBlock["tia_import_block<br/>tia_compile"]
ToolSim["plcsim_run_sequence<br/>plcsim_read_tags"]
end
INPUT --> INGESTION
HwParser --> ToolHw
TypeParser --> ToolType
StateParser --> ToolBlock
ToolBlock --> ToolSim
The server expects architecture diagrams detailing:
- Controller Module: Family, CPU catalog number (e.g.
CPU 1511TF-1 PN,6ES7 511-1TK01-0AB0), firmware version. - Network Interfaces: PROFINET / Industrial Ethernet subnets, station names, IP addresses, and subnet masks.
- Distributed I/O: Rack/slot assignments, I/O module order numbers (e.g. digital inputs, analog outputs, motion modules).
@startuml
package "PROFINET Network (192.168.0.0/24)" {
[CPU 1511TF-1 PN\n192.168.0.101] as PLC
[ET 200SP Interface Module\n192.168.0.110] as RIO_1
[WinCC Unified PC Runtime\n192.168.0.120] as HMI
}
PLC <--> RIO_1 : PROFINET IO
PLC <--> HMI : S7 Communication (102/TCP)
@endumlFor software data models, the server expects structured types specifying field names, primitive or composite data types, default initial values, and engineering comments.
@startuml
class "type_MotorStatus" as UDT1 <<UDT>> {
+ isReady : Bool = FALSE
+ isRunning : Bool = FALSE
+ isFaulted : Bool = FALSE
+ actualSpeedRpm : Real = 0.0
+ motorCurrentAmps : Real = 0.0
}
class "type_SequenceConfig" as UDT2 <<UDT>> {
+ sequenceId : String[32] = 'SEQ_01'
+ targetUnits : DInt = 100
+ processTimeout : Time = T#30s
+ targetSpeed : Real = 1200.0
}
@endumlThe agent translates these structures directly into SimaticML XML definitions and invokes tia_import_plc_type.
To generate deterministic sequence blocks, provide a statechart defining:
- States & Step Numbers: Explicit integer indexing (e.g.
0: IDLE,10: INFEED,20: PROCESSING,30: OUTFEED,99: FAULT). - Guards & Conditions: Explicit boolean conditions or sensor thresholds required to transition.
- Actions: Outputs activated in each state.
- Timeouts & Abort Paths: Maximum duration per state before triggering alarm/recovery.
stateDiagram-v2
[*] --> Step0_Idle
Step0_Idle --> Step10_Infeed: Cmd_Start AND NOT Fault
Step10_Infeed --> Step20_Processing: InfeedSensor = TRUE
Step20_Processing --> Step30_Outfeed: ProcessTimer.Q = TRUE
Step30_Outfeed --> Step0_Idle: OutfeedDone = TRUE
Step10_Infeed --> Step99_Fault: Timeout > 15s OR EStop
Step20_Processing --> Step99_Fault: AlarmActive
Step99_Fault --> Step0_Idle: Cmd_Reset AND SensorsClear
The agent generates structured IEC 61131-3 SCL CASE currentStep OF ... END_CASE; logic, imports it via tia_import_block, compiles via tia_compile, and validates execution live in S7-PLCSIM Advanced via plcsim_run_sequence.
| # | Tool Name | Category | Primary Parameters | Description |
|---|---|---|---|---|
| 1 | tia_get_status |
Connection | (none) | Live connection status, attached PID, and open project metadata. |
| 2 | tia_list_processes |
Connection | (none) | Enumerate all running TIA Portal instances. |
| 3 | tia_connect |
Connection | process_id (opt) |
Attach to a running TIA Portal instance. |
| 4 | tia_disconnect |
Connection | (none) | Detach from active TIA Portal instance. |
| 5 | tia_get_project_info |
Connection | (none) | Project metadata (author, path, modified timestamp). |
| 6 | tia_open_project |
Connection | project_path, with_gui |
Open a .ap21 or .ap20 project file. |
| 7 | tia_save_project |
Connection | (none) | Save modifications to open project. |
| 8 | tia_close_project |
Connection | (none) | Close current project. |
| 9 | tia_list_devices |
Hardware | (none) | List all physical and logical devices. |
| 10 | tia_get_device_tree |
Hardware | device_name |
Inspect device slots, modules, and subnets. |
| 11 | tia_list_plcs |
PLC Logic | (none) | Summary of all PLCs and software counts. |
| 12 | tia_list_blocks |
PLC Logic | plc_name, block_type, folder |
Enumerate OB, FB, FC, and DB blocks with language & status. |
| 13 | tia_get_block_code |
PLC Logic | block_name, plc_name, format, include_xml, with_dependencies |
Generated source text for SCL/STL/DB blocks and UDTs; SimaticML for other languages or with format: "xml". |
| 14 | tia_import_block |
PLC Logic | xml_content or file_path, plc_name, overwrite |
Import or update block logic via SimaticML XML; warns about suspicious OB cycle settings. |
| 14a | tia_import_scl_block |
PLC Logic | scl_code or file_path, plc_name, folder, backup, compile_after_import, open_after_import |
Import a complete SCL block; replacement uses backup/delete/reimport with restore on import failure. |
| 15 | tia_delete_block |
PLC Logic | block_name, plc_name |
Delete a PLC program block; points to tia_delete_plc_type for a UDT name. |
| 16 | tia_list_plc_types |
Data Types | plc_name |
List all User Data Types (UDTs). |
| 17 | tia_get_plc_type |
Data Types | type_name, plc_name |
Export UDT definition as SimaticML XML. |
| 18 | tia_import_plc_type |
Data Types | xml_content or file_path, plc_name, overwrite |
Import or update a UDT definition. |
| 19 | tia_compile |
Compilation | plc_name |
Compile PLC software & return error diagnostic log; UpToDate and Note when nothing was compiled. |
| 20 | hmi_list_targets |
HMI Runtime | (none) | List all HMI software instances (e.g. PC-System_1/HMI_RT_1). |
| 21 | hmi_list_screens |
HMI Screen | target_name (opt) |
List all screens with resolution and item counts. |
| 22 | hmi_create_screen |
HMI Screen | screen_name, width, height |
Create a new WinCC Unified screen. |
| 23 | hmi_delete_screen |
HMI Screen | screen_name |
Delete a screen from HMI software. |
| 24 | hmi_get_screen_items |
HMI Screen | screen_name |
Retrieve all screen widgets, coordinates, and scripts. |
| 25 | hmi_delete_screen_items |
HMI Screen | screen_name, item_names, prefix |
Delete specific screen widgets. |
| 26 | hmi_add_label |
HMI Widget | screen_name, name, text, left, top |
Add HTML-formatted text label with typography controls. |
| 27 | hmi_add_button |
HMI Widget | screen_name, name, text, script |
Add pushbutton with OnClick JavaScript script. |
| 28 | hmi_add_toggle_switch |
HMI Widget | screen_name, name, off_text, on_text, process_tag |
Add a two-state toggle bound to IsAlternateState. |
| 29 | hmi_add_shape |
HMI Widget | screen_name, type, width, height |
Add rectangle or circle with border and fill styling. |
| 30 | hmi_add_io_field |
HMI Widget | screen_name, name, process_tag, output_format |
Add numeric/string Input-Output field bound to tag. |
| 31 | hmi_set_tag_dynamization |
HMI Logic | screen_name, item_name, property_name, tag_name, condition_type, ranges |
Bind property (e.g. BackColor) to tag using Range or Singlebit entries; an existing Singlebit table is updated in place. |
| 32 | hmi_update_dynamization_entry |
HMI Logic | screen_name, item_name, property_name, entry_index |
Update selected mapping-entry values or flashing settings in place. |
| 33 | hmi_update_button_scripts |
HMI Logic | screen_name, button_name, script |
Update existing button scripts in-place with JS validation. |
| 34 | hmi_list_tag_tables |
HMI Tags | target_name (opt) |
List HMI tag tables. |
| 35 | hmi_list_tags |
HMI Tags | table_name |
List HMI tags with data types and connection bindings. |
| 36 | hmi_create_tag |
HMI Tags | table_name, tag_name, connection |
Create HMI tag mapped to PLC address. |
| 37 | hmi_create_discrete_alarm |
HMI Alarms | alarm_name, alarm_class, raised_state_tag, text |
Create a discrete alarm from an existing HMI trigger tag. |
| 38 | hmi_update_tag_acquisition_cycles |
HMI Tags | tags |
Configure acquisition cycle rate (e.g. 100ms, 1s). |
| 39 | hmi_set_tag_range |
HMI Tags | table_name, tag_name, min, max |
Configure linear limits and scaling. |
| 40 | hmi_create_data_log |
HMI Logging | log_name, max_size_mb |
Create historical circular data log. |
| 41 | hmi_assign_logging_tags |
HMI Logging | log_name, tag_names |
Assign process tags to historical archive. |
| 42 | hmi_list_connections |
HMI Comm | device_name (opt) |
Enumerate all configured HMI communication links. |
| 43 | hmi_create_connection |
HMI Comm | connection_name, plc_device_name |
Create a communication link between HMI and PLC. |
| 44 | hmi_delete_connection |
HMI Comm | connection_name |
Remove an HMI communication link. |
| 45 | hmi_list_text_lists |
HMI Text | device_name (opt) |
Enumerate all text and graphic lists. |
| 46 | hmi_create_text_list |
HMI Text | name, list_type, entries |
Create value or range text list (e.g. status decoders). |
| 47 | hmi_delete_text_list |
HMI Text | name |
Remove a text list. |
| 48 | hmi_export_text_lists |
HMI Text | destination_folder, base_filename |
Export text lists to .hmi.yml files. |
| 49 | hmi_compile |
Compilation | target_name (opt), target_device (alias) |
Compile WinCC Unified runtime with diagnostics; the only HMI is selected automatically. |
| 50 | tia_list_tag_tables |
PLC Tags | plc_name |
List PLC tag tables. |
| 51 | tia_get_tags |
PLC Tags | table_name, plc_name |
Read PLC tags with %I, %Q, %M addresses. |
| 52 | hmi_export_json |
HMI JSON | output_directory (optional), compact, script_files, include_library, target_name |
Export hashed JSON and native faceplate/SVG library definitions; omit destination for remote transfer. |
| 53 | hmi_import_json |
HMI JSON | input_directory or transfer_id, prune_items, dry_run, verify_hashes, target_name |
Validate and transactionally import HMI JSON; compile without saving. Missing keys keep existing sections; zOrder check. |
| 54 | hmi_patch_json |
HMI JSON | file_path, dry_run, target_name |
Apply a guarded JSON patch to Unified HMI objects (expectTag guard, unknown fields reported). |
| 55 | tia_testsuite_list_tests |
TestSuite | plc_name |
List configured Siemens TestSuite test cases. |
| 56 | tia_testsuite_load_test |
TestSuite | file_path |
Import or reload .tat rule file with override. |
| 57 | plcsim_list_instances |
Simulation | (none) | List S7-PLCSIM Advanced instances with runtime and API diagnosis (object result). |
| 58 | plcsim_connect |
Simulation | instance_name (default "PLC_1") |
Connect to S7-PLCSIM Advanced and cache symbolic tags. |
| 59 | plcsim_disconnect |
Simulation | (none) | Detach from active PLCSIM instance. |
| 60 | plcsim_get_status |
Simulation | (none) | Real-time status (Run/Stop, scale factor, tag counts). |
| 61 | plcsim_set_operating_state |
Simulation | state ("Run", "Stop", "MemoryReset") |
Switch virtual controller operating state. |
| 62 | plcsim_set_scale_factor |
Simulation | scale_factor (e.g. 2.0) |
Scale simulation clock to speed up execution. |
| 63 | plcsim_read_tag |
Live I/O | tag_name |
Read live DB, I, Q, or M variable by symbolic name. |
| 64 | plcsim_write_tag |
Live I/O | tag_name, value |
Write live value to variable in virtual PLC memory. |
| 65 | plcsim_read_tags |
Live I/O | tag_names |
Bulk read multiple variables in a single call. |
| 66 | plcsim_write_tags |
Live I/O | tags (key-value object) |
Bulk write multiple variables in a single call. |
| 67 | plcsim_run_sequence |
Verification | start_command_tag, step_number_tag, done_tag, ... |
Universal automated sequence testing for any state machine. |
| 68 | plcsim_run_mixing_sequence |
Verification | Recipe parameters, scale_factor |
Automated multi-parameter batch testing runner. |
| 69 | hmi_render_json |
HMI Preview | input_directory, output_directory, screen_name, language, scale |
Offline PNGs, numbered overlays, and layout reports with nested screens. |
| 70 | hmi_read_export_file |
HMI JSON | transfer_id, relative_path, offset, chunk_bytes |
Fetch a staged export file in bounded Base64 chunks. |
| 71 | hmi_begin_import |
HMI JSON | (none) | Create a staged remote HMI JSON import. |
| 72 | hmi_upload_import_file |
HMI JSON | transfer_id, relative_path, content_base64, offset, total_bytes |
Upload a file in bounded sequential Base64 chunks. |
| 73 | hmi_get_screen_item |
HMI Screen | screen_name, item_name |
Read all supported properties, event scripts, and full dynamization state for one item. |
| 74 | hmi_update_screen_item |
HMI Screen | screen_name, item_name, item_properties |
Update allowlisted item properties (also Enabled, Text, Font, Screen, alignment, OutputFormat) in place and verify readback. |
| 75 | hmi_read_event_scripts |
HMI Logic | screen_name, item_name (opt) |
Read screen or item event scripts and supported event names. |
| 76 | hmi_set_event_script |
HMI Logic | screen_name, event_type, script, item_name (opt) |
Create or update one screen/item event script in place. |
| 77 | hmi_set_expression_dynamization |
HMI Logic | screen_name, item_name, property_name, expression, result_type |
Set an expression formula while preserving existing mappings and other dynamizations. |
| 78 | hmi_get_js_type_definitions |
HMI Logic | (none) | Return the server-bundled, documented subset of WinCC Unified JavaScript declarations. |
| 79 | hmi_set_expression_dynamization_entries |
HMI Logic | screen_name, item_name, property_name, entries |
Replace ordered condition/value rows for one expression dynamization. |
| 80 | tia_import_scl_block |
PLC Import | scl_code or file_path, plc_name, folder, backup, compile_after_import, open_after_import |
Import a complete SCL block with backup/restore behavior for same-name blocks. |
| 81 | hmi_delete_dynamization |
HMI Logic | screen_name, item_name, property_name, target_name |
Delete one property dynamization in place without replacing the item. |
| 82 | tia_get_block_info |
PLC Discovery | block_name, plc_name, group_path |
Read exact block identity and verified metadata without fabricating IDs or revisions. |
| 83 | tia_get_block_attributes |
PLC Discovery | block_name, plc_name, group_path |
Read supported consistency/protection attributes, and OB cycle attributes, with per-attribute status. |
| 84 | tia_get_tag_table_info |
PLC Discovery | table_name, plc_name, group_path |
Read exact table scope and contained-tag count. |
| 85 | tia_get_type_info |
PLC Discovery | type_name, plc_name, group_path |
Read exact PLC type identity and verified consistency metadata. |
| 86 | tia_get_type_attributes |
PLC Discovery | type_name, plc_name, group_path |
Read the verified PLC type consistency attribute. |
| 87 | tia_list_global_libraries |
Library Discovery | name_filter, offset, page_size |
List accessible global-library metadata with bounded paging. |
| 88 | tia_search_project_library_types |
Library Discovery | project_path, query, offset, page_size |
Search project-library types within one exact open project. |
| 89 | tia_list_project_faceplates |
Library Discovery | project_path, name_filter, offset, page_size |
List faceplate library types visible in the selected project library. |
| 90 | tia_list_project_text_categories |
Project Text | project_path, query, offset, page_size |
List project text category identifiers and names. |
| 91 | tia_download_project_texts |
Project Text | project_path, destination_file_path, primary_culture, reference_culture |
Export to a new file without overwriting existing output. |
| 92 | hmi_list_screen_groups |
HMI Discovery | target_name |
List the selected HMI's nested screen groups and direct screen counts. |
| 93 | hmi_list_graphic_lists |
HMI Discovery | target_name |
List graphic-list names without claiming entry or asset coverage. |
| 94 | tia_create_plc_tag_table |
PLC Mutation | table_name, plc_name, group_path |
Create a tag table in an exact PLC group without overwriting. |
| 95 | tia_create_tagtable_group |
PLC Mutation | group_name, plc_name, parent_group_path |
Create a tag-table group at an exact path. |
| 96 | tia_create_user_constant |
PLC Mutation | table_name, constant_name, data_type, value |
Create a validated supported user constant. |
| 97 | tia_update_user_constant |
PLC Mutation | table_name, constant_name, value |
Update only an existing user constant's value. |
| 98 | tia_create_project |
Project Mutation | destination_location, project_name |
Create a project in an existing empty directory. |
| 99 | hmi_create_screen_group |
HMI Mutation | group_name, parent_group_path, on_conflict |
Create a screen group with fail-on-conflict behavior. |
| 100 | hmi_create_screen_under_group |
HMI Mutation | parent_group_path, screen_name, on_conflict |
Create a screen inside an existing group. |
| 101 | hmi_rename_screen |
HMI Mutation | screen_name, group_path, new_name, on_conflict |
Rename a screen in place. |
| 102 | hmi_rename_screen_group |
HMI Mutation | group_path, new_name, on_conflict |
Rename a screen group in place. |
| 103 | hmi_rename_tag_table |
HMI Mutation | table_name, new_name, on_conflict |
Rename an HMI tag table in place and verify its tag set. |
| 104 | tia_get_plc_tag_info |
PLC Read | tag_name, table_name, plc_name, group_path |
Read exact tag type, address, comment, and table scope. |
| 105 | tia_read_user_constant |
PLC Read | constant_name, plc_name, table_name, group_path |
Read a constant's type and literal, rejecting ambiguous matches. |
| 106 | tia_create_block_group |
PLC Mutation | group_name, plc_name, parent_group_path |
Create a block group under an exact parent path. |
| 107 | tia_get_tag_table_attributes |
PLC Read | table_name, plc_name, group_path |
Read API-reported tag-table attributes and values. |
| 108 | hmi_create_navigation_button |
HMI Mutation | target_name, screen_name, item_name, text, destination_screen, left, top, width, height, on_conflict |
Create a button with an explicit screen-navigation action. |
| 109 | tia_get_library_type_instances |
Library Read | project_path, plc_name, library_type_id, version_id, source_library |
List instances of an exact project-library type in one PLC scope. |
| 110 | tia_get_db_member_attributes |
PLC Read | db_name, member_name, plc_name, group_path |
Read V21-reported attributes for one direct global-DB member. |
| 111 | docs_search |
Siemens Docs | query, product, version, scope, limit, host, locale, reference_format |
Full-text search of the online Siemens documentation, optionally inside one publication or chapter. |
| 112 | docs_read_page |
Siemens Docs | url, mode, section, offset, max_chars, reference_format |
Read a documentation page as Markdown: whole, outline, chosen sections or code only. |
| 113 | docs_get_toc |
Siemens Docs | url, depth, reference_format |
Table of contents of a publication or of a chapter. |
| 114 | docs_list_publications |
Siemens Docs | title_contains, product, version, host, locale, reference_format |
List publications and the valid product and version filter values. |
| 115 | plc_online_connect |
PLC Online | address, password, username, timeout_ms, security_mode |
Open a read-only S7CommPlus connection (TLS or legacy login) to a real S7-1200/S7-1500. |
| 116 | plc_online_get_status |
PLC Online | (none) | Connection state, security mode, CPU identity and firmware, RUN/STOP, last error. |
| 117 | plc_online_disconnect |
PLC Online | (none) | Close the online PLC connection. |
| 118 | plc_online_list_datablocks |
PLC Online | (none) | Data block numbers and names read from the PLC. |
| 119 | plc_online_browse |
PLC Online | filter, offset, limit, refresh |
Variable names, data types and array bounds (DBs, inputs, outputs, memory), cached. |
| 120 | plc_online_read_tags |
PLC Online | tags |
Current values, types and quality by symbolic name (max 200 per call). |
| 121 | tia_find_module_types |
Hardware | partial_type_identifier |
Catalog lookup of complete type identifiers and container types. |
| 122 | tia_create_device |
Hardware | type_identifier, device_item_name, device_name, dry_run |
Create a station from an order number or installed GSDML (CreateWithItem). |
| 123 | tia_list_plug_locations |
Hardware | device_name, item_path |
Free slots and plugged items of a device or item. |
| 124 | tia_plug_module |
Hardware | device_name, parent_item_path, type_identifier, name, position_number, dry_run |
Plug a module, GSD submodule or telegram (CanPlugNew + PlugNew). |
| 125 | tia_delete_hardware |
Hardware | device_name, item_path, confirm |
Delete a device or item; preview unless confirm=true. |
| 126 | tia_rename_hardware |
Hardware | device_name, item_path, new_name |
Rename a device or device item. |
| 127 | tia_get_io_addresses |
Hardware | device_name |
IO start addresses and lengths (bits) of device items. |
| 128 | tia_list_network |
Network | device_name |
Subnets, IO systems, interfaces, IP addresses and PROFINET names. |
| 129 | tia_create_subnet |
Network | subnet_name, type_identifier |
Create a subnet (default Ethernet/PROFINET). |
| 130 | tia_connect_to_subnet |
Network | device_name, interface_path, subnet_name |
Connect an interface node to a subnet. |
| 131 | tia_create_io_system |
Network | device_name, interface_path, io_system_name |
Create a PROFINET IO system on a controller interface. |
| 132 | tia_connect_to_io_system |
Network | device_name, interface_path, io_system_name |
Assign an IO device to an IO system. |
| 133 | tia_set_network_node |
Network | device_name, ip_address, subnet_mask, router_address, pn_device_name |
Set IP address, router and PROFINET device name. |
| 134 | tia_export_aml |
Backup | output_path, device_name, overwrite |
Export project or device hardware as AutomationML. |
| 135 | tia_import_aml |
Backup | aml_path, conflict_option, dry_run |
Import hardware from AutomationML; preview by default. |
| 136 | tia_export_project_files |
Backup | output_directory, plc_name, include_hardware, include_scl, remove_stale |
Deterministic export of blocks, UDTs, tags, watch tables and AML for Git. |
| 137 | tia_archive_project |
Backup | target_directory, file_name, mode, save_first |
Archive the saved project as .zap21. |
| 138 | tia_retrieve_project |
Backup | archive_path, target_directory, close_current |
Retrieve and open a .zap21 archive. |
| 139 | tia_export_cross_references |
Backup | output_path, plc_name, object_names, filter, include_tags |
PLC cross-reference table as JSONL. |
| 140 | hmi_create_tag_table |
HMI Mutation | table_name, on_conflict, target_name |
Create an HMI tag table without overwriting an existing one. |
| 141 | hmi_delete_tag |
HMI Mutation | tag_name, table_name, target_name, on_referenced, dry_run |
Delete one HMI tag after a reference scan; a referenced tag is kept by default. |
| 142 | hmi_rename_tag |
HMI Mutation | tag_name, new_name, on_conflict, table_name, target_name, script_references, dry_run |
Rename one HMI tag in place and read back the references found before. |
| 143 | hmi_get_runtime_settings |
HMI Runtime | target_name |
Read the WinCC Unified Runtime settings, including the start screen. |
| 144 | hmi_set_start_screen |
HMI Runtime | screen_name, on_conflict, expected_current_start_screen, target_name |
Set the Runtime start screen in place, with read-back and validation. |
| 145 | tia_delete_plc_type |
Data Types | type_name, plc_name, group_path |
Delete one PLC data type (UDT); TIA Portal decides whether it is allowed. |
| 146 | tia_rename_plc_type |
Data Types | type_name, new_name, plc_name, group_path, on_conflict |
Rename a UDT in place, with read-back. |
| 147 | tia_rename_block |
PLC Logic | block_name, new_name, plc_name, group_path, on_conflict |
Rename an OB/FB/FC/DB in place; the block number is kept. |
| 148 | tia_set_block_attribute |
PLC Logic | block_name, attribute_name, value, unit, expected_current_value, plc_name, group_path |
Set CyclicTime, PhaseOffset or PriorityNumber of an OB in place, with read-back. |
| 149 | tia_get_compile_state |
Compilation | plc_name, group_path, only_inconsistent, include_types |
Consistency and compile dates of blocks and UDTs, without compiling. |
| 150 | tia_list_technology_objects |
Technology Objects | plc_name |
Technology objects with type, version, DB number and folder. |
| 151 | tia_get_technology_object_parameters |
Technology Objects | name, filter, plc_name |
Parameter names, values and CLR types of one technology object. |
| 152 | tia_create_technology_object |
Technology Objects | type, name, version, plc_name |
Create a technology object (e.g. PID_Temp 1.1); fails on a name collision. |
| 153 | tia_set_technology_object_parameters |
Technology Objects | name, parameters, plc_name |
Validate, write and read back technology-object parameters. |
The MCP server provides automated online sequence validation against S7-PLCSIM Advanced controllers. The tool plcsim_run_sequence applies to any industrial sequence (assembly lines, batch processing, packaging machinery, pick-and-place, stamping, motion indexing).
{
"sequence_name": "AssemblyCycle_Stage1",
"start_command_tag": "DB_Sequence.cmdStart",
"reset_command_tag": "DB_Sequence.cmdReset",
"step_number_tag": "DB_Sequence.currentStep",
"step_name_tag": "DB_Sequence.currentStepName",
"done_tag": "DB_Sequence.isDone",
"fault_tag": "DB_Sequence.isFault",
"idle_step": 0,
"parameter_tags": {
"DB_Sequence.config.targetSpeed": 1200.0,
"DB_Sequence.config.targetCount": 50
},
"monitored_tags": [
"DB_Sequence.actualSpeed",
"DB_Sequence.currentCount",
"DB_Sequence.motorCurrent"
],
"scale_factor": 2.0,
"timeout_seconds": 60
}# S7-PLCSIM Advanced Sequence Verification Report
> **Target Controller**: `PLC_1` (CPU: `CPU1511TF`, IP: `192.168.0.101`)
> **Sequence Tested**: `AssemblyCycle_Stage1` | **Status**: ✅ **PASS**
| Phase / Step # | Step Name | Duration (s) | Monitored Tag Mean | Peak Value | Result |
|:---:|:---|:---:|:---:|:---:|:---:|
| Step 0 | `IDLE` | 0.20 s | 0.0 RPM | 0.0 A | ✅ PASS |
| Step 10 | `PREPARATION` | 1.85 s | 250.4 RPM | 4.2 A | ✅ PASS |
| Step 20 | `ACTIVE_PROCESSING`| 5.40 s | 1200.1 RPM | 11.8 A | ✅ PASS |
| Step 30 | `TRANSFER_COMPLETION`| 2.10 s | 120.0 RPM | 3.1 A | ✅ PASS |
| Step 0 | `IDLE` | -- | 0.0 RPM | 0.0 A | ✅ PASS |- Operating System: Windows 10/11 x64 or Windows Server 2022.
- Siemens TIA Portal: V21 installed with Openness option enabled.
- S7-PLCSIM Advanced: V8.0 (required for live virtual controller I/O and sequence testing).
- Runtime: .NET Framework 4.8 (pre-installed on Windows 10/11).
A pre-compiled, self-contained release package is available directly in the release/ folder:
release/TiaOpennessMcp.exe: Pre-built executable (.NET Framework 4.8 x64).release/config.json: Server configuration file.release/register-whitelist.ps1: PowerShell script to authorize Openness access.- Dependency DLLs: All required runtime libraries bundled.
If you wish to modify or build the server yourself:
git clone https://github.com/dodup/TIA-MCP-Server.git
cd TIA-MCP-Server\src
dotnet build -c ReleaseOutput binary: src\bin\Release\net48\TiaOpennessMcp.exe. Deploy the whole output folder: the online PLC tools
need the DLLs from the DotNetProjects.S7CommPlusDriver NuGet package next to the exe (S7CommPlusDriver.dll,
HarpoS7*.dll, BouncyCastle.Cryptography.dll, zlib.net.dll, Microsoft.Extensions.Logging.Abstractions.dll).
Run the online PLC tool checks (offline; -Address also runs read-only live tests against that PLC):
.\scripts\Test-PlcOnline.ps1
.\scripts\Test-PlcOnline.ps1 -Address 192.168.0.10From the repository root, validate generated MCP schemas without connecting to TIA Portal:
.\scripts\Test-ToolSchemas.ps1 -ExecutablePath .\src\bin\Release\net48\TiaOpennessMcp.exeThis checks that every array parameter declares an items schema and that its item definition matches the checked-in schema. After updating the server binary, restart the MCP server/client connection to reload the tool definitions.
The Siemens-facing read tools have per-case plans for PLC metadata, PLC tag and constant reads, DB-member attributes, tag-table attributes and block groups, library-type instances, project/library/text discovery, and HMI discovery. Mutation tools have separate plans for PLC mutations, project creation, PLC group operations, HMI structure, and HMI navigation buttons. Project-text reads (deferred read plan), PLC text-list discovery, library-type instantiation, and HMI template creation remain deferred with acceptance cases in their respective plans. Selected live checks were run; see the live-test runbook for results and gaps.
For the ordered Windows server update, disposable-project test passes, safety gates, and a copyable prompt for an MCP-connected test agent, see the live-test runbook.
Run the Siemens documentation tool checks (offline, with a fake documentation site; -Live also queries docs.tia.siemens.cloud):
.\scripts\Test-Docs.ps1
.\scripts\Test-Docs.ps1 -LiveRun HMI JSON regression checks after building (Debug by default):
.\scripts\Test-HmiJson.ps1
.\scripts\Test-HmiRenderer.ps1
# Optional live tests: select the exact open project PID and target, and explicitly authorize temporary objects.
.\scripts\Test-HmiJson.ps1 -TiaProcessId 12345 -TargetName HMI_RT_1 -AllowRollbackTests
# Also authorize temporary native-library export/retrieval and rollback-only library copy tests:
.\scripts\Test-HmiJson.ps1 -TiaProcessId 12345 -TargetName HMI_RT_1 -AllowRollbackTests -AllowLibraryTestsThe live tests clone item types, bindings/converters, and scripts into a temporary screen,
check container interface values and internal tags, and verify rollback. With
-AllowLibraryTests, they additionally verify native archive export/retrieval,
inventory/hash/path checks and library copy inside a project rollback transaction.
They never commit the test transaction or save the project.
Run the offline checks added with v2.14.0 (after building; none of them connects to TIA Portal or PLCSIM):
.\scripts\Test-HmiToolBehaviors.ps1 # HMI tag delete/rename, item updates, text encoding, compile target, runtime settings
.\scripts\Test-PlcBlockTools.ps1 # UDT delete/rename, block rename, file_path sources, SCL backup decisions
.\scripts\Test-PlcMeta.ps1 # OB attributes, block source format, compile state
.\scripts\Test-TechnologyObjects.ps1 # technology object rules and parameter writes
.\scripts\Test-Runtime.ps1 # UTF-8 stdio/HTTP transport, SCL encoding, PLCSIM diagnosisThey use fakes, reflection on the V21 types and pure helper functions. They do not prove that the Openness calls behave as expected in a live TIA Portal.
Siemens TIA Portal requires external applications accessing its Openness API to be registered in the Windows Registry with their file path and SHA-256 hash.
powershell -ExecutionPolicy Bypass -File .\release\register-whitelist.ps1.\release\TiaOpennessMcp.exe --register-whitelistOn first connection, TIA Portal presents an interactive security dialog:
"A client application wants to access the TIA Portal. Allow access?"
Select "Always allow this application".
The MCP server connects seamlessly with leading AI pair programming agents including Google Antigravity, Claude Code, Claude Desktop, and Cursor.
flowchart LR
subgraph AGENT_UI["💻 AI Agent Software"]
AGY["Google Antigravity<br/>(Advanced Agentic Coding)"]
CC["Claude Code<br/>(Anthropic CLI)"]
CD["Claude Desktop<br/>(Desktop App)"]
CUR["Cursor / VS Code<br/>(Editor Extension)"]
end
subgraph PROTOCOL["⚡ MCP stdio Bridge"]
STDIO["TiaOpennessMcp.exe --stdio"]
end
subgraph SIEMENS["🏭 Siemens Environment"]
TIA["TIA Portal V21 (PID)"]
SIM["S7-PLCSIM Advanced V8.0"]
end
AGY -->|JSON-RPC 2.0| STDIO
CC -->|JSON-RPC 2.0| STDIO
CD -->|JSON-RPC 2.0| STDIO
CUR -->|JSON-RPC 2.0| STDIO
STDIO --> TIA
STDIO --> SIM
Google Antigravity natively loads MCP servers and supports rich agent skills.
Open or create your Antigravity MCP configuration file at:
C:\Users\<username>\.gemini\config\mcp_config.json (or ~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"tia-portal-v21": {
"command": "C:\\path\\to\\TIA-MCP-Server\\release\\TiaOpennessMcp.exe",
"args": ["--stdio"]
}
}
}(Replace C:\\path\\to\\TIA-MCP-Server\\release with your actual absolute path using escaped backslashes \\).
To enable Antigravity to lazy-load all 153 tools on demand, copy the JSON schemas from the repository's schemas/ folder into your Antigravity MCP directory:
New-Item -ItemType Directory -Path "$env:USERPROFILE\.gemini\antigravity\mcp\tia-portal-v21" -Force
Copy-Item -Path ".\schemas\*.json" -Destination "$env:USERPROFILE\.gemini\antigravity\mcp\tia-portal-v21\" -ForceCopy the specialized skills from .agents/skills/ into your active project workspace:
Copy-Item -Path ".\.agents\skills\*" -Destination "C:\path\to\your\workspace\.agents\skills\" -Recurse -ForceIn your Antigravity chat, simply type:
"Check TIA Portal connection status and list open projects."
Antigravity will invoketia_get_statusand display the active TIA Portal instance, process ID, and loaded project.
Claude Code supports adding MCP servers directly from the terminal or via project settings.
In your terminal, run:
claude mcp add tia-portal-v21 -- C:\path\to\TIA-MCP-Server\release\TiaOpennessMcp.exe --stdioCreate or edit .claude.json in your project root:
{
"mcpServers": {
"tia-portal-v21": {
"command": "C:\\path\\to\\TIA-MCP-Server\\release\\TiaOpennessMcp.exe",
"args": ["--stdio"]
}
}
}Launch Claude Code and check registered tools:
claude
> /mcpAll 153 tools (tia_*, hmi_*, plcsim_*, docs_*, plc_online_*) will appear in the active MCP tools list. You can immediately ask:
"Inspect the device tree of the active PLC and compile the software."
{
"mcpServers": {
"tia-portal-v21": {
"command": "C:\\path\\to\\TIA-MCP-Server\\release\\TiaOpennessMcp.exe",
"args": ["--stdio"]
}
}
}Restart Claude Desktop. The hammer icon (🛠️) in the input bar will display all 153 tools.
- Open Cursor Settings
$\rightarrow$ Features$\rightarrow$ MCP Servers. - Click + Add New MCP Server.
- Set Type:
command - Set Command:
C:\path\to\TIA-MCP-Server\release\TiaOpennessMcp.exe --stdio
{
"mcpServers": {
"tia-portal-v21": {
"command": "C:\\path\\to\\TIA-MCP-Server\\release\\TiaOpennessMcp.exe",
"args": ["--stdio"],
"disabled": false,
"autoApprove": []
}
}
}To run the server as a persistent HTTP/SSE service accessible across multiple agents or web interfaces:
.\release\TiaOpennessMcp.exe --http --port 5001- MCP Endpoint:
POST http://localhost:5001/mcp - Server-Sent Events (SSE):
GET http://localhost:5001/sse - Health & Telemetry:
GET http://localhost:5001/status - Console diagnostics: HTTP method/path, response status and duration, JSON-RPC methods, and tool execution progress are logged to stderr. Timeouts and request/tool errors are logged as they occur. Query strings and request bodies are omitted by default; to log them, set
"logHttpRequestDetails": truein theserversection ofconfig.json. This can expose session IDs, credentials, PLC values, and project data in console logs.
| Step | Action | Expected Output / Result |
|---|---|---|
| 1 | Open Siemens TIA Portal V21 | Project is open and visible on screen |
| 2 | Run register-whitelist.ps1 as Admin |
[OK] Whitelist entry registered in registry |
| 3 | Prompt agent: "Check TIA status" | First-time Siemens dialog: click "Always allow" |
| 4 | Agent calls tia_get_status |
Returns PID, project name, path, and connected: true |
| 5 | Start S7-PLCSIM Advanced V8.0 | Virtual PLC in Run state with IP assigned |
| 6 | Agent calls plcsim_connect |
Returns Connected to PLC_1, cached N tags |
Tip
Sub-Second Latency: The MCP server holds live COM and shared-memory handles in memory. Once connected, operations like reading/writing tags execute in < 5 milliseconds, and block exports take < 100 milliseconds.
TiaOpennessMcp.exe [options]
Options:
--help, -h Show help message
--stdio Run as stdio MCP server (for AI agents)
--http Run as standalone HTTP/SSE daemon
--port <port>, -p <port> Specify custom HTTP port (default: 5001)
--pid <pid> Attach to specific TIA Portal process ID
--config <path>, -c <path> Load specific config.json file
--test Execute rapid TIA Portal connectivity test
--export-schemas [dir] Export all 153 MCP tool JSON schemas
--render-hmi INPUT --output OUTPUT Offline PNG/overlay/layout JSON rendering
[--screen GROUP/NAME] [--language en-US] [--scale 2]
--register-whitelist Register SHA-256 hash in Siemens AllowList
--run-sequence-test [report.md] Execute automated online sequence verification
This repository includes 3 turnkey agent skills located in .agents/skills/:
tia-portal-openness(SKILL.md): Comprehensive programmatic engineering of TIA Portal hardware, SCL logic, tag tables, WinCC Unified screens, and compiler diagnostics.figma-to-wincc-unified(SKILL.md): Automated design-to-code pipeline converting visual Figma layouts and SVG vectors into functional WinCC Unified screens.plcsim-sequence-tester(SKILL.md): Automated Hardware-in-the-Loop sequence testing on S7-PLCSIM Advanced controllers with parameterized testing, 80ms telemetry capture, and markdown report generation.
- #14: OB
CyclicTimeandPhaseOffsetnow use the unit of the target CPU. Openness stores them in milliseconds on the classic S7-1200 and in microseconds on S7-1500 and S7-1200 G2; 2.14.0 assumed microseconds everywhere, so on S7-1200tia_set_block_attributewrote 100000 for 100 ms and TIA rejected it. The CPU family is read from the CPU's order number (the generation digit tells classic S7-1200 from G2).tia_set_block_attributeconvertsms/usto that unit and refuses time values when the family cannot be determined;tia_import_blockwarnings and read-back andtia_get_block_attributes(Unit,ValueMs) use the same unit. - Updated the reported MCP server version and assembly metadata to v2.14.1.
- #3: Non-ASCII text (ä, ö, å, °) is no longer corrupted. Stdio requests are read as UTF-8, HTTP requests as UTF-8 unless
Content-Typenames another known charset,tia_import_scl_blockwrites its temporary source as UTF-8 with BOM, and the HMI text tools decode numeric references such asÄ. - #4: Added
hmi_delete_tag: delete one HMI tag after a best-effort reference scan; a referenced tag, or one whose scan was incomplete, is kept by default. - #5:
hmi_import_jsonaccepts flags enums such asWindowFlagsas names separated by,or|, orNone. - #6: Re-importing unchanged Singlebit/Bitmask dynamizations updates the mapping tables in place; a changed condition type or bit needs
onConflict: "replace", reordered entries are refused, and the dry run reports both.hmi_set_tag_dynamizationruns in one transaction. - #7: In
hmi_import_json, a missing ornulltext,dynamizationsoreventskey keeps that part of the item unchanged; before, such items lost their dynamizations and events. - #8:
hmi_import_jsonchecks the screen item order against the file (zOrder:keepreportszOrderWarnings,requirefails and rolls back). - #9: Script read-back ignores line endings and trailing whitespace (
hmi_import_json,hmi_set_event_script,hmi_create_navigation_button). - #10: Added
hmi_rename_tag: rename one HMI tag in place, read back the references found before, and optionally replace exact string literals in scripts. - #11: Added
tia_delete_plc_type,tia_rename_plc_typeandtia_rename_block. - #12:
tia_import_scl_blockhas abackupparameter; an inconsistent existing block is compiled once before the backup; if it stays inconsistent, the import stops without replacing the block, and the error says whether that compile ran. - #13:
tia_import_block,tia_import_scl_blockandtia_import_plc_typeaccept a server-localfile_pathinstead of inline text; a file without a BOM must be UTF-8, and a file with a BOM is read by its BOM. - #14: Added
tia_set_block_attributefor OBCyclicTime,PhaseOffsetandPriorityNumber;tia_import_blockwarns about OB cycle times that look like milliseconds, andtia_get_block_attributesreturns the OB cycle attributes. - #15:
hmi_update_screen_itemalso setsEnabled,OutputFormat, text alignment, a screen window'sScreen,TextandFont. - #16:
tia_get_block_codereturns the source text TIA Portal generates for SCL, STL and DB blocks and for UDTs (format,include_xml,with_dependencies);ExtractedSclis deprecated. - #17:
hmi_compileselects the HMI like the other HMI tools (target_name;target_deviceis an alias) and reports the compiled object. - #18: Added
tia_get_compile_state;tia_compilereportsUpToDateand aNotewhen nothing needed compiling. - #19: Added
hmi_get_runtime_settingsandhmi_set_start_screen. - #20: Added technology object tools:
tia_list_technology_objects,tia_get_technology_object_parameters,tia_create_technology_objectandtia_set_technology_object_parameters. - #21:
plcsim_list_instancesreturns an object with runtime and API diagnosis instead of an array (breaking change); allplcsim_*tools explain a missing S7-PLCSIM Advanced API, and API folders newer than 8.0 are accepted. - #22:
hmi_patch_jsonhas anexpectTagguard, keeps omittedreadOnly/useIndirectAddressingvalues, checksrequireitems before changes and reports unknown fields; the patch format is documented in full. - These fixes were tested offline only (fakes, reflection on the V21 types, pure helpers and schema checks). None of them was run against a live TIA Portal, WinCC Unified or S7-PLCSIM Advanced.
- Updated the reported MCP server version and assembly metadata to v2.14.0.
- Fixed
hmi_import_jsonfailing on everyHmiIOField("Exception has been thrown by the target of an invocation"): the compact type defaults includeShowInputHint, which Openness V21 can read but not set. Properties that already have the requested value are no longer written. hmi_import_jsonerrors now name the screen item or HMI tag, the property and the inner Openness exception instead of a bareTargetInvocationException.hmi_import_jsonaccepts internal HMI tags withoutconnection/plcTag, and skips a tag that has a connection but no PLC tag with a warning instead of failing the import.- Added the
output_formatparameter tohmi_add_io_field. - Updated the reported MCP server version and assembly metadata to v2.13.0.
- Added hardware configuration tools: catalog lookup, device creation from order numbers or installed GSDML, plug locations, module/submodule plugging, rename and delete (
tia_find_module_types,tia_create_device,tia_list_plug_locations,tia_plug_module,tia_rename_hardware,tia_delete_hardware), and IO address reading (tia_get_io_addresses). - Added PROFINET network tools: subnets, IO systems, IO device assignment, IP addresses and PROFINET device names (
tia_list_network,tia_create_subnet,tia_connect_to_subnet,tia_create_io_system,tia_connect_to_io_system,tia_set_network_node). - Added CAx/AutomationML export and import (
tia_export_aml,tia_import_aml), a deterministic project export for version control (tia_export_project_files), project archive and retrieve (tia_archive_project,tia_retrieve_project) and a JSONL cross-reference export (tia_export_cross_references). - Updated the reported MCP server version and assembly metadata to v2.12.0.
- Added read-only online PLC value tools (
plc_online_connect,plc_online_get_status,plc_online_disconnect,plc_online_list_datablocks,plc_online_browse,plc_online_read_tags): read current values from a real S7-1200/S7-1500 over S7CommPlus by symbolic name, without TIA Portal. TLS for TIA V17+ projects, HarpoS7 legacy login for older ones (DotNetProjects.S7CommPlusDriver, LGPL-3.0). No write or operating-state tools. - Stdout now carries only JSON-RPC messages; other console output goes to stderr. An open PLC connection is closed when the server stops.
- Updated the reported MCP server version and assembly metadata to v2.11.0.
- The server no longer attaches to TIA Portal on its own: not at startup and not when a project tool runs unattached. Attaching to a busy TIA Portal (for example one running a firmware update) blocked the MCP handshake until the client timed out. Call
tia_list_processes, thentia_connectwith aprocess_id(now required; no fallback to another instance). tia.autoConnect,tia.preferredProcessIdand--pidare ignored.--test [pid]attaches only to the given PID.- Updated the reported MCP server version and assembly metadata to v2.10.1.
- Added Siemens online documentation tools (
docs_search,docs_read_page,docs_get_toc,docs_list_publications) for the TIA Portal, STEP 7, WinCC Unified, Openness and PLCSIM documentation; they need internet access but no TIA connection. - Fixed the Openness AllowList registration format.
- Updated the reported MCP server version and assembly metadata to v2.10.0.
- Added direct global-DB member attribute reads with exact PLC/DB/member targeting and explicit metadata limits; PLC text-list inventory remains deferred because no complete V21 API contract was verified.
- Updated the reported MCP server version and assembly metadata to v2.9.0. No live TIA tests were run.
- Added PLC-scoped project-library instance discovery and HMI navigation-button creation with exact selection, script validation, and case-by-case test plans.
- Deferred library-type instantiation and HMI template creation because the bundled V21 APIs do not establish safe, type-independent creation contracts.
- Updated the reported MCP server version and assembly metadata to v2.8.0. No live TIA or HMI runtime tests were run.
- Added exact PLC block-group creation and read-only tag-table attribute inspection, with API-reported metadata boundaries and case-by-case test plans.
- Updated the reported MCP server version and assembly metadata to v2.7.0.
- No live TIA Portal tests were run; verify the new tools against a disposable project before production use.
- Added twelve bounded PLC read/mutation, project-creation, and HMI-structure tools with exact targeting, conflict rejection, read-back, and case-by-case test plans.
- Added read-back checks for PLC mutations and updated the reported MCP server version and assembly metadata to v2.6.0.
- No live TIA Portal or HMI mutation tests were run; use the disposable-project plans before production use.
- Added scoped PLC metadata, library/project-text discovery, and HMI screen-group/graphic-list discovery tools with bounded results and explicit completeness limits.
- Added case-by-case test plans for the new Siemens-facing read operations; live disposable-project verification remains pending.
- Updated the reported MCP server version and assembly metadata to v2.5.0.
- Added
hmi_set_expression_dynamization_entriesfor replacing ordered WinCC Unified condition/value rows in place with typed values, conflict checks, and read-back verification. - Updated the reported MCP server version and assembly metadata to v2.4.0.
- Added
tia_import_scl_blockfor importing complete SCL source strings, with backup and restore around same-name block replacement plus optional compilation and editor opening. - Updated the reported MCP server version and assembly metadata to v2.3.0.
- Added direct, in-place HMI item property read/update tools with allowlisting and readback verification.
- Added generic screen/item event-script read/write tools and an expression dynamization formula update tool that preserves unrelated entries.
- Updated the reported MCP server version and assembly metadata to v2.2.0.
- Reuse TIA-generated Singlebit mapping entries when Openness reports they already exist during entry creation.
- Updated the reported MCP server version and assembly metadata to v2.0.1.
- Added lossless HMI JSON export/import for bitmask converter entries, including the TIA-generated relevant masks.
- Updated the reported MCP server version and assembly metadata to v0.0.4.
- Fixed HMI JSON validation and application of dotted UDT member tag references.
- Reused TIA-generated Singlebit mapping entries to avoid duplicate-entry errors.
- Added screen, item, and property context to HMI JSON export errors for unsupported dynamizations and mapping entries.
- Updated the reported MCP server version and assembly metadata to v0.0.3.
- Fixed CI / GitHub Actions Missing Siemens Assemblies: Resolved
The type or namespace name 'Siemens' could not be foundbuild failure on CI/CD runners and machines without Siemens TIA Portal pre-installed. Added reference assemblies tosrc/lib/with automatic fallback inTiaOpennessMcp.csproj, ensuring clean compilation on any standard Windows machine. - Full Dependency Bundling (
CopyLocal / Private=True): All required dependencies (Siemens.Engineering.*,Siemens.Simatic.Simulation.Runtime.Api.x64.dll,System.Text.Json,Microsoft.Bcl.AsyncInterfaces, etc.) are now automatically copied to the build output alongsideTiaOpennessMcp.exe. - Zero-Dependency Runtime Capability: Updated the runtime
AssemblyResolvehandler to search the application directory andlib/subfolder first. Any Windows machine runningTiaOpennessMcp.exefrom the release package will load all dependencies immediately without missing DLL errors. - Modernized GitHub Actions CI: Removed deprecated
microsoft/setup-msbuildaction; standardized directly onactions/setup-dotnet@v4with native SDK compilation. - Pre-Compiled Release Package v0.0.2: Published
release/release0.0.2.zipcontaining the updated executable, configuration, whitelist registration script, and all runtime dependencies.
- Initial open-source release with 67 specialized industrial automation tools.
- TIA Portal V21 Openness integration (PLC logic, SimaticML, UDTs, tag tables, native diagnostics).
- WinCC Unified HMI generation from Figma design tokens and SVG vectors.
- S7-PLCSIM Advanced V8.0 live simulation, clock scaling, and automated sequence testing (
plcsim_run_sequence). - Packaged agent skills for Google Antigravity, Claude Code, and Cursor.
When developing the MCP server, active instances may hold an exclusive lock on TiaOpennessMcp.exe. Always terminate active instances before building:
taskkill /F /IM TiaOpennessMcp.exe /T
dotnet build -c ReleaseDistributed under the MIT License. See LICENSE for details.