plugins marketplace
← All plugins

twincat-mcp-agent

v2026.06.04

TwinCAT ST Master - Expert in Beckhoff IEC 61131-3 ExST development

Claude Code5 skills2 MCP serversstdiostreamable-http

by Cristian Civera17updated 2 months ago

Source

git clone https://github.com/TechIndustryX/twincat-agent

Clone the source, then follow the repository's marketplace instructions for your runtime. The repository root is the plugin root.

Layout

twincat-mcp-agent/
├── .claude-plugin/plugin.json
├── skills/tc-advanced-patterns/SKILL.md
├── skills/tc-datatypes-memory/SKILL.md
├── skills/tc-naming-conventions/SKILL.md
├── skills/tc-syntax-control-flow/SKILL.md
├── skills/tc-troubleshooting/SKILL.md
└── .mcp.json

Skills5

tc-advanced-patternsskills/tc-advanced-patterns/SKILL.md

Use this skill when implementing advanced TwinCAT 3 (ExST) features. It covers Properties (GET/SET), Methods, initialization lifecycles (FB_init, FB_reinit, FB_exit), State Machine patterns, pragmas (attributes, conditional compiling, regions, message output), and PlcTaskSystemInfo access.

tc-datatypes-memoryskills/tc-datatypes-memory/SKILL.md

Use this skill when the user asks about data types, arrays, structures (STRUCT), enumerations (ENUM), pointers (POINTER), references (REFERENCE), or dynamic memory allocation (NEW/DELETE). It also contains critical rules for memory alignment (pack_mode) to minimize padding bytes.

tc-naming-conventionsskills/tc-naming-conventions/SKILL.md

Use this skill ALWAYS before generating or modifying the names of any variables, Function Blocks (FB), Data Types (DUT), Functions, Methods, Properties, or Interfaces. It contains the mandatory Beckhoff Hungarian notation rules, prefixes (b, n, f, st, fb, etc.), and shading/name resolution rules to avoid conflicts.

tc-syntax-control-flowskills/tc-syntax-control-flow/SKILL.md

Use this skill to correctly format ST (Structured Text) logic, operators, and control flow statements. It includes precedence rules, IF/CASE/FOR/WHILE loops syntax, mathematical/bitwise operator rules (MOD, SHL, ADR, BITADR), and the list of reserved IEC keywords.

tc-troubleshootingskills/tc-troubleshooting/SKILL.md

Use this skill ONLY when the user reports a build error, a compilation warning, or when `CheckPlcSyntaxAsync` fails. It contains specific fixes for TwinCAT IL Errors (4200-4213) and explanations for standard Compiler Warnings (1502-1990).

MCP servers2

twincat-automationstdio
command
cmd.exe
args
/c ${CLAUDE_PLUGIN_ROOT}/TwinCat.Xae.Mcp.Server.exe
twincat-infosysstreamable-http
url
https://twincat-infosys-mcp.cristiancivera.com/

MCP configuration uses runtime-provided plugin path placeholders such as ${PLUGIN_ROOT} or ${CLAUDE_PLUGIN_ROOT}. Review the manifest for the runtime-specific expansion rules.

Manifests1

.claude-plugin/plugin.json
{
  "name": "twincat-mcp-agent",
  "version": "2026.06.04",
  "description": "TwinCAT ST Master - Expert in Beckhoff IEC 61131-3 ExST development",
  "author": {
    "name": "Cristian Civera",
    "email": "cristian@cristiancivera.com"
  },
  "keywords": [
    "twincat",
    "beckhoff",
    "plc",
    "iec61131",
    "structured-text"
  ]
}