Home / twincat-mcp
[ P2 ]MCP SERVER · BETA

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.

[ 01 ]WHAT THE AGENT CAN DO

56 tools and 3 resources

01

Projects and POUs

Create solutions, PLC projects, POUs, folders and tasks. Read and write POU code.

02

Libraries

List, search, add, remove, install and uninstall libraries.

03

Build and errors

Build the project, fetch the error list and run the object check, so the agent can fix what it broke.

04

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.

05

Live variables

Read, write, browse and assert symbols over ADS. Scan I/O and link variables.

06

Local and offline

The service runs on the engineering PC at localhost:3001. Licensing works offline, without a license server.

[ 02 ]AGENTS AND LICENSING

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.