GX Works2 MCP — Mitsubishi PLC Ladder & SFC Agent

    1

    Author ladder logic from a process description (boolean logic, timers, counters, MOV/ADD/DMOV/CMP data rungs) and write a new native .gxw.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    GX Works2 MCP — Mitsubishi PLC Ladder & SFC Agent

    Example session with this skill installed

    Create a new Mitsubishi FX3U ladder project for a motor starter. Start is X0, Stop is X1 (NC), Output is Y0. Include a seal-in circuit and save to C:/plc/motor.gxw.

    • Read your context and instructions
    • Compiled the gx works2 mcp

    I have authored the motor starter ladder logic, validated the instruction set for FX3U, and saved the project to the specified path.

    Mitsubishi FX3U Project: Motor Starter

    ComponentAddressLogic TypeDescription
    Start ButtonX0NO ContactManual Start Input
    Stop ButtonX1NC ContactManual Stop Input (Hardware NC)
    Motor ContactorY0CoilMain Output
    Seal-inY0NO ContactAuxiliary contact for latching
    
    # Logic Configuration
    {
        "name": "motor_starter",
        "cpu": "FX3U",
        "rungs": [
            {
                "out": "Y0",
                "logic": {
                    "and": [
                        {"or": ["X0", "Y0"]},
                        "X1"
                    ]
                },
                "comment": "Motor start with seal-in and stop priority"
            }
        ],
        "target_path": "C:/plc/motor.gxw",
        "status": "Success",
        "checksum": "SHA256:8f43aa..."
    }
    

    Next steps

    1. Run gx_simulator_start to verify the latching behavior.
    2. Use gx_handover_export to generate the commissioning documentation.
    3. Open the file in GX Works2 to perform a final Global Rebuild.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    PLC work with AI usually stops at 'here is some ladder logic, good luck typing it in.' This skill teaches your agent to use gxworks2-mcp, an open-source MCP server with 51 tools for Mitsubishi GX Works2, so the program actually lands in a project file and comes back with evidence.

    What it does:

    • Author ladder logic from a process description (boolean logic, timers, counters, MOV/ADD/DMOV/CMP data rungs) and write a new native .gxw.
    • Native SFC: generate, compile, check, save and read back an FX3U SFC project in one call (sequential, two-way selection, jumps).
    • Edit safely: versioned slices and patches by stable instruction ID, so stale edits are rejected; file locks for multi-agent work.
    • Simulator acceptance: batch tests in GX Simulator2 with timing windows, hold times and forbidden output combinations, fail-fast.
    • Diagnose why a Y/M output is not on, down to the unmet contact or 16/32-bit comparison.
    • Change impact: diff two versions and get a retest list.
    • Handover: export a ZIP with IL, I/O comments, set/reset lists, checks and same-version SHA256 evidence, then verify it.

    How it works: the skill gives your agent the workflows, parameter limits and guardrails; the MCP server (installed locally from GitHub, free, MIT) does the deterministic work. Install steps for Claude Code, Cursor and Codex are included.

    Where it stops:

    • Fully verified only on Windows + GX Works2 1.620 + FX3U/FX3UC. Q/L series: partial parsing and MC-protocol only.
    • No parallel SFC branches. Plain ladder writes may still need a compile in GX Works2.
    • GX Works2 is not included; you need your own licence.
    • Simulator results are not field, wiring or safety acceptance. Live-PLC writes and RUN/STOP always require your explicit approval.

    Independent project, not affiliated with Mitsubishi Electric.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Requires Windows and GX Works2 for native writes/simulation. SFC lacks parallel branches. Simulator results do not replace safety certification. PLC writes require explicit manual confirmation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 20 days ago

    • Free with an Agensi account

    Software
    Gxworks2 MCPPythonGit

    Permissions

    Read Files
    Write Files
    Network Access
    Terminal / Shell
    Listed20 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the manual, error-prone process of writing ladder logic and navigating legacy GX Works2 menus by providing a direct MCP interface for logic generation, automated simulation, and fault diagnosis.

    You must have a licensed installation of Mitsubishi GX Works2 (v1.620+ recommended) running on a Windows environment to support native file writing and simulation features.

    Yes, the skill is purpose-built for the MELSEC FX3U and FX3UC series, including strict enforcement of octal addressing (X0-X7, X10+) and specific IL mnemonic syntax.

    The skill uses a dedicated 'gx_simulator_test' tool to run batch scenarios in GX Simulator2, allowing you to define timing windows and check for forbidden states without physical hardware.

    The skill handles the structured JSON logic and IL mnemonic conversion, but the native .gxw project writing and simulator execution require a local Windows environment where the MCP server can access the GX Works2 API.

    No, it is MIT on GitHub.

    Only via separate plc_* tools, and only after you explicitly approve a write or RUN/STOP.

    Offline authoring and analysis yes; native compile and simulator need Windows + GX Works2.

    New in LLM Ops

    Free