Skip to content
Tresca

CODESYS MCP Toolkit

MCP serverCommunity

A Node.js server that runs CODESYS scripting-engine commands to create POUs, set their code and compile the project. By johannesPettersson80.

129 starsUpdated 1 year agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
CODESYS
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
CODESYS V3 (tested with 3.5 SP21) with the Scripting Engine installed
Operating systems
Windows
Needs a CODESYS licence
Not stated in its documentation
Transport
Local (stdio)
AI clients documented
Claude Desktop
Licence
MIT
Language
TypeScript

What it can do

  • Opens, creates (from standard templates) and saves CODESYS projects.
  • Creates programs, function blocks and functions, sets their declaration and implementation code, and adds properties and methods to function blocks.
  • Compiles the project, and exposes the project structure and POU code as MCP resources.

Limitations

  • Not maintained since May 2025 (npm 1.1.16).
  • Launching through npx can fail inside Claude Desktop; the author recommends calling the installed command directly.
  • The @codesys npm scope is the author's own, not CODESYS Group's.

Install

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.