Codesys-MCP

luke-harriman/Codesys-MCP
★ 17 stars Python 💻 Code/Dev Tools Updated today
An MCP server for Codesys that enables AI systems to stand up a live UI where they can edit/push code and view variables live on device.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "codesys-mcp": {
      "command": "uvx",
      "args": [
        "codesys-mcp"
      ]
    }
  }
}

Or install with pip: pip install codesys-mcp

README Excerpt

MCP server for CODESYS with a persistent UI instance and file-based IPC. Unlike headless-only approaches that spawn a new CODESYS process per command, this server launches CODESYS **with its UI visible** and keeps it running. MCP tool calls are sent to the same instance via a file-based IPC watcher, so changes appear in real-time and the user can interact with the IDE alongside AI-driven automation.

Tools (20)

add_deviceadd_librarycompile_projectconfigure_taskconnect_to_devicecreate_dutcreate_foldercreate_gvlcreate_methodcreate_poucreate_projectcreate_project_archivecreate_propertydelete_objectdisconnect_from_devicedownload_to_deviceexport_project_xmlfind_referencesgenerate_boot_applicationget_all_pou_code