
agenticcontrolio/twincat-validator-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバは、TwinCAT 3 の XML ファイルを検証、自動修正、スキャフォールドする。 あらゆるLMクライアントに接続して、AIアシスタントを信頼でき、決定的なTwinCATコード品質ツーリング — 構造的...
概要
MCP サーバは、TcPOU、.TcIO、.TcDUT、.TcGVL を検証、自動修正、スキャフォールドする MCP サーバーです。 あらゆるLLMクライアントに接続して、AIアシスタントを信頼でき、決定的なTwinCATコード品質ツーリング — 構造チェック、21 IEC 61131-3 OOPチェック、オートフィックスパイプライン、およびキャノンスケルトン生成を提供します。 Claude Desktopでこのサーバーを使用する最も簡単な方法は、.dxt の拡張子をワンクリックで行います。 1. pip は twincat-validator-mcp 2. をインストールします。 最新のリリース3から.dxtファイルをダウンロードします。 Claudeデスクトップ → → → → → → → 完全な指示およびトラブルシューティングについてはdxt/README.mdを参照してください。 他のクライアント(Cursor、VSコード、Windsurf、Cline)では、サーバーは輸送を使用します.
概要(AI 翻訳)
MCP サーバは、TwinCAT 3 XML ファイル ([.TcPOU]]]], .TcDUT]], [[.TcGVL]]]) を検証、自動修正、スキャフォールドします。 あらゆるLLMクライアントに接続して、AIアシスタントを信頼でき、決定的なTwinCATコード品質ツーリング — 構造チェック、21 IEC 61131-3 OOPチェック、オートフィックスパイプライン、およびキャノンスケルトン生成を提供します。
サポートされているファイルタイプ
| 延長 | 説明 |
お問い合わせ
| [.TcPOU | プログラム構成ユニット | 機能ブロック・プログラム・機能 |
| [.TcIO | I/O 構成 — インターフェイス |
| [.TcDUT | データユニットタイプ | 構成・列・タイプ 消去 |
| [.TcGVL | グローバル変数一覧 |
インストール
ソースから
クロードデスクトップエクステンション
Claude Desktopでこのサーバーを使用する最も簡単な方法は、ワンクリック[.dxt]の拡張子を介して行われます。
- [
pip install twincat-validator-mcp - 最新のリリースから[[[T10]ファイルをダウンロード 3。 Claudeデスクトップを開く → 設定 → 拡張子 → インストール延長
完全な指示およびトラブルシューティングについてはdxt/README.mdを参照してください。
#LMクライアントに接続する
他のクライアント(Cursor、VSコード、Windsurf、Cline)では、サーバーはstdioトランスポートを使用します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
TwinCAT Validator MCP Server
An MCP server that validates, auto-fixes, and scaffolds TwinCAT 3 XML files (.TcPOU, .TcIO, .TcDUT, .TcGVL). Connect it to any LLM client to give your AI assistant reliable, deterministic TwinCAT code quality tooling — structural checks, 21 IEC 61131-3 OOP checks, auto-fix pipelines, and canonical skeleton generation.
Supported File Types
| Extension | Description |
|---|---|
.TcPOU |
Program Organization Units — Function Blocks, Programs, Functions |
.TcIO |
I/O configurations — Interfaces |
.TcDUT |
Data Unit Types — Structures, Enums, Type Aliases |
.TcGVL |
Global Variable Lists |
Installation
pip install twincat-validator-mcp
From Source
git clone https://github.com/agenticcontrolio/twincat-validator-mcp.git
cd twincat-validator-mcp
pip install -e .
Claude Desktop Extension
The easiest way to use this server with Claude Desktop is via the one-click .dxt extension:
pip install twincat-validator-mcp- Download the
.dxtfile from the latest release - Open Claude Desktop → Settings → Extensions → Install Extension
See dxt/README.md for full instructions and troubleshooting.
Connecting to an LLM Client
For other clients (Cursor, VS Code, Windsurf, Cline), the server uses stdio transport. Add the following to your client’s MCP config file:
Cursor — .cursor/mcp.json
{
"mcpServers": {
"twincat-validator": {
"command": "twincat-validator-mcp",
"args": []
}
}
}
VS Code (Copilot / Continue) — .vscode/mcp.json
{
"servers": {
"twincat-validator": {
"type": "stdio",
"command": "twincat-validator-mcp",
"args": []
}
}
}
Windsurf — ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"twincat-validator": {
"command": "twincat-validator-mcp",
"args": []
}
}
}
Cline (VS Code Extension)
{
"mcpServers": {
"twincat-validator": {
"command": "twincat-validator-mcp",
"args": [],
"disabled": false
}
}
}
MCP Tools
Validation
| Tool | Description |
|---|
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"twincat-validator": {
"command": "twincat-validator-mcp",
"args": []
}
}
}