
Beckhoff TwinCAT 3(TE1000 / XAE 自动化接口)的 MCP 服务器——驱动系统管理树、PLC 创作、IO/EtherCAT、链接、构建和部署,由 AI 代理操作。
概览
一个用于工程自动化的模型上下文协议服务器——从AI代理或任何MCP客户端驱动。 te1000-mcp 将 TwinCAT XAE 工程表面——系统管理树、PLC 项目创作、IO/EtherCAT 配置、变量链接、构建和运行时部署——作为一套紧凑的 MCP 工具。它通过 TE1000 自动化接口(COM/DTE)与 A 通信,因此代理可以像工程师在图形界面中那样配置和构建 TwinCAT 项目。 Node MCP 前端(index.js)拥有 MCP 协议、工具模式和确认保护;COM/DTE 工作运行在前端通过 Windows 命名管道与其通信的 (Te1000Daemon.exe)。守护进程是唯一的后端。看看它是如何工作的。 该服务器驱动 ,可以激活或下载到 。所有涉及目标运行时的操作(激活、重启、下载、删除、授权)默认都是关闭的。参见安全与防护。
概述(AI 翻译)
一个用于 Beckhoff TwinCAT 3 工程自动化的模型上下文协议服务器 — 从人工智能代理或任何 MCP 客户端驱动 TE1000 / XAE 自动化接口。
te1000-mcp 暴露了 TwinCAT XAE 工程表面——系统管理器树,
PLC项目创作、IO/EtherCAT配置、变量链接、构建和
运行时部署——作为一组紧凑的MCP工具。它与运行中的XAE Shell通信
通过TE1000自动化接口(COM/DTE)进行配置和构建
TwinCAT项目就像工程师在图形界面中所做的那样。
节点MCP前端(index.js)拥有MCP协议、工具模式和确认
守护;COM/DTE工作运行在持久的原生C#/.NET守护进程中
(Te1000Daemon.exe)前方通过一个名为Windows的管道与其对话。守护进程是
唯一的后端。看看它是怎么运作的。
[!重要] 这个服务器驱动着一个真正的工程工具,可以激活或下载到 TwinCAT 运行时。每一个接触目标运行时的操作(激活、重启, 下载、删除、授权)默认是确认门且关闭的。 参见安全与守卫。
目录
- 亮点
- 工作原理
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
te1000-mcp
A Model Context Protocol server for Beckhoff TwinCAT 3 engineering automation — drive the TE1000 / XAE Automation Interface from an AI agent or any MCP client.
te1000-mcp exposes the TwinCAT XAE engineering surface — the System Manager tree,
PLC project authoring, IO/EtherCAT configuration, variable linking, builds, and
runtime deployment — as a compact set of MCP tools. It talks to a running XAE Shell
through the TE1000 Automation Interface (COM/DTE), so an agent can configure and build
a TwinCAT project the same way an engineer would in the GUI.
A Node MCP front (index.js) owns the MCP protocol, tool schemas, and confirmation
guards; the COM/DTE work runs in a persistent native C#/.NET daemon
(Te1000Daemon.exe) that the front talks to over a Windows named pipe. The daemon is
the sole backend. See How it works.
[!IMPORTANT] This server drives a real engineering tool and can activate or download to a TwinCAT runtime. Every action that touches the target runtime (activate, restart, download, deletes, licensing) is confirmation-gated and off by default. See Safety & guards.
Contents
- Highlights
- How it works
- Requirements
- Install
- Build the daemon
- Configure your MCP client
- Environment variables
- Quickstart
- Tool reference
- Safety & guards
- Reliability: dialog watchdog & PLC session control
- Troubleshooting
- Examples
- Documentation
- Contributing
- License
Highlights
- 25 noun-grouped tools covering the automatable TE1000 surface — tree, IO/EtherCAT, linking, PLC project & POU authoring, libraries, tasks, mapping, routes, fieldbuses, TcCOM, C++, measurement/scope, licensing, and variants.
- Batch-first — every multi-item operation has a
*_batchform that runs N operations
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"te1000": {
"command": "node",
"args": ["C:\\path\\to\\TwinCAT-XAE-MCP\\index.js"]
}
}
}