This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add otgate-opcua \ -- uvx otgate==0.1.1
Environment
OTGATE_BACKEND (optional, not in the config above): 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.OTGATE_POLICY (optional, not in the config above): Path to the policy YAML. Any tag not listed in it is denied by default.OTGATE_AUDIT (optional, not in the config above): Path to the append-only JSONL audit log. Every call, allowed or not, produces exactly one line.OTGATE_SHADOW (optional, not in the config above): 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.OTGATE_RATE_HISTORY (optional, not in the config above): 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.OTGATE_OPCUA_ENDPOINT (optional, not in the config above): OPC UA endpoint, e.g. opc.tcp://localhost:4840. Required when OTGATE_BACKEND=asyncua.We don't run packages, so we can't list this server's tools.