
chewcw/tia-portal-openness-mcpserver
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
TIA Portal Openness MCP 서버
개요
MCP (Model Context Protocol) Server for Siemens TIA Portal Openness, 그리고 릴리스 설치 및 업데이트를위한 동반자 CLI. - TiaPortalMcpServer/: C# MCP 서버 (target Framework: net48) MCP 도구로 TIA Portal 엔지니어링 작업을 폭발. - TiaPortalMcpServer입니다. Tests/: 도구 계약 및 서버 행동에 대한 단위 및 통합 테스트. - cli/: 서버 릴리스 및 동료 기술을 관리하기위한 TypeScript CLI. - 프로젝트 라이프사이클 (projects create, project open, project open with upgrade, project save, project close, project get session info) - 하드웨어 및 장치 관리 (devices list, device create, device delete, device get attributes, device set attribute, device get app id, device set app id, device search catalog) - device delete, device get attributes, device set attribute, device get get get get get id, device get get id, device get id, device get get get get get get get get get get get get get get id, device get id, device get get get get id, device get get get get get get get get get get get get get get get get get get get get get get get get.
개요(AI 번역)
MCP (Model Context Protocol) Server for Siemens TIA Portal Openness, 그리고 릴리스 설치 및 업데이트를위한 동반자 CLI.
이 저장소가 포함 된 것
TiaPortalMcpServer/: C# MCP 서버 (target Framework:net48) MCP 도구로 TIA Portal 엔지니어링 작업을 폭발.TiaPortalMcpServer.Tests/: 도구 계약 및 서버 행동에 대한 단위 및 통합 테스트.cli/: 서버 릴리스 및 동료 기술을 관리하기위한 TypeScript CLI.
키 기능
서버는 도구 그룹을 제공합니다:
- 프로젝트 라이프사이클 (
projects_create,projects_open],projects_open_with_upgrade],projects_save],projects_close],projects_get_session_info]) - 하드웨어 및 장치 관리 (
devices_list],devices_create],devices_delete],devices_set_attribute],devices_get_app_id],devices_set_app_id],devices_search_catalog]) - 장치 품목 관리 (
deviceitems_list,deviceitems_get_attributes],deviceitems_plug_move],deviceitems_copy],deviceitems_delete],catalog_search_device_items]) - PLC 소프트웨어 및 블록 운영 ([T24]],
blocks_list,software_get_block_hierarchy)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
TIA Portal Openness MCP Server
MCP (Model Context Protocol) server for Siemens TIA Portal Openness, plus a companion CLI for release installation and updates.
What this repository contains
TiaPortalMcpServer/: C# MCP server (target framework:net48) exposing TIA Portal engineering operations as MCP tools.TiaPortalMcpServer.Tests/: unit and integration tests for tool contracts and server behavior.cli/: TypeScript CLI for installing server releases and managing companion skills.
Key capabilities
The server provides tool groups for:
- project lifecycle (
projects_create,projects_open,projects_open_with_upgrade,projects_save,projects_close,projects_get_session_info) - hardware and device management (
devices_list,devices_create,devices_delete,devices_get_attributes,devices_set_attribute,devices_get_app_id,devices_set_app_id,devices_search_catalog) - device item management (
deviceitems_list,deviceitems_get_attributes,deviceitems_plug_move,deviceitems_copy,deviceitems_delete,catalog_search_device_items) - PLC software and block operations (
software_add_block,blocks_list,software_get_block_hierarchy) - tag and tag-table management (
tags_create,tags_list,tags_tagtable_create,tags_tagtable_list,tags_tagtable_get,tags_tagtable_delete,tags_tagtable_export,tags_tagtable_open_editor,tags_group_create,tags_group_list,tags_group_find,tags_group_delete,tags_group_system_get,tags_constants_user_list,tags_constants_system_list) - advanced block operations (external sources, ProDiag, UDTs, types, editor helpers — 19 tools in
BlocksTools) - compilation (
compilation_project,compilation_software) - file import and validation (
files_read_csv,files_read_excel,files_list_sheets,files_validate_format,files_get_info) - HMI targets (
hmi_targets_list,hmi_targets_get,hmi_targets_validate) - sampling/LLM-assisted operations (
sampling_generate_code,sampling_summarize_project,sampling_get_suggestions) - elicitation and utility helpers (
utilities_elicit_user_input,utilities_get_project_info,utilities_list_libraries)
All active tools are declared in TiaPortalMcpServer/Tools/.
Runtime model
- Transport: MCP over
stdio. - Host process: .NET console app using
Microsoft.Extensions.Hosting. - Tool discovery: attribute-based (
[McpServerToolType],[McpServerTool]). - Logging: Serilog to stderr and rolling file logs (
TiaPortalMcpServer/logs/).
Requirements
- Windows machine.
- Siemens TIA Portal V20 installed and licensed.
- User account in the
TIA Portal Openness Usersgroup. - .NET Framework 4.8 runtime/developer pack (for building/running
net48project).
Build and run
From repository root:
dotnet build tia-portal-openness-mcpserver.sln
dotnet run --project TiaPortalMcpServer/TiaPortalMcpServer.csproj
Test
설치
npx @modelcontextprotocol/inspector dotnet run --project TiaPortalMcpServer/TiaPortalMcpServer.csproj