An MCP server for TwinCAT 3. The AI coding agent you already use can create PLC projects, build them, read the errors, activate the configuration and check live variables over ADS.
56 tools and 3 resources
Projects and POUs
Create solutions, PLC projects, POUs, folders and tasks. Read and write POU code.
Libraries
List, search, add, remove, install and uninstall libraries.
Build and errors
Build the project, fetch the error list and run the object check, so the agent can fix what it broke.
Runtime control
Activate the configuration, start or restart TwinCAT, log in to the PLC and start or stop it. These calls are guarded: they need a local UserMode Runtime or an explicit confirmation.
Live variables
Read, write, browse and assert symbols over ADS. Scan I/O and link variables.
Local and offline
The service runs on the engineering PC at localhost:3001. Licensing works offline, without a license server.
Which agents, which license
The server speaks MCP over Streamable HTTP. The documentation covers Claude Code, GitHub Copilot CLI and Cursor, and any other agent that can connect to an HTTP MCP endpoint can use the same address. A stdio transport is not shipped.
twincat-mcp is licensed per machine. A trial license is for evaluation and needs a signed trial agreement; ask for one at info@qubernetic.com.
- Version
- 0.2.0-beta.1
- Requirements
- 64-bit Windows 10 or 11, TwinCAT 3.1 Build 4020 or later
- License
- Proprietary, per machine. Trial on request.
- Documentation
- docs.twincatmcp.qubernetic.com