Skip to content
Grok

otgate — OT policy gateway for Grok

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:Grok transport:stdio runtime:pypi

Install otgate — OT policy gateway in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "otgate-opcua": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

otgate — OT policy gateway in other clients