HT 

heilingbrunner/tiaportal-mcp
Productivity workflowこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
126 stars 51 forks 品質 80 トレンド 37MIT
Heilingbrunner/Tiaportal-MCPは、https://github.com/heilingbrunner/tiaportal-mcp.からインポートされたMCPサーバー候補です。
概要
Heilingbrunner/Tiaportal-MCPは、https://github.com/heilingbrunner/tiaportal-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
シーメンスのTIAポータルに接続するMCPサーバーです。
リソース
- TIAポータルの開放性API概要
- TIA Portal Openness API ドキュメント
- TIA Portal Openness API によるエンジニアリングワークフローの自動化
- TIA Portal Openness API によるエンジニアリングワークフローの自動化- エクスポート/インポートドキュメント
特徴
- TIAポータルインスタンスへの接続
- TIAポータルのプロジェクトを閲覧・操作
- VS Code内での基本的なプロジェクト操作を行う
- PLCソフトウェア全体を読み取る:プログラムブロック、PLCデータ型、タグや定数、ウォッチ、 フォーステーブル、外部ソースファイル、クロスリファレンス
- オプションでプロジェクトオブジェクトの作成、名前変更、削除、移動、インポート(書き込みモード参照)
コマンドラインの引数
| 議論 | 説明 |
|---|---|
--tia-major-version |
TIA ポータルメジャーバージョンにバインドを割り当てる。デフォルトは21。 |
--project-path |
OpenProject / OpenTiaProject のpathの引数用にプリセットされたものです。以下を参照してください。 |
--software-path |
softwarePathツール引数のプリセット、例:PLC_1。以下を参照してください。 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
TIA-Portal MCP-Server
A MCP server which connects to Siemens TIA Portal.
Resources
- TIA Portal Openness API Overview
- TIA Portal Openness API Documentation
- TIA Portal Openness API for automation of engineering workflows
- TIA Portal Openness API for automation of engineering workflows - Export/Import Documentation
Features
- Connect to a TIA Portal instance
- Browse and interact with TIA Portal projects
- Perform basic project operations from within VS Code
- Read the full PLC software: program blocks, PLC data types, tags and constants, watch and force tables, external source files, and cross references
- Optionally create, rename, delete, move and import project objects (see Write mode)
Command Line Arguments
| Argument | Description |
|---|---|
--tia-major-version |
TIA Portal major version to bind against. Default 21. |
--project-path |
Preset for the path argument of OpenProject / OpenTiaProject. See below. |
--software-path |
Preset for the softwarePath tool argument, e.g. PLC_1. See below. |
--export-path |
Preset for the exportPath tool argument. See below. |
--logging |
1 stderr, 2 debug output, 3 Windows event log. Omit for no logging. |
--doctor |
Print the environment report and exit without starting the MCP server. |
--preserve-path |
Flag: preservePath defaults to true for the export tools. See below. |
--with-dependencies |
Flag: withDependencies defaults to true for the ExportSource* tools. See below. |
--force-presets |
Flag: the path, softwarePath and exportPath presets cannot be overridden. See below. |
--allow-write |
Register the project-mutating tools. Omitted by default; see below. |
Presetting tool arguments
softwarePath, exportPath, preservePath and withDependencies (the ExportSource* tools) appear in many tools, path (the project file) in
OpenProject and OpenTiaProject. Set them once in the args
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"tia-mcp-server": {
"type": "stdio",
"command": "<path-to>\\TiaMcpServer.exe",
"args": [
"--tia-major-version", "21",
"--project-path", "D:\\Projects\\Plant\\Plant.ap21",
"--software-path", "PLC_1",
"--export-path", "${CLAUDE_PROJECT_DIR}\\export",
"--preserve-path",
"--with-dependencies",
"--allow-write"
],
"env": {}
}
}
}