CODESYS Development System MCP Server
The CODESYS Development System MCP Server is an add-on which allows AI assistants to interact directly with the CODESYS development environment.
Model Context Protocol
The Model Context Protocol (https://modelcontextprotocol.io/docs/getting-started/intro) is an open standard for communication between AI models and external applications. Using MCP, an AI assistant can access tools, query data, and perform actions within an application.
The CODESYS Development System MCP Server implements this protocol and provides selected IDE functions as MCP tools. As a result, MCP-compatible clients can access projects, code, and libraries in the CODESYS IDE.
Use Cases
The CODESYS MCP Server supports many use cases including the following exemplary workflows:
Read, write, and edit structured text code
Navigate and browse the project structure
Manage libraries and fetch their documentation
Check for compile errors and warnings
For a full overview of the available tools, see the following: MCP Tools and Resources.
Notes
Supported programming languages
The CODESYS MCP Server currently supports Structured Text only. Objects in graphical languages can be read, but not created or modified.
Recommendation of version control
CODESYS V3 provides only limited options for undoing changes. It is recommended to use file-based project storage together with a version control system, such as Git.
Recommended AI models
In internal tests, the Claude models have shown the best code quality for Structured Text. Other MCP-compatible LLMs can also be used, but may deliver results of lesser quality.