Codesys-MCP

luke-harriman/Codesys-MCP
★ 17 stars Python Code/Dev Tools Updated 6mo ago ✗ Risk
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 → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The Codesys-MCP Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and 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. . By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Review recent commits in this repository, run the test suite, and highlight performance bottlenecks."
"Search for functions that don't have unit tests and generate test cases for them."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

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

Or install with pip: pip install codesys-mcp

⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

README Documentation

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.

View Full Documentation & Updates on GitHub ↗

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