Read-only analysis of Mitsubishi Electric MELSEC PLC projects saved by GX Works3 (.gx3): trace why a coil never turns on through the ladder logic, find where a device is written and read, search by device comment, and separate conditions that arrive from physical inputs, HMI or network communication. Runs entirely locally and never modifies the project; no project-mutating command is exposed. Unofficial, not affiliated with Mitsubishi Electric.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Work out why a coil never turns on, without opening GX Works3.
Reads a GX Works3 .gx3 project on your own machine and answers questions
about it โ where a device is written, what has to be true for a coil to turn
on, which conditions come from outside the PLC, which branches can never be
true. Read-only: it never writes back to the project.
It is a CLI, and the same analysis is a stdio MCP server, so an AI agent can answer from indexed facts instead of guessing at a binary file.
ๆฅๆฌ่ช: ไธ่ฑ้ปๆฉ MELSEC ใฎ .gx3 ใ GX Works3 ใ้ใใใซ่งฃๆใใ CLI / MCP
ใตใผใใผใงใใใใใฎใณใคใซใใชใ ON ใซใชใใชใใใใใฉใใผใใ่ฟฝใใพใใ
่ชญใฟๅใๅฐ็จใงใๅ
ใฎใใญใธใงใฏใใฏๆธใๆใใพใใใ
Python 3.10+. Installs two console scripts: gx3-cli and gx3-mcp-server.
No project needed โ generate one:
guide reads the project and tells you which commands are worth running on it,
and why. That is the answer to "there are sixty commands, where do I start".
Then ask it something:
Every command takes --format json for scripting, and -o FILE to write
instead of print. gx3-cli --help lists all of them by group.
Passing a .gx3 extracts it to .gx3_cache/<sha256>/ and analyses that copy.
| Question | Command |
|---|---|
| Why is this coil off? | trace-device, interlock-check |
| Where is this device written or read? | xref where-used, xref downstream |
| What does this program do? | rung-text, ladder-print, metrics |
| Show me the rung as a picture | ladder-layout --format svg |
| What comes from outside the PLC? | external-inputs, comm-refresh |
| What can never be true? | dead-logic |
| What looks wrong? | lint PROJECT (duplicate coils, multi-writer, operand widths, types) |
| What changed between versions? | diff, semantic-diff |
| Did it read the project correctly? | roundtrip |
Or "command": "python", "args": ["-m", "gx3cli.gx3_mcp_server"] if your
client cannot resolve console scripts from PATH. The server exposes read-only
analysis tools and a restricted command runner.
See Agent usage guide (JA) for how an agent should drive it.
Read-only analysis of .gx3 on your machine. Ladder is what it reads well.
FBD, ST, SFC and MIL are detected and reported as such rather than guessed at,
so a program it cannot read comes back saying so instead of coming back empty.
It does not edit projects, connect to a PLC to change anything, or replace GX
Works3. live-read can read live device values over MC Protocol/SLMP, CLI-only
and only with explicit connection parameters.
Output is advisory. Verify in GX Works3 and through your own safety process before touching real equipment. See Validation matrix (JA) for what has been checked.
If a project fails to parse, gx3-cli failure-corpus capture turns it into a
local regression sample without sending anything anywhere.
7z-style .gx3 โ install 7-Zip, or point at it:
set GX3_7Z=C:\Program Files\7-Zip\7z.exe. Encrypted containers are not
decrypted; export the folder from GX Works3 instead.
PyPI blocked โ pip install git+https://github.com/purinzan/gx3-cli-mcp.git
Something reads wrong โ gx3-cli doctor --root ... first, then
open an issue.
Agent skills: existing project audit ยท failure corpus
Current query-by-query status and remaining acceptance work for #153: ่งฃๆๅฅ็ดใฎ็งป่กๅฐๅธณ.
Source-available, not open source. Full terms in LICENSE.txt; this is a summary and the license text governs.
You may read the source and run it for evaluation and internal work, including inside a company. You may not redistribute it, host it as a service, or ship it in a paid product without written permission. There is no licence key, activation or paid plan.
ๆฅๆฌ่ช: ็คพๅ ใงใฎ่ฉไพกใปๆฅญๅๅฉ็จใฏ่จฑ่ซพใใใฆใใพใใ็ฆๆญขใใฆใใใฎใฏๅ้ ๅธใ SaaS ๆไพใๆๅ่ฃฝๅใธใฎ็ตใฟ่พผใฟใงใใๅฎ่กใซใฉใคใปใณในใญใผใ่ชฒ้ใฏไธ่ฆใงใใ ๅ็จๅฉ็จใฎ็ธ่ซใฏ Issue ใใใฉใใใ
Indexed as an MCP server, with per-tool scores for how well each tool describes what it does. Useful as outside feedback on the tool surface โ the low scores there are the ones whose descriptions need work.
Contributing: CONTRIBUTING.md ยท AGENTS.md
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/purinzan-gx3-cli-mcp)<a href="https://allmcps.com/mcp/purinzan-gx3-cli-mcp"><img src="https://allmcps.com/api/badge/purinzan-gx3-cli-mcp?style=directory" alt="Gx3 Cli MCP on AllMCPs" /></a>