Skip to content
Gemini CLI

otgate — OT policy gateway for Gemini CLI

io.github.alikup-ai/otgate-opcua

Gates an LLM agent's writes to an OPC UA server on ranges, rate of change and live interlocks.

client:Gemini CLI transport:stdio runtime:pypi

Install otgate — OT policy gateway in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "otgate-opcua": {
      "command": "uvx",
      "args": [
        "otgate"
      ],
      "env": {
        "OTGATE_BACKEND": "<OTGATE_BACKEND>",
        "OTGATE_POLICY": "<OTGATE_POLICY>",
        "OTGATE_AUDIT": "<OTGATE_AUDIT>",
        "OTGATE_SHADOW": "<OTGATE_SHADOW>",
        "OTGATE_RATE_HISTORY": "<OTGATE_RATE_HISTORY>",
        "OTGATE_OPCUA_ENDPOINT": "<OTGATE_OPCUA_ENDPOINT>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

otgate — OT policy gateway in other clients