Skip to content
MCP server
Registry

PLCGateway MCP Server

Ask your plant: live PLC data, alarms, history, OEE and reports from your on-premises PLCGateway.

PLCGateway scores 53 (Fair), with no SPDX license recorded and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 70 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by cybriantopsNo licenseJavaScript0 stars
Trust score
53Fair
Trust score 53 of 100, Fair

Fair trust

53 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 53 comes from

22 + 20 + 0 + 0 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cybriantops-plcgateway-mcp": {      "command": "npx",      "args": [        "-y",        "@plcgateway/mcp@0.1.1"      ],      "env": {        "PLCGATEWAY_URL": "",        "PLCGATEWAY_TOKEN": "YOUR_PLCGATEWAY_TOKEN"      }    }  }}

Environment variables

NameRequiredNotes
PLCGATEWAY_URLRequiredAddress of your PLCGateway SCADA or Connect, e.g. http://192.168.1.50:8080
PLCGATEWAY_TOKENSecretRequiredAPI token (PLCGateway → Settings → API token), or the MCP configuration token for device/tag setup

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

PLCGateway MCP

npm CI PLCGateway MCP server license: MIT node Listed on mcpservers.org

MCP server for PLCs, CNC machines and SCADA. Ask an AI assistant about live machine data, alarms, history and OEE, and let it add devices, tags, screens and reports, on your own network.

PLCGateway is PLC gateway and SCADA software: it connects PLCs, CNC machines and controllers (Siemens S7, Modbus, Mitsubishi, Omron, Allen-Bradley, FANUC, OPC UA and more) and shares their data over OPC UA, MQTT, Modbus TCP and REST. Every PLCGateway product has an MCP server built in. This package is a small stdio bridge: MCP clients that start servers as a command (Claude Desktop, Claude Code, Cursor, Cline, Windsurf, …) run it, and it forwards everything to your PLCGateway on your network.

AI client ──stdio──▶ @plcgateway/mcp ──HTTP (your network)──▶ PLCGateway on your premises ──▶ PLCs & machines
  • PLCGateway runs on your premises. The bridge talks only to the address you give it; it collects nothing and sends nothing elsewhere.
  • The assistant works with the rights of the token you give it, the same roles as people.
  • Nothing reaches a PLC without a person. With write approval (on by default for the API token), a value the assistant wants to write waits until an operator approves it in PLCGateway. See Safety.

What you can ask

  • "How many alarms did line 3 have in the last 2 hours?"
  • "What was the filler's OEE today, and where did we lose the most time?"
  • "Summarise the last 24 hours of the tank level trend."
  • "Build a report dashboard with production and energy per shift for line 1." (draft for you to review)
  • "Add the Modbus TCP meter at 192.168.1.40 as 'Compressor 2 energy meter'." (needs the MCP configuration token)

With Claude for Manufacturing

Claude for Manufacturing is Anthropic's plugin for Claude Team and Enterprise. It drafts quotes, quality reports and breakdown investigations from business systems (Autodesk Fusion, Infor, Microsoft 365, Oracle NetSuite). It doesn't read the shop floor. Add PLCGateway next to it and those skills can work with live machine data (maintenance, SPC monitor and energy tools come with the Quality & Maintenance and Energy modules):

Skill areaWhat Claude reads from PLCGateway
Diagnosing breakdownsactive_alarms, alarm_history, alarm_stats, query_history (sensor trends before the stop), list_maintenance
Investigating failed inspectionslist_production_batches, query_history, spc_analysis, run_spc_monitor
Reporting on productionget_production_kpis, calculate_oee, energy_summary, generate_report
  • Claude desktop app: add this bridge as shown under Setup. It talks only to PLCGateway on your network.
  • Claude on the web: a custom connector there needs PLCGateway's /mcp endpoint to be reachable over HTTPS.
  • Roles still apply. With the API token Claude has operator rights. A write it asks for waits for a person's approval in PLCGateway (write approval, on by default). It cannot change the configuration unless you switch on the MCP configuration token. The log names who asked and who approved.

Claude and Claude for Manufacturing are products of Anthropic. PLCGateway is an independent product and is not affiliated with or endorsed by Anthropic.

Tools

The tools come from the PLCGateway you connect to, so the list follows your edition and the rights of your token.

GroupTools
Contextget_site_context, system_status, help, list_protocols
Datalist_devices, list_tags, read_tags, query_history, write_tag, write_request_status
Alarmsactive_alarms, alarm_history, alarm_stats, acknowledge_alarm, list_alarm_definitions
Productioncalculate_oee, get_production_kpis, list_production_assets, list_batches, list_production_batches, set_batch_result
Screens and reportslist_screens, get_screen, list_symbols, run_screen_action, create_screen_draft, create_dashboard_draft, generate_report
Configuration (admin)set_site_profile, test_device, create_device, update_device, create_tags, update_tags, define_production_asset, define_products, OPC UA certificate actions

Full description: https://plcgateway.com/ai-mcp

Supported devices and protocols

All drivers are included in every licence, with no device or tag limit:

Siemens S7 · Modbus TCP/RTU · Mitsubishi MC · Omron FINS · Allen-Bradley EtherNet/IP · Beckhoff ADS · FANUC FOCAS · OPC UA and DA · IEC 60870-5-104 · IEC 61850 · DNP3 · BACnet

Data goes out over an OPC UA server, MQTT, a Modbus TCP server and a REST API. Details: https://plcgateway.com/protocols

Safety

  • On your premises. PLCGateway sends nothing to a cloud by itself; tool results go only to the assistant you connect. With a self-hosted model the data stays in your network.
  • Same roles as people. Viewer, operator and administrator rights apply to the assistant. Writing a value needs operator rights; configuration needs an administrator session, a local connection or the configuration token. For read-only access, connect with a viewer user, or mark tags read-only in PLCGateway so nobody can write them.
  • Write approval: a person confirms every write. PLCGateway → Settings → Write approval decides, per credential, which writes wait for a person. By default every write_tag and run_screen_action the assistant sends with the API token or the MCP configuration token is held: nothing is written, and the tool answers pending approval with a request id. Operators and administrators see the request at the top of every PLCGateway page (value, who asked, the reason the assistant gave) and approve or reject it. Only a person signed in to PLCGateway can approve; the token cannot approve its own request. Requests nobody decides on expire (10 minutes by default) and are never written. The assistant checks the outcome with write_request_status. REST writes with the API token can be held the same way.
  • Checked again at approval. An approved screen action runs its conditions again with the values of that moment.
  • Drafts, not live changes. Screens and dashboards an assistant creates are drafts that a person reviews.
  • Audit trail. Every write is logged with the credential that asked and, for approved requests, the person who approved it, e.g. api (approved by anna) wrote 230 to line1.SetTemp.

Requirements

  • PLCGateway SCADA or Connect, reachable from the computer running the AI client, with MCP enabled
  • An API token: PLCGateway → Settings → API token (operator rights: read, write, alarm acknowledgement; writes wait for approval while write approval is on)
  • Node.js 18.17 or newer

For setup work (adding devices and tags) create the MCP configuration token in Settings and switch it off when done.

Setup

Claude Desktop, Cursor, Cline and other stdio clients

{
  "mcpServers": {
    "plcgateway": {
      "command": "npx",
      "args": ["-y", "@plcgateway/mcp"],
      "env": {
        "PLCGATEWAY_URL": "http://192.168.1.50:8080",
        "PLCGATEWAY_TOKEN": "<your API token>"
      }
    }
  }
}

Claude Code

claude mcp add --transport stdio \
  --env PLCGATEWAY_URL=http://192.168.1.50:8080 \
  --env PLCGATEWAY_TOKEN=<your API token> \
  plcgateway -- npx -y @plcgateway/mcp

Clients that support HTTP MCP directly

You don't need this package; connect straight to PLCGateway:

{ "mcpServers": { "plcgateway": { "type": "http", "url": "http://192.168.1.50:8080/mcp",
                                   "headers": { "Authorization": "Bearer <your API token>" } } } }

On the PLCGateway computer itself

plcgateway-scada --mcp-stdio (or plcgateway-connect --mcp-stdio) can be added as the command directly.

Configuration

VariableFlagDescription
PLCGATEWAY_URL--urlPLCGateway address, e.g. http://192.168.1.50:8080 (/mcp is added if missing)
PLCGATEWAY_TOKEN--tokenAPI token or MCP configuration token. Prefer the environment variable.
PLCGATEWAY_TIMEOUT--timeoutRequest timeout in seconds (default 120)

For HTTPS with your own certificate authority, set NODE_EXTRA_CA_CERTS=/path/to/ca.pem.

Troubleshooting

The bridge logs to stderr (visible in your client's MCP logs).

If PLCGateway cannot be reached when the client connects, the bridge stays up in offline mode with a single tool, connection_status. Ask the assistant "why is PLCGateway not connected?" and it reports the reason. The bridge retries by itself, and the plant tools appear once PLCGateway answers.

MessageWhat to check
PLCGateway not reachableAddress and port, firewall, PLCGateway running
HTTP 401/403The token (Settings → API token); a regenerated token replaces the old one
HTTP 404MCP is disabled in PLCGateway settings, or the URL points elsewhere

Getting PLCGateway

Links

License

The bridge in this repository is MIT licensed. PLCGateway itself is proprietary software, licensed separately.

Frequently asked questions

What is PLCGateway MCP Server?

Ask your plant: live PLC data, alarms, history, OEE and reports from your on-premises PLCGateway.

How do I install PLCGateway MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PLCGateway MCP Server runs locally from the npm package @plcgateway/mcp with the command npx -y @plcgateway/mcp@0.1.1.

Does PLCGateway MCP Server support remote (HTTP) connections?

No remote endpoint is listed for PLCGateway MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is PLCGateway MCP Server's trust score calculated?

PLCGateway MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server