otgate — OT policy gateway

io.github.alikup-ai/otgate

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "otgate": {
      "command": "uvx",
      "args": [
        "otgate"
      ],
      "env": {
        "OTGATE_BACKEND": "fake",
        "OTGATE_POLICY": "examples/reactor_policy.yaml",
        "OTGATE_AUDIT": "audit.jsonl"
      }
    }
  }
}
Environment variables
  • OTGATE_BACKENDBackend to gate: 'fake' for the bundled in-memory reactor simulator, 'asyncua' for a real OPC UA server. Start with 'fake' — it needs no plant and no extra dependency.
  • OTGATE_POLICYPath to the policy YAML. Any tag not listed in it is denied by default.
  • OTGATE_AUDITPath to the append-only JSONL audit log. Every call, allowed or not, produces exactly one line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
AI & ML
Version
0.1.0
Registry
deprecated
Published
11/7/2026
Browse all AI & ML →

Add the badge to your site

Show visitors that otgate — OT policy gateway is listed here — it’s also the link we check for a free listing.

otgate — OT policy gateway — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-alikup-ai-otgate?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="otgate — OT policy gateway — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![otgate — OT policy gateway — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-alikup-ai-otgate?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.