otgate — OT policy gateway for Cursor
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:Cursor
transport:stdio
runtime:pypi
Install otgate — OT policy gateway in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs