Skillquality 0.45

tia-portal-mcp

Use when the TIA Portal MCP server is available and the task involves reading or modifying a TIA Portal project interactively: browsing the project tree, reading or writing PLC block logic (SIMATIC SD YAML), listing tag tables, inspecting hardware config, running cross-reference

Price
free
Protocol
skill
Verified
no

What it does

tia-portal-mcp

Scope

Direct TIA Portal interaction via MCP tools — no code generation required. Use MCP tools for exploration, inspection, and targeted single-step modifications. For bulk automation, looped operations, or scripted workflows, fall back to tia-openness-roadmap.


When MCP is the right choice

SituationUse
Explore project structure before writing codeMCP browse_project_tree
Read a block to understand logic or generate codeMCP get_block_content
Apply a focused, one-shot block editMCP update_block_logic
List tags for context or documentationMCP list_tag_tables
Inspect hardware topology / IP addressesMCP read_hardware_config
Find unused or unreferenced objectsMCP read_cross_references
Add a single device to the projectMCP search_equipment_catalogadd_network_device
Check compile errors before or after editsMCP compile_check
Complex loops / bulk changes over many blockstia-openness-roadmap instead

Safety convention

Three tools are write-protected and require the caller to pass confirm: true explicitly. Never pass confirm: true without first reading back the current state and confirming intent with the user.

ToolWrite-protected
update_block_logicyes — requires confirm: true
add_network_deviceyes — requires confirm: true
configure_network_deviceyes — requires confirm: true

Tool reference

browse_project_tree

Recursively enumerates the project: devices, PLC software, block folders, blocks, tag tables, types.

ParameterTypeRequiredNotes
projectPathstringnoPath to .ap21 file; defaults to currently open project

Returns JSON tree. Use returned Path values as blockPath input for other tools.


get_block_content

Exports a PLC block as a SIMATIC SD YAML document. Supports SCL, LAD, FBD, GRAPH, STL, and Data Blocks.

ParameterTypeRequiredNotes
blockPathstringyesBlockName, PLC_1/BlockName, or PLC_1/Blocks/Folder/.../BlockName
projectPathstringno

Returns YAML string. Parse or display as-is; pass back (modified) to update_block_logic.


update_block_logic

Imports SIMATIC SD YAML to update or create a PLC block. Always call get_block_content first to obtain the current YAML before editing, unless creating a block from scratch.

ParameterTypeRequiredNotes
blockPathstringyesTarget block path
yamlContentstringyesValid SIMATIC SD YAML
confirmboolyesMust be true to execute — default false is a no-op
projectPathstringno

list_tag_tables

Retrieves all PLC tag tables with tags and user constants.

ParameterTypeRequiredNotes
plcNamestringnoFilter to a specific PLC
projectPathstringno

Returns JSON array of tag tables.


read_hardware_config

Exports hardware configuration and network topology: devices, rack modules, network interfaces, IP addresses, PROFINET device names, subnets, and IO systems.

ParameterTypeRequiredNotes
projectPathstringno

read_cross_references

Exports PLC cross-reference diagnostics with source objects, referenced objects, locations, access types, and reference types.

ParameterTypeRequiredNotes
projectPathstringno
plcNamestringnoFilter to a specific PLC
filterstringnoAllObjects | ObjectsWithReferences | ObjectsWithoutReferences | UnusedObjects

Use UnusedObjects to find dead code before cleanup.


search_equipment_catalog

Searches the installed TIA Portal V21 hardware catalog (including GSD/HSP packages) by type name, article number, or description. Always run before add_network_device.

ParameterTypeRequiredNotes
querystringyesFree-text search
projectPathstringno

Returns entries with typeIdentifier values — copy the exact identifier into add_network_device.


add_network_device

Inserts a device from the hardware catalog into the project.

ParameterTypeRequiredNotes
typeIdentifierstringyesExact value from search_equipment_catalog
deviceNamestringyesName for the new device in the project
deviceItemNamestringnoName for root device item; defaults to deviceName
confirmboolyesMust be true to execute
projectPathstringno

configure_network_device

Sets network identity and interface properties for a device already present in the project.

ParameterTypeRequiredNotes
deviceNamestringyesDevice to configure
ipAddressstringnoIPv4 address
subnetMaskstringnoSubnet mask
pnDeviceNamestringnoPROFINET device name
subnetNamestringnoSubnet to connect to
ioSystemNamestringnoIO system to connect to
confirmboolyesMust be true to execute
projectPathstringno

compile_check

Invokes TIA Portal compile on PLC software and returns errors and warnings.

ParameterTypeRequiredNotes
blockPathstringnoCompile a single block; omit to compile full PLC software
plcNamestringnoTarget a specific PLC; omit to compile all PLCs
projectPathstringno

Common execution patterns

Read and understand a block

  1. browse_project_tree — find the block path
  2. get_block_content(blockPath) — read SIMATIC SD YAML
  3. Analyze or present the content

Modify a block

  1. get_block_content(blockPath) — capture current YAML
  2. Edit the YAML (preserve structure and indentation)
  3. Show the diff to the user and confirm
  4. update_block_logic(blockPath, yamlContent, confirm=true)
  5. compile_check(blockPath) — verify no errors introduced

Add and configure a new device

  1. search_equipment_catalog(query) — find the exact typeIdentifier
  2. Confirm device and name with user
  3. add_network_device(typeIdentifier, deviceName, confirm=true)
  4. configure_network_device(deviceName, ipAddress, ..., confirm=true)
  5. read_hardware_config — verify result

Audit unused objects

  1. read_cross_references(filter="UnusedObjects") — list unreferenced objects
  2. Present findings to user before any removal action

Pre-edit compile baseline

  1. compile_check — record baseline errors/warnings
  2. Apply changes
  3. compile_check again — compare to baseline

Capabilities

skillsource-czarnakskill-tia-portal-mcptopic-agent-skillstopic-claude-codetopic-claude-code-plugintopic-claude-skillstopic-codextopic-codex-clitopic-codex-plugintopic-geminitopic-gemini-clitopic-gemini-cli-extensiontopic-gemini-extensiontopic-mcp

Install

Installnpx skills add Czarnak/totally-integrated-claude
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 9 github stars · SKILL.md body (6,840 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:08:30Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access

tia-portal-mcp — Clawmart · Clawmart