What is @codesys/mcp-toolkit?
The @codesys/mcp-toolkit is a Model Context Protocol (MCP) server designed for the CODESYS V3 programming environments, facilitating seamless interaction between MCP clients and CODESYS for automation tasks.
How to use @codesys/mcp-toolkit?
To use the toolkit, install it globally via npm with the command npm install -g @codesys/mcp-toolkit, and configure your MCP client (like Claude Desktop) to run the codesys-mcp-tool command directly.
Key features of @codesys/mcp-toolkit?
- Project management capabilities including opening, creating, and saving CODESYS projects.
- POU (Program Organization Unit) management for creating and editing programs, function blocks, and functions.
- Access to MCP resources for checking project status and retrieving object structures.
Use cases of @codesys/mcp-toolkit?
- Automating project management tasks in CODESYS.
- Streamlining the creation and editing of PLC programs.
- Integrating with other MCP-enabled applications for enhanced functionality.
FAQ from @codesys/mcp-toolkit?
-
What is required to use this toolkit?
You need a working CODESYS V3 installation with the Scripting Engine enabled and Node.js version 18.0.0 or later.
-
Can I install it locally instead of globally?
While it's recommended to install globally, advanced users can install from source for development purposes.
-
What should I do if I encounter errors?
Check the configuration settings, ensure the correct paths are set, and consult the logs from your MCP client application.