CT

czarnak/tia-portal-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

97 stars 27 forks 品質 63 トレンド 38MIT

LLMやAIのエージェントを直接Siemens SIMATIC TIA Portal V21に接続するように設計された特殊ブリッジ.

概要

Siemens SIMATIC TIAポータルV21用のMCPサーバー。 MCP クライアントと AI エージェントが Siemens Openness API で実行中の TIA ポータル プロジェクトを検査します。 現在の実装は、プロジェクトの検出とライフサイクルの操作、PLCブロックのエクスポート/インポート、タグテーブルの読み込みとガードされたタグのミューテーション、ハードウェア/ネットワークの検出、クロスリファレンスの診断、ハードウェアカタログ検索、監視されたネットワークデバイスプロビジョニング、およびコンパイル/チェックの診断をカバーします。 現在、サーバーは、読み取り専用モードで14ツールと4ツールを公開しています。 - execute read batch - 1つの呼び出しで最大50個の保持された一般的な読み取り操作を実行します。 各項目は、操作ID、操作名(get block content、list tag tables)、およびその操作のパラメータを処理します。 独立して実行するので、失敗した項目は他の人を停止しません。 Bound read cross references with maxResults; 特大のバッチ応答は、明示的なマーカーを持つサーバー側をtuncatedまたは省略します.

概要(AI 翻訳)

Siemens SIMATIC TIAポータルV21用のMCPサーバー。 MCP クライアントと AI エージェントが Siemens Openness API で実行中の TIA ポータル プロジェクトを検査します。

現在の実装は、プロジェクト検出とライフサイクルの操作、PLCブロックエクスポート/インポート、タグテーブル読み取り、ガードされたPLCソフトウェア書き込み、ハードウェア/ネットワークの検出、WinCC統一HMI検査およびガードタグテーブル/タグ/警報書き込み、スタンドアロンVCIワークスペース操作、クロスリファレンス診断、ハードウェアカタログ検索、ガードされたネットワークデバイスプロビジョニング、およびコンパイル/チェック診断。

ツール

サーバは[read-only]]、19 in read-write、同じ19 in [fullで8つのツールを公開します。 [read-write は、プロジェクト内での編集、コンパイル、プロジェクトライフサイクルの呼び出しを許可し、実際のライフサイクルの呼び出しごとに一度に尋ねます。 [[full] はツールや操作を行わない; プロンプトなしでライフサイクルの呼び出しのみを実行します。 すべての書き込みツール ([plc_write]), [network_write, [hmi_write, [[vci_write]],および6つのライフサイクルツール)は、1つのガードされたシングルコールパイプラインを使用します。 いいえ 安全トークンおよびPLCの操業/停止無し。

PLC の読み込みとクロスリファレンス

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

TIA Portal MCP server

MCP server for Siemens SIMATIC TIA Portal V21. It lets MCP clients and AI agents inspect a running TIA Portal project through the Siemens Openness API.

The current implementation covers project discovery and lifecycle operations, PLC block export/import, tag table reads, guarded PLC software writes, hardware/network discovery, WinCC Unified HMI inspection and guarded tag-table/tag/alarm writes, standalone VCI workspace operations, cross-reference diagnostics, hardware catalog search, guarded network-device provisioning, and compile/check diagnostics.

Tools

The server exposes 8 tools in read-only, 19 in read-write (the startup default), and the same 19 in full. read-write permits in-project edits, compilation and project lifecycle calls, asking once per actual lifecycle call. full adds no tools or operations; it only runs lifecycle calls without the prompt. Every write tool (plc_write, network_write, hmi_write, vci_write and the six lifecycle tools) uses one guarded single-call pipeline; there are no safety tokens and no PLC run/stop.

PLC reads and cross-references

  • plc_read - run up to 50 PLC read operations in one call: get_block_content, get_type_content and list_tag_tables. Each item carries a unique operationId, an operation name, and that operation’s parameters. Items run independently, so a failing item does not stop the others. Results are structured JSON with contractVersion 1.0; a value over the value budget (60,000 characters by default) is omitted whole with narrowing guidance, never cut.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →