PLCGateway for Gemini CLI
com.plcgateway/plcgateway
Ask your plant: live PLC data, alarms, history, OEE and reports from your on-premises PLCGateway.
client:Gemini CLI
transport:stdio
runtime:npm
Install PLCGateway in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"plcgateway": {
"command": "npx",
"args": [
"-y",
"@plcgateway/mcp"
],
"env": {
"PLCGATEWAY_URL": "<PLCGATEWAY_URL>",
"PLCGATEWAY_TOKEN": "<PLCGATEWAY_TOKEN>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs