@codesys/mcp-toolkit
A Model Context Protocol (MCP) server for CODESYS V3 programming environments. This toolkit enables seamless interaction between MCP clients (like Claude Desktop) and CODESYS, allowing automation of project management, POU creation, code editing, and compilation tasks via the CODESYS Scripting Engine.
🌟 Features
Project Management
- Open existing CODESYS projects (
open_project) - Create new projects from standard templates (
create_project) - Save project changes (
save_project)
- Open existing CODESYS projects (
POU Management
- Create Programs, Function Blocks, and Functions (
create_pou) - Set declaration and implementation code (
set_pou_code) - Create properties for Function Blocks (
create_property) - Create methods for Function Blocks (
create_method) - Compile projects (
compile_project)
- Create Programs, Function Blocks, and Functions (
MCP Resources
codesys://project/status: Check scripting status and currently open project state.codesys://project/{+project_path}/structure: Retrieve the object structure of a specified project.codesys://project/{+project_path}/pou/{+pou_path}/code: Read the declaration and implementation code for a specified POU, Method, or Property accessor.






