Skip to main content
Glama
logix-project-mcp

logix-project-mcp

logix-project-mcp

A local MCP server for saved Rockwell Studio 5000 Logix Designer projects. The first version gives an agent read-only access to the controller metadata, tags, and routines in a project you select.

Format

How the server reads it

.ACD

Opens a temporary copy with the Rockwell SDK and inspects its .L5X export

.L5K

Imports a temporary copy with the same SDK and inspects its .L5X export

.L5X

Parses a full project export directly

The server reads the latest saved file on each tool call. Save in Studio 5000 before asking the agent to inspect changes. A Studio 5000 Tools menu entry for sharing the current project path and a reviewed offline editing workflow are planned.

Requirements

For a full .L5X export, install Python 3.12 or later with pip and venv, and use an MCP client that can launch a local stdio server. The Python MCP SDK and XML parser install with the server.

For native .ACD and .L5K files using the Rockwell SDK 2.02.00 setup shown here, also install:

  • Windows and Studio 5000 Logix Designer 31 or later, with the version needed to open the selected project.

  • Logix Designer SDK 2.02.00 and its Python 2.0.2 wheel. Rockwell requires a Professional Edition license or toolkit to activate this SDK. This wheel supports Python 3.12 and 3.13.

  • FactoryTalk Linx, FactoryTalk Services Platform, and FactoryTalk Activation 4.04 or later.

  • The SDK installer supplies the x86 .NET 10, .NET Desktop 10, and ASP.NET Core 10 runtimes for its Windows components. The Python client also needs a .NET runtime that matches Python's process architecture. The example MCP configuration below uses 64-bit Python and an x64 .NET 10 installation.

See the Rockwell SDK 2.02.00 requirements for operating system versions and vendor prerequisites.

Related MCP server: openplc-engineering-mcp

Install

Create a Python 3.12 environment and install the server. From PowerShell in the repository root, run:

py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .

For .ACD or .L5K, install the Rockwell wheel into the same environment. Adjust the wheel filename for your installation.

$sdk = Join-Path $env:PUBLIC 'Documents\Studio 5000\Logix Designer SDK\python\logix_designer_sdk-2.0.2-py3-none-any.whl'
.\.venv\Scripts\python.exe -m pip install $sdk

Connect an agent

Add a local stdio server in your MCP client. The example uses the mcpServers configuration format. Replace both paths with the absolute paths on your machine.

{
  "mcpServers": {
    "logix-project-mcp": {
      "command": "C:/path/to/logix-project-mcp/.venv/Scripts/python.exe",
      "args": ["-m", "logix_project_mcp.server", "--project", "C:/path/to/MyProject.ACD"],
      "env": { "DOTNET_ROOT": "C:/Program Files/dotnet" }
    }
  }
}

DOTNET_ROOT gives the Rockwell SDK the .NET installation path. Adjust it for your installation. For native files, configure the MCP client to inherit the Windows user environment. A client that replaces that environment with a minimal allowlist can start the server yet time out when the SDK opens a project. Use the Windows SDK smoke test to confirm the local installation. A full .L5X export only needs the Python dependencies.

Tool

Response

get_project

Controller metadata and the program and routine tree

list_tags

Names, data types, and descriptions for controller tags or a specified program's tags

read_routine

Routine logic and comments in L5X XML

Contribute

See BUILD.md for local and CI checks, CONTRIBUTING.md for contribution guidance, and AGENTS.md for the source map and agent skills. The product task board tracks the path to 1.0. The server is MIT-licensed. The Rockwell SDK is installed separately.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables live tag read/write access to Rockwell Automation Logix5000 controllers over EtherNet/IP without requiring Studio 5000 Logix Designer, including discovery, tag listing, and batch operations.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to connect to Allen-Bradley, Siemens, and CODESYS PLC projects for discovering, asking questions about, analyzing, and proposing code changes, with access to live tag values and version exports under permission-scoped controls.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to parse Rockwell/Allen-Bradley L5X project exports and query PLC tags, UDTs, routines, AOIs, and I/O modules, including cross-reference search across logic to trace where a symbol is used. Ladder logic is returned as compact NeutralText with rung comments, keeping context windows small.
      12
      MIT