工业自动化 MCP 服务端

连接 AI 的 393 个 MCP 工具
到西门子 TIA Portal

T-IA Connect 实现了一个完整的 Model Context Protocol 服务端,让任何 AI 助手都能直接访问您的 TIA Portal 项目。项目管理、PLC 块、变量、HMI、仿真、版本控制、流水线、测试 —— 全部通过一个 MCP 服务端实现。

什么是 MCP?

Model Context Protocol (MCP) 是由 Anthropic 创建的一个开放标准,它定义了 AI 模型如何与外部工具通信。MCP 让 AI 能够直接与 TIA Portal 交互(读取项目、创建块、管理变量、编译并下载到 PLC),而无需在聊天窗口和工程软件之间进行复制粘贴。

T-IA Connect 将西门子 TIA Portal Openness API 封装为 393 个 MCP 工具。任何兼容 MCP 的 AI 客户端(Claude、GPT、Llama 或通过 Ollama 运行的本地模型)都可以使用它们。它就像一个通用适配器:AI 使用 MCP 协议,T-IA Connect 将其转换为 TIA Openness API 调用。无专有插件,无供应商锁定。

工作原理

AI 与 TIA Portal 之间的三层结构

AI 客户端

您在任何兼容 MCP 的客户端(Cursor、VS Code, Claude Code、Windsurf 或 Claude Desktop)中的 AI 助手(Claude、GPT、Llama)。

T-IA Connect MCP 服务端

运行在您的工程工作站本地。通过 JSON-RPC 接收 MCP 工具调用,并将其转换为 TIA Portal Openness API 操作。

TIA Portal

启用了 Openness API 的西门子 TIA Portal V17-V21。您的 PLC 项目、设备、HMI 画面和配置。

全部 393 个 MCP 工具

搜索并浏览 T-IA Connect MCP 服务端中可用的每个工具

393 tools

Project Management

(19)
archive_project

Archive the current project to a compressed file

close_project

Close the currently open TIA Portal project

create_project

Create a new TIA Portal project with specified settings

create_snapshot

Create a snapshot of the current project state

generate_project_deliverable

Generate a deliverable package from the project

generate_project_report

Generate a comprehensive report of the project

get_project_history

Retrieve the change history of the project

get_project_languages

Get configured languages for the project

get_project_overview

Get a high-level overview of the project structure

get_project_status

Get the current status of the open project

list_project_files

List all files associated with the project

list_project_instances

List all running project instances

list_snapshots

List all available project snapshots

load_block_start_values

Load start values for a block from the project

open_project

Open an existing TIA Portal project file

restore_snapshot

Restore the project to a previously saved snapshot

retrieve_project

Retrieve a project from an archive file

save_project

Save the currently open project to disk

sync_project

Synchronize the project with external changes

Devices & Hardware

(12)
add_device

Add a new device to the project hardware configuration

change_cpu_type

Change the CPU type of an existing device

clear_parking_lot

Remove all devices from the parking lot

configure_cpu_properties

Configure CPU properties like IP, clock memory, startup

delete_device

Remove a device from the project configuration

get_compatible_slots

Get compatible module slots for a device rack

get_cpu_properties

Read the current CPU configuration properties

get_device_hardware_details

Get detailed hardware info for a specific device

get_parking_lot_devices

List devices currently in the parking lot

list_devices

List all devices configured in the project

rename_device

Rename an existing device in the project

search_hardware_catalog

Search the hardware catalog for modules and devices

Network & Communication

(11)
configure_network

Configure network connections between devices

create_access_point

Create a new communication access point

create_subnet

Create a new subnet in the network configuration

delete_access_point

Remove an existing access point

delete_subnet

Delete a subnet from the network configuration

get_device_topology

Get the physical network topology of a device

get_project_topology

Get the complete project network topology

list_access_points

List all configured communication access points

list_io_systems

List all IO systems in the project

list_subnets

List all subnets in the project network

set_access_point_mapping

Map an access point to a specific network interface

PLC Blocks

(23)
add_interface_member

Add an input, output, or variable to a block interface

compile_block

Compile a specific PLC block and report errors

compile_device

Compile all blocks for a device at once

create_block_folder

Create a new folder in the block tree structure

create_block_snapshot

Save a snapshot of a block's current state

create_scl_block

Create a new SCL function, FB, or data block

delete_block

Delete a PLC block from the project

delete_block_folder

Delete a folder from the block tree

export_block

Export a block to XML format for external use

export_block_source

Export the source code of a block

generate_and_import_block

Generate block code from description and import it

get_block_details

Get detailed info: interface, code, and properties of a block

get_block_generation_guide

Get guidelines for AI-assisted block generation

get_block_tree

Get the hierarchical tree of all PLC blocks

get_cross_references

Find all cross-references for a block or tag

list_blocks

List all PLC blocks in a device or folder

load_block_snapshot

Restore a block from a previously saved snapshot

publish_block

Publish a block to the project library

remove_interface_member

Remove a variable from a block interface

rename_block

Rename an existing PLC block

set_block_namespace

Set the namespace for a block

update_block_content

Update the code content of an existing block

update_interface_member

Modify properties of a block interface member

Tags, Constants & UDTs

(33)
create_constant

Create a new constant with name, value, and data type

create_tag

Create a new PLC tag with address, data type, and comment

create_tag_table

Create a new tag table in the PLC program

create_tag_table_folder

Create a folder to organize tag tables

create_udt

Create a new user-defined data type

create_udt_folder

Create a folder to organize UDTs

delete_constant

Delete an existing constant from the project

delete_tag

Delete a PLC tag from a tag table

delete_tag_table

Delete a tag table and all its tags

delete_tag_table_folder

Delete a tag table folder

delete_udt

Delete a user-defined data type

delete_udt_folder

Delete a UDT folder from the project

export_tag_table_to_csv

Export a tag table to CSV format

export_tag_table_to_excel

Export a tag table to Excel format

export_tag_table_to_xml

Export a tag table to XML format

export_udt

Export a user-defined data type to XML

get_all_tags

Get all tags across all tag tables in a device

get_tag_table_tree

Get the hierarchical tree of tag tables

get_udt

Get the structure and details of a UDT

get_udt_tree

Get the hierarchical tree of all UDTs

import_table

Import a tag table from an external file

import_tags

Import tags into an existing tag table

import_tags_from_csv

Import tags from a CSV file into a tag table

import_tags_from_xlsx

Import tags from an Excel file into a tag table

import_udt

Import a user-defined data type from XML

list_constants

List all constants defined in the project

list_tag_tables

List all tag tables in a device

list_tags

List all tags in a specific tag table

list_udts

List all user-defined data types in the project

rename_tag_table

Rename an existing tag table

update_constant

Update the value or properties of a constant

update_tag

Update address, data type, or comment of a tag

update_udt

Update the structure of a user-defined data type

HMI / WinCC

(51)
add_screen_item

Add a single graphical element to an HMI screen

add_screen_items

Add multiple graphical elements to an HMI screen at once

configure_hmi_runtime

Configure HMI runtime settings and parameters

configure_hmi_screen

Configure screen properties like size and background

configure_screen_item

Modify properties of an existing screen element

create_hmi_alarm

Create a new HMI alarm with trigger and text

create_hmi_connection

Create a connection between HMI and a PLC

create_hmi_cycle

Create a new HMI acquisition cycle

create_hmi_screen

Create a new HMI screen with layout settings

create_hmi_script

Create a new VBScript or JavaScript for the HMI

create_hmi_tag

Create a single HMI tag with connection and address

create_hmi_tag_table

Create a new HMI tag table for organizing tags

create_hmi_tags

Create multiple HMI tags in batch

delete_hmi_alarm

Delete an existing HMI alarm

delete_hmi_connection

Delete an HMI-to-PLC connection

delete_hmi_screen

Delete an HMI screen from the project

delete_hmi_tag

Delete a single HMI tag

delete_hmi_tag_table

Delete an HMI tag table and its contents

delete_hmi_tags

Delete multiple HMI tags in batch

delete_screen_item

Remove a graphical element from an HMI screen

get_hmi_alarm_classes

Get all configured HMI alarm classes

get_hmi_analog_alarms

Get all analog alarms configured in the HMI

get_hmi_connections

List all HMI connections to PLCs

get_hmi_cycles

Get all HMI acquisition cycles

get_hmi_discrete_alarms

Get all discrete alarms configured in the HMI

get_hmi_library_items

Get available items from the HMI library

get_hmi_logs

Retrieve HMI runtime and diagnostic logs

get_hmi_plant_views

Get the plant view hierarchy of the HMI

get_hmi_runtime_settings

Get current HMI runtime configuration settings

get_hmi_screen_details

Get detailed properties of a specific HMI screen

get_hmi_screen_global_elements

Get global screen elements shared across screens

get_hmi_screen_overview

Get an overview of all screen items and layout

get_hmi_screens_tree

Get the hierarchical tree of all HMI screens

get_hmi_script_content

Read the source code of an HMI script

get_hmi_scripts_tree

Get the hierarchical tree of all HMI scripts

get_hmi_tags_tree

Get the hierarchical tree of HMI tags and tables

get_screen_item_properties

Get all properties of a specific screen element

list_hmi_library_types

List all available HMI library types

list_hmi_project_graphics

List all project-level graphic resources

list_hmi_tags

List all HMI tags in a tag table

list_hmi_text_graphic_lists

List all text and graphic lists in the HMI

create_graphic_list

Create a new graphic list for the HMI

modify_hmi_script

Modify the source code of an existing HMI script

remove_animation

Remove an animation from a screen element

set_appearance_animation

Set appearance animation on a screen element

set_event_handler

Assign an event handler to a screen element

set_flashing

Configure flashing behavior on a screen element

set_movement_animation

Set movement animation on a screen element

set_script_dynamization

Set script-based dynamization on a screen property

set_tag_binding

Bind a screen element property to an HMI tag

set_visibility_animation

Set visibility animation on a screen element

Online & Deployment

(10)
compare_online_offline

Compare online PLC program with offline project

download_to_plc

Download the project to the PLC hardware

get_cpu_state

Get the current run/stop state of the CPU

get_online_state

Get the online connection state of a device

get_pgpc_diagnostic

Get PG/PC interface diagnostic information

go_offline

Disconnect from the online PLC

go_online

Establish an online connection to the PLC

start_cpu

Start the CPU to run the PLC program

stop_cpu

Stop the CPU and halt PLC program execution

upload_from_plc

Upload the current program from the PLC to the project

PLCSim Simulation

(35)
plcsim_batch_read

Read multiple simulation tags in a single operation

plcsim_batch_write

Write multiple simulation tags in a single operation

plcsim_connect

Connect to a PLCSim simulation instance

plcsim_create_instance

Create a new PLCSim virtual controller instance

plcsim_delete_instance

Delete an existing PLCSim instance

plcsim_delete_profile

Delete a saved PLCSim simulation profile

plcsim_disconnect

Disconnect from the PLCSim simulation

plcsim_get_instance_config

Get configuration of a PLCSim instance

plcsim_get_instance_state

Get the current state of a PLCSim instance

plcsim_get_network

Get network settings of the simulation

plcsim_get_runtime_config

Get runtime configuration of the simulation

plcsim_get_simulation_state

Get the overall simulation state

plcsim_list_instances

List all available PLCSim instances

plcsim_list_profiles

List all saved simulation profiles

plcsim_list_tags

List all tags available in the simulation

plcsim_load_profile

Load a saved simulation profile

plcsim_memory_reset

Reset the memory of the simulated PLC

plcsim_power_off

Power off the simulated PLC

plcsim_power_on

Power on the simulated PLC

plcsim_read_tag

Read the value of a single simulation tag

plcsim_refresh_tags

Refresh the tag list from the simulation

plcsim_run

Set the simulated PLC to RUN mode

plcsim_save_profile

Save the current simulation state as a profile

plcsim_set_instance_config

Configure settings of a PLCSim instance

plcsim_set_network

Configure network settings for the simulation

plcsim_set_runtime_config

Set runtime configuration for the simulation

plcsim_set_runtime_port

Set the runtime communication port

plcsim_set_widget_value

Set a value on a simulation widget element

plcsim_start_runtime

Start the PLCSim runtime engine

plcsim_start_simulation

Start the PLCSim simulation

plcsim_status

Get the overall status of PLCSim

plcsim_stop

Set the simulated PLC to STOP mode

plcsim_stop_simulation

Stop the running PLCSim simulation

plcsim_update_profile

Update an existing simulation profile

plcsim_write_tag

Write a value to a single simulation tag

Libraries

(20)
archive_global_library

Archive a global library to a compressed file

close_global_library

Close an open global library

compare_library_type_versions

Compare two versions of a library type

create_from_library_type

Create a project element from a library type

create_from_master_copy

Create a project element from a master copy

create_global_library

Create a new global library

create_library_type_version

Create a new version of an existing library type

create_master_copy

Create a master copy from a project element

create_master_copy_folder

Create a folder to organize master copies

delete_library_type

Delete a library type from the library

delete_master_copy

Delete a master copy from the library

get_global_library_tree

Get the hierarchical tree of a global library

get_library_types

Get all types in a global or project library

get_master_copies

Get all master copies from a library

get_project_library

Get the project library contents

get_project_library_tree

Get the hierarchical tree of the project library

list_global_libraries

List all open global libraries

open_global_library

Open an existing global library file

save_global_library

Save changes to an open global library

set_library_type_default_version

Set the default version for a library type

Safety

(8)
create_safety_runtime_group

Create a new safety runtime group

delete_safety_runtime_group

Delete a safety runtime group

get_safety_runtime_groups

List all safety runtime groups in the project

get_safety_settings

Get the safety program configuration settings

get_safety_signatures

Get safety program signatures for verification

get_safety_summary

Get a summary of the safety program status

login_safety_program

Log in to the safety program for editing

logoff_safety_program

Log off from the safety program

Security & Users

(24)
assign_role_to_user

Assign a role to a project user

clear_online_auth_password

Clear the online authentication password

configure_security

Configure project security settings

create_custom_role

Create a custom role with specific permissions

create_opcua_user

Create a new OPC UA server user

create_project_user

Create a new user in the project

create_webserver_user

Create a new PLC webserver user

delete_custom_role

Delete a custom role from the project

delete_opcua_user

Delete an OPC UA server user

delete_project_user

Delete a user from the project

delete_webserver_user

Delete a PLC webserver user

get_online_auth_status

Get the online authentication password status

get_opcua_config

Get OPC UA server configuration

get_project_roles

List all roles defined in the project

get_project_users

List all users in the project

get_protection_level

Get the access protection level of a block or device

get_security_summary

Get an overview of all security settings

get_webserver_config

Get PLC webserver configuration

manage_master_secret

Manage the project master secret key

remove_role_from_user

Remove a role from a project user

reset_plc_password

Reset the PLC access password

set_display_password

Set or change the HMI display password

set_online_auth_password

Set the online authentication password

set_plc_password

Set or change the PLC access password

Technological Objects & Drives

(13)
create_technological_object

Create a new technological object (axis, PID, cam, etc.)

delete_technological_object

Delete a technological object from the project

get_drive_parameter

Read a specific parameter from a drive

get_drive_parameters

Get all parameters of a configured drive

get_drive_telegrams

Get telegram configuration of a drive

get_drives

List all drives in the project

get_drives_detailed

Get detailed information for all drives

get_technological_object_detail

Get detailed config of a technological object

get_technological_objects

List all technological objects in a device

get_technological_parameter

Read a specific parameter of a technological object

list_parameter_sets

List available parameter sets for drives

set_drive_parameter

Write a parameter value to a drive

set_technological_parameter

Set a parameter value on a technological object

Watch & Force Tables

(11)
add_watch_table_entries

Add tag entries to a watch table for monitoring

clear_watch_table_entries

Remove all entries from a watch table

create_watch_force_table_folder

Create a folder to organize watch/force tables

create_watch_table

Create a new watch table for online monitoring

delete_watch_force_table_folder

Delete a watch/force table folder

get_force_table

Get the contents of a force table

get_watch_table

Get the contents and entries of a watch table

export_watch_table

Export a watch table to an external file

list_force_tables

List all force tables in the project

list_watch_tables

List all watch tables in the project

remove_watch_table_entries

Remove specific entries from a watch table

Text Lists & PLC Alarms

(13)
create_plc_alarm_textlist

Create a PLC alarm text list for alarm messages

create_text_list

Create a new text list for multilingual texts

delete_plc_alarm_textlist

Delete a PLC alarm text list

export_plc_alarm_instance_texts_xlsx

Export PLC alarm instance texts to Excel

export_plc_alarm_text_lists_xlsx

Export PLC alarm text lists to Excel

export_prodiag_info

Export ProDiag diagnostic information

export_supervision_settings

Export supervision settings to a file

export_supervisions_xlsx

Export supervision configurations to Excel

get_plc_alarm_text_lists

Get all PLC alarm text lists in the project

import_plc_alarm_text_lists_xlsx

Import PLC alarm text lists from Excel

import_supervision_settings

Import supervision settings from a file

import_supervision_settings_xlsx

Import supervision settings from Excel

import_supervisions_xlsx

Import supervision configurations from Excel

Import / Export

(9)
create_external_source_folder

Create a folder for external source files

delete_external_source

Delete an external source file from the project

delete_external_source_folder

Delete an external source folder

export_hardware

Export hardware configuration to AML or CAx file

export_project_texts

Export all project texts for translation

import_hardware

Import hardware configuration from AML or CAx file

import_project_texts

Import translated project texts back into the project

import_scl_source

Import an SCL source file into the project

list_external_sources

List all external source files in the project

Software Architecture

(13)
add_software_unit_relation

Add a relation between software units

create_software_unit

Create a new software unit in the project

create_workspace

Create a new workspace for multi-user development

create_workspace_group

Create a workspace group to organize workspaces

delete_software_unit

Delete a software unit from the project

delete_workspace

Delete an existing workspace

get_software_unit_relations

Get all relations between software units

get_software_units

List all software units in the project

get_workspace_groups

Get all workspace groups

get_workspace_mappings

Get the mapping of elements to workspaces

get_workspaces

List all workspaces in the project

set_software_unit_namespace

Set the namespace for a software unit

sync_workspace

Synchronize a workspace with the project

Version Control

(17)
vcs_branch_checkout

Check out an existing version control branch

vcs_branch_create

Create a new version control branch

vcs_branch_delete

Delete a version control branch

vcs_branch_list

List all version control branches

vcs_commit

Commit current changes to version control

vcs_config

View or update version control configuration

vcs_diff

Show differences between versions

vcs_init

Initialize version control for the project

vcs_log

View the version control commit history

vcs_merge

Merge a branch into the current branch

vcs_pull

Pull changes from a remote repository

vcs_push

Push local commits to a remote repository

vcs_remote_add

Add a remote repository to the project

vcs_remote_list

List all configured remote repositories

vcs_remote_remove

Remove a remote repository from the configuration

vcs_restore

Restore files to a specific version

vcs_status

Show the working tree status of version control

Pipelines

(9)
pipeline_delete

Delete a saved pipeline definition

pipeline_get

Get the definition of a specific pipeline

pipeline_get_template

Get a pipeline template definition

pipeline_history

View execution history of a pipeline

pipeline_instantiate_template

Create a pipeline instance from a template

pipeline_list

List all available pipelines

pipeline_list_templates

List all available pipeline templates

pipeline_run

Execute a pipeline with specified parameters

pipeline_save

Save a pipeline definition

Testing & Reporting

(8)
fat_generate_report

Generate a Factory Acceptance Test report

generate_graph

Generate a visual graph from project data

plc_test_create

Create a new PLC test case

plc_test_delete

Delete an existing PLC test case

plc_test_get_results

Get the results of a PLC test execution

plc_test_list

List all PLC test cases in the project

plc_test_run

Execute a PLC test case and collect results

sat_generate_report

Generate a Site Acceptance Test report

Documentation & Search

(13)
get_custom_doc_chunk

Get a specific chunk from a custom document

get_custom_doc_full_text

Get the full text of a custom document

get_custom_docs_stats

Get statistics about custom documentation

get_doc_section

Get a specific section from the documentation

get_llm_tips

Get community LLM tips for TIA Portal usage

list_custom_docs

List all custom documents in the knowledge base

list_doc_sections

List all available documentation sections

search_custom_docs

Search through custom documentation by keyword

search_docs

Search the built-in documentation library

search_online_docs

Search Siemens online documentation

search_tia_help

Search TIA Portal help system

submit_llm_tip

Submit a new LLM tip for the community

upvote_llm_tip

Upvote a helpful LLM tip

AI Copilot

(6)
copilot_chat

Send a message to the AI copilot for assistance

copilot_clear_history

Clear the AI copilot conversation history

copilot_get_history

Retrieve the AI copilot conversation history

copilot_get_last_response

Get the last response from the AI copilot

copilot_get_settings

Get current AI copilot configuration settings

copilot_stop

Stop an ongoing AI copilot generation

Patterns & Templates

(5)
get_pattern_details

Get detailed information about a specific pattern

get_pattern_guide

Get the usage guide for a specific pattern

instantiate_pattern

Create project elements from a pattern template

list_patterns

List all available automation patterns

search_patterns

Search patterns by keyword or category

CODESYS

(20)
codesys_add_device

Add a device to a CODESYS project

codesys_build

Build and compile the CODESYS project

codesys_close_project

Close the current CODESYS project

codesys_create_lad_pou

Create a new Ladder Diagram POU in CODESYS

codesys_create_pou

Create a new Program Organization Unit in CODESYS

codesys_create_project

Create a new CODESYS project

codesys_export_pou

Export a POU from the CODESYS project

codesys_get_blocks

Get all blocks in the CODESYS project

codesys_get_devices

List all devices in the CODESYS project

codesys_get_gvl_code

Get the code of a Global Variable List

codesys_get_pou_code

Get the source code of a CODESYS POU

codesys_get_project

Get information about the open CODESYS project

codesys_get_project_overview

Get a high-level overview of the CODESYS project

codesys_get_version

Get the installed CODESYS version

codesys_list_catalog

List available devices in the CODESYS catalog

codesys_list_gvls

List all Global Variable Lists in the project

codesys_open_project

Open an existing CODESYS project file

codesys_save_project

Save the current CODESYS project

codesys_set_pou_code

Set or update the source code of a POU

codesys_update_lad_pou

Update an existing Ladder Diagram POU

Server Administration

(10)
attach_portal

Attach to a running TIA Portal instance

detach_portal

Detach from the current TIA Portal instance

get_help_topic_details

Get details of a specific help topic

get_history_stats

Get statistics about server usage history

get_installed_tia_versions

List all installed TIA Portal versions

get_server_diagnostics

Get diagnostic information from the MCP server

get_server_info

Get general information about the MCP server

get_server_logs

Retrieve MCP server log entries

list_log_files

List all available server log files

set_simulation_support

Enable or disable simulation support

兼容的 MCP 客户端

在您首选的 AI 开发环境中使用 T-IA Connect

Cursor

AI 优先的代码编辑器。将 T-IA Connect 添加为 MCP 服务端,即可直接在 Cursor 中使用 Claude 或 GPT 处理 TIA Portal 项目。

VS Code + Continue

在 VS Code 中使用 Continue 扩展连接到 T-IA Connect 的 MCP 服务端。支持任何 AI 模型提供商。

Claude Code (CLI)

Anthropic 官方的 Claude CLI。原生支持 MCP —— 添加 T-IA Connect 即可从终端与 TIA Portal 交互。

Windsurf

Codeium 带有 MCP 支持的 AI IDE。连接 T-IA Connect,在代码编辑工作流中进行 TIA Portal 操作。

Claude Desktop

Anthropic 的桌面应用。将 T-IA Connect 配置为 MCP 服务端,获得对话式的 TIA Portal 使用体验。

自定义集成

使用开放规范构建您自己的 MCP 客户端。从 CI/CD 流水线、脚本或自定义工具中自动化 TIA Portal 操作。

安全:原生本地部署

除非您选择云端 AI 提供商,否则您的 PLC 代码永远不会离开您的网络

本地 MCP 服务端

T-IA Connect 运行在您的工程工作站上。无云端服务器,无外部依赖。MCP 服务端仅与本地 TIA Portal 实例通信。

您的 AI,您的选择

将 AI 请求路由到 Claude/GPT API(数据传输到其服务器)或通过 Ollama 路由到本地模型(零云端暴露)。您可以根据每个会话进行选择。

无数据收集

T-IA Connect 不收集、存储或传输您的项目数据。它是一个透明的桥梁 —— 数据在您的 AI 客户端和 TIA Portal 之间流动,不保留任何内容。

兼容 NIS2 和 IEC 62443

配合本地模型的本地部署方案符合最严格的工业网络安全要求。无外部数据处理,无云端依赖。

3 分钟快速入门

从下载到生成您的第一个 AI 驱动的 PLC 块

1

安装 T-IA Connect

下载安装程序,在您的工程工作站上运行。T-IA Connect 会自动检测您的 TIA Portal 安装。

2

配置您的 MCP 客户端

在您的 AI 客户端(Cursor、VS Code、Claude Code)中将 T-IA Connect 添加为 MCP 服务端。只需一行 JSON 配置即可。

3

打开 TIA Portal 项目

启动 TIA Portal 并打开您的项目。T-IA Connect 通过 Openness API 进行连接,并将所有 393 个工具开放给您的 AI。

常见问题解答

什么是 Model Context Protocol (MCP)?

MCP 是 Anthropic 发布的一个开放标准,定义了 AI 模型如何与外部工具交互。它规定了用于工具发现、调用和结果处理的 JSON-RPC 协议。可以将其视为 AI 的 USB 接口 —— 任何 AI 模型都可以使用任何兼容 MCP 的工具。T-IA Connect 为 TIA Portal 实现了这一协议。

T-IA Connect 是否支持 TIA Portal Openness?

是的。T-IA Connect 封装了官方的西门子 TIA Portal Openness API (.NET/COM),并将其暴露为 MCP 工具。这意味着您需要 TIA Portal 专业版或更高版本(包含 Openness),并且在您的工作站上安装了 Openness 组件。

我可以不配合 AI 而是用于自动化脚本吗?

是的。虽然 T-IA Connect 是为 AI 交互设计的,但 MCP 协议适用于任何客户端。您可以构建自定义脚本来调用 T-IA Connect 的工具,以实现 TIA Portal 操作的自动化 —— 批量创建块、变量导入、自动编译等。

哪些版本的 TIA Portal 通过 T-IA Connect 支持 MCP?

T-IA Connect 支持 TIA Portal V17、V18、V19、V20 和 V21。所有支持 Openness API 的版本均兼容。各版本的 MCP 工具集相同,但某些功能(如 PLCSim Advanced)需要特定的 TIA Portal 版本。

通过 MCP 将 AI 连接到 TIA Portal

连接任何 AI 与您的西门子 PLC 项目的开放、安全、本地桥梁。393 个工具,零云端依赖。