Koskamo

otgate MCP

An OT-aware authorization gateway that sits between an LLM agent and an industrial OPC UA server, applying a process-aware access policy including value ranges, rate limits, and interlocks to every call the agent makes. It intercepts calls to apply policy and record an audit line, addressing OWASP ASI02 Tool Misuse & Exploitation by ensuring agents stay within granted privileges regarding parameter pollution, excessive execution, and unsafe system states.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

otgate MCP logo, by alikup-aiCommunity listingLocal stdioSource reviewed; not executedPublished by alikup-ai
Vendor documentation

What you can do with it

  • Apply value range policies to OPC UA tag writes
  • Enforce rate limits on agent execution frequency
  • Check live interlocks before allowing writes
  • Record audit lines for every agent call

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

otgate 0.1.1

pypi
otgate package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "otgate",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "OTGATE_BACKEND",
      "default": "fake",
      "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."
    },
    {
      "name": "OTGATE_POLICY",
      "default": "examples/reactor_policy.yaml",
      "description": "Path to the policy YAML. Any tag not listed in it is denied by default."
    },
    {
      "name": "OTGATE_AUDIT",
      "default": "audit.jsonl",
      "description": "Path to the append-only JSONL audit log. Every call, allowed or not, produces exactly one line."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    },
    {
      "name": "OTGATE_OPCUA_ENDPOINT",
      "description": "OPC UA endpoint, e.g. opc.tcp://localhost:4840. Required when OTGATE_BACKEND=asyncua."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "otgate-mcp": {
      "command": "uvx",
      "args": [
        "otgate==0.1.1"
      ],
      "env": {
        "OTGATE_BACKEND": "<YOUR_OTGATE_BACKEND>",
        "OTGATE_POLICY": "<YOUR_OTGATE_POLICY>",
        "OTGATE_AUDIT": "<YOUR_OTGATE_AUDIT>",
        "OTGATE_SHADOW": "<YOUR_OTGATE_SHADOW>",
        "OTGATE_RATE_HISTORY": "<YOUR_OTGATE_RATE_HISTORY>",
        "OTGATE_OPCUA_ENDPOINT": "<YOUR_OTGATE_OPCUA_ENDPOINT>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "otgate-mcp": {
      "command": "uvx",
      "args": [
        "otgate==0.1.1"
      ],
      "env": {
        "OTGATE_BACKEND": "<YOUR_OTGATE_BACKEND>",
        "OTGATE_POLICY": "<YOUR_OTGATE_POLICY>",
        "OTGATE_AUDIT": "<YOUR_OTGATE_AUDIT>",
        "OTGATE_SHADOW": "<YOUR_OTGATE_SHADOW>",
        "OTGATE_RATE_HISTORY": "<YOUR_OTGATE_RATE_HISTORY>",
        "OTGATE_OPCUA_ENDPOINT": "<YOUR_OTGATE_OPCUA_ENDPOINT>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "otgate-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "otgate==0.1.1"
      ],
      "env": {
        "OTGATE_BACKEND": "<YOUR_OTGATE_BACKEND>",
        "OTGATE_POLICY": "<YOUR_OTGATE_POLICY>",
        "OTGATE_AUDIT": "<YOUR_OTGATE_AUDIT>",
        "OTGATE_SHADOW": "<YOUR_OTGATE_SHADOW>",
        "OTGATE_RATE_HISTORY": "<YOUR_OTGATE_RATE_HISTORY>",
        "OTGATE_OPCUA_ENDPOINT": "<YOUR_OTGATE_OPCUA_ENDPOINT>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "otgate-mcp": {
      "command": "uvx",
      "args": [
        "otgate==0.1.1"
      ],
      "env": {
        "OTGATE_BACKEND": "<YOUR_OTGATE_BACKEND>",
        "OTGATE_POLICY": "<YOUR_OTGATE_POLICY>",
        "OTGATE_AUDIT": "<YOUR_OTGATE_AUDIT>",
        "OTGATE_SHADOW": "<YOUR_OTGATE_SHADOW>",
        "OTGATE_RATE_HISTORY": "<YOUR_OTGATE_RATE_HISTORY>",
        "OTGATE_OPCUA_ENDPOINT": "<YOUR_OTGATE_OPCUA_ENDPOINT>"
      }
    }
  }
}

Let your agent find its tools

Find servers like otgate MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.