MCP.so
登录

@codesys/mcp-toolkit

@johannesPettersson80

关于 @codesys/mcp-toolkit

Model Context Protocol server for CODESYS automation platform

基本信息

分类

开发工具

许可证

MIT

运行时

node

传输方式

stdio

发布者

johannesPettersson80

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is @codesys/mcp-toolkit?

A Model Context Protocol (MCP) server for CODESYS V3 programming environments. It enables MCP clients (like Claude Desktop) to automate project management, POU creation, code editing, and compilation tasks via the CODESYS Scripting Engine.

How to use @codesys/mcp-toolkit?

Install globally with npm install -g @codesys/mcp-toolkit. Configure your MCP client to run the codesys-mcp-tool command directly, passing the required --codesys-path and --codesys-profile arguments. Restart the client to apply the settings.

Key features of @codesys/mcp-toolkit

  • Open, create, and save CODESYS projects.
  • Create Programs, Function Blocks, and Functions.
  • Set declaration and implementation code for POUs.
  • Create properties and methods for Function Blocks.
  • Compile projects.
  • Read project status, structure, and POU code via MCP resources.

Use cases of @codesys/mcp-toolkit

  • Automate opening and modifying CODESYS projects from an MCP client.
  • Create and edit POU code programmatically without the CODESYS IDE.
  • Compile projects and retrieve compilation results.
  • Inspect project structure and POU content remotely.

FAQ from @codesys/mcp-toolkit

What are the prerequisites for @codesys/mcp-toolkit?

A working CODESYS V3 installation (tested with 3.5 SP21) with the Scripting Engine component enabled, Node.js 18+, and an MCP-enabled application.

How do I configure the CODESYS path and profile?

Pass --codesys-path <path> and --codesys-profile <profile> when running codesys-mcp-tool in your MCP client configuration. Alternatively, set the CODESYS_PATH and CODESYS_PROFILE environment variables, but the command-line arguments are recommended.

Why does the tool fail with a 'C:\Program' error?

This error occurs when launched via npx

评论

开发工具 分类下的更多 MCP 服务器