Skip to main content
Glama
purinzan

gx3-mcp-server

by purinzan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gx3_list_commandsA

List the project-read-only GX3 CLI commands available through this server.

gx3_trace_deviceA

Trace a device's ON/OFF/hold conditions from exact ladder topology. MC master-control zone conditions are folded into the enable logic, and the output warns on multi-OUT-coil devices and rows below a conditional jump.

gx3_interlock_checkA

Static satisfiability check: can two coils' ON/enable conditions be true at the same time? A 'mutually-exclusive' verdict is sound; a 'simultaneous-possible' verdict returns a witness assignment but is not a reachability proof.

gx3_xref_where_usedA

Writers and readers of a device with POU name and real step. Requires the xref DB: run gx3-cli xref build --root <root> once per project first.

gx3_lintA

Static lint: duplicate coils, multi-writers, alarm quality, unused/comment issues, math/type checks. Writes one CSV per check to the working directory.

gx3_dead_logicC

Constant-OFF contacts, always-on NC contacts, unread coils/words, and SET-without-RST latches. Requires the xref DB.

gx3_device_mapB

Device-type usage ranges, density, and free gaps from the SQLite index (build index-lite first).

gx3_alarm_mapC

Alarm/fault inventory with trigger, hold type, timer setpoint, and reset condition. Requires the xref DB.

gx3_semantic_diffB

Rung-level diff between two projects (folders or .gx3) by stable block GUID.

gx3_network_mapD

Aggregated IP, CC-Link, SCON, and safety relationship map.

gx3_ladder_printA

Render a program in GX Works3 print-text layout. Output can be large; pass 'output' to write it to a file. To emit only the circuit under discussion, use 'list_sections' to discover section titles, then filter with 'section', 'pos_range' (A-B), or 'device'.

gx3_run_commandA

Escape hatch: run any MCP-allowed, project-read-only GX3 CLI command with explicit arguments. Project-mutating commands and local demo generation commands are rejected. Prefer the typed tools above when one fits.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/purinzan/gx3-cli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server