Home / Market / otgate — OT policy gateway

otgate — OT policy gateway

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

mcp★ 032 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-otgate-opcua-eaba0bd2c63df9fcec1a": { "command": "uvx", "args": [ "--from", "otgate==0.1.1", "otgate" ], "env": { "OTGATE_BACKEND": "${ENV_OTGATE_BACKEND}", "OTGATE_POLICY": "${ENV_OTGATE_POLICY}", "OTGATE_AUDIT": "${ENV_OTGATE_AUDIT}", "OTGATE_SHADOW": "${ENV_OTGATE_SHADOW}", "OTGATE_RATE_HISTORY": "${ENV_OTGATE_RATE_HISTORY}", "OTGATE_OPCUA_ENDPOINT": "${ENV_OTGATE_OPCUA_ENDPOINT}" } } }, "setup": { "fields": [ { "id": "ENV_OTGATE_BACKEND", "label": "OTGATE_BACKEND", "description": "Backend 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.", "required": false, "secret": false, "default": "fake" }, { "id": "ENV_OTGATE_POLICY", "label": "OTGATE_POLICY", "description": "Path to the policy YAML. Any tag not listed in it is denied by default.", "required": false, "secret": false, "default": "examples/reactor_policy.yaml" }, { "id": "ENV_OTGATE_AUDIT", "label": "OTGATE_AUDIT", "description": "Path to the append-only JSONL audit log. Every call, allowed or not, produces exactly one line.", "required": false, "secret": false, "default": "audit.jsonl" }, { "id": "ENV_OTGATE_SHADOW", "label": "OTGATE_SHADOW", "description": "Set to 1 to run in shadow mode: allowed writes are recorded as 'WOULD execute' and never reach the backend. Use this to watch an agent for a while before letting it touch anything.", "required": false, "secret": false, "default": "" }, { "id": "ENV_OTGATE_RATE_HISTORY", "label": "OTGATE_RATE_HISTORY", "description": "Path to a JSONL file that keeps the rate-of-change time base across restarts. Without it a restart loses the time base, and rate limits fall back to a one-interval allowance.", "required": false, "secret": false, "default": "" }, { "id": "ENV_OTGATE_OPCUA_ENDPOINT", "label": "OTGATE_OPCUA_ENDPOINT", "description": "OPC UA endpoint, e.g. opc.tcp://localhost:4840. Required when OTGATE_BACKEND=asyncua.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.alikup-ai/otgate-opcua", "registryVersion": "0.1.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.alikup-ai%2Fotgate-opcua/versions/0.1.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "otgate", "version": "0.1.1", "wheelSha256": "ce05b8ad06249d649a437729122f5076cac1b3e27a1a73425b6081b8e209060a", "registryNameMatched": "io.github.alikup-ai/otgate-opcua", "checkedAt": "2026-11-07T15:18:56.997Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }