i3x2ua
projectother scannedio.github.andreasheine/i3x2ua · v
Turn any OPC UA server into an i3X-compliant REST and MCP Enabled API with OpenAPI docs, JSON, and live SSE streams. No OPC UA expertise required.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
CHANGE_ME: built from the repository's Dockerfile, assuming it serves streamable HTTP at :8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.
# once, as root:
docker build -t mcp-local/i3x2ua:master 'https://github.com/andreasheine/i3x2ua.git#master'
#!/usr/bin/env bash
# i3x2ua (io.github.andreasheine/i3x2ua), recipe docker (generated).
# Generated by Hub for toolset "my-agent"; started by mcp-my-agent-i3x2ua.service.
set -euo pipefail
export HOST=127.0.0.1 PORT=8101
exec docker run --rm --name mcp-my-agent-i3x2ua -p 127.0.0.1:${PORT}:8000 mcp-local/i3x2ua:master
[Unit]
Description=MCP server i3x2ua (toolset my-agent), generated by Hub
After=network-online.target docker.service
Wants=network-online.target
[Service]
Type=simple
User=mcp
Group=mcp
SupplementaryGroups=docker
EnvironmentFile=/etc/mcp/my-agent.env
Environment=HOME=/var/lib/mcp/i3x2ua
WorkingDirectory=/var/lib/mcp/i3x2ua
ExecStart=/opt/mcp/my-agent/bin/i3x2ua.sh
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/mcp/i3x2ua
[Install]
WantedBy=multi-user.target
generated from the record, not tested yet
CHANGE_ME: built from the repository's Dockerfile, assuming it serves streamable HTTP at :8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.
docker build -t i3x2ua 'https://github.com/andreasheine/i3x2ua.git#master' docker run --rm -p 127.0.0.1:8101:8000 i3x2ua
generated from the record, not tested yet
CHANGE_ME: built from the repository's Dockerfile, assuming it serves streamable HTTP at :8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.
# Generated by Hub for toolset "my-agent" (2026-10-19T15:02:21+00:00).
# Each package server runs behind a stdio->HTTP bridge and listens on localhost only.
# cp .env.example .env # fill the ${VAR}s
# docker compose up -d && bash smoke.sh
# Remote servers are not here: clients reach them directly (see clients/).
name: mcp-my-agent
services:
i3x2ua:
build:
context: https://github.com/andreasheine/i3x2ua.git#master
ports:
- 127.0.0.1:8101:8000
restart: unless-stopped
x-note: 'CHANGE_ME: built from the repository''s Dockerfile, assuming it serves streamable HTTP at
:8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.'
volumes:
npm-cache: {}
uv-cache: {}
generated from the record, not tested yet
CHANGE_ME: built from the repository's Dockerfile, assuming it serves streamable HTTP at :8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.
# Generated by Hub for toolset "my-agent" (2026-10-19T15:02:21+00:00).
# kubectl create namespace mcp
# kubectl -n mcp create secret generic mcp-credentials --from-env-file=.env
# kubectl apply -f kubernetes.yaml
# Services are cluster-internal: <name>.mcp.svc.cluster.local:8000/mcp. Put an ingress
# with auth in front before exposing any of them.
apiVersion: v1
kind: Namespace
metadata:
name: mcp
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: i3x2ua
namespace: mcp
labels: &id001
app: i3x2ua
spec:
replicas: 1
selector:
matchLabels: *id001
template:
metadata:
labels: *id001
spec:
containers:
- name: i3x2ua
image: CHANGE_ME
ports:
- containerPort: 8000
name: http
env: []
---
apiVersion: v1
kind: Service
metadata:
name: i3x2ua
namespace: mcp
spec:
selector:
app: i3x2ua
ports:
- port: 8000
targetPort: http
name: http
generated from the record, not tested yet
CHANGE_ME: built from the repository's Dockerfile, assuming it serves streamable HTTP at :8000/mcp. Nothing has run this yet; the worker replaces it with a tested recipe.
# Generated by Hub for toolset "my-agent" (2026-10-19T15:02:21+00:00).
# Credentials come from the Secret 'mcp-credentials' (kubectl create secret generic ... --from-env-file=.env).
# Each server under `servers` is one Deployment + Service; the keys after it configure
# upstream charts a worker verified.
servers:
i3x2ua:
enabled: true
replicas: 1
port: 8000
path: /mcp
container:
name: i3x2ua
image: CHANGE_ME
ports:
- containerPort: 8000
name: http
env: []
# helm install my-agent helm/my-agent -n mcp
Scanned github.com/andreasheine/i3x2ua at 810ca582ca10 with [email protected][email protected] on 2026-10-19 before the build: 2 dependencies, 2 known vulnerabilities (1 high, 1 medium), nothing in the code that looks malicious.
in the cloud
one click: the provider's deploy form opens filled in, in your own account- koyeb
-
Clients connect to the service's https://…koyeb.app address plus /mcp.
- cloud run
-
Cloud Shell clones the repository, builds its Dockerfile and deploys it to Cloud Run.
Cloud Run sends requests to $PORT (8080); the recipe expects :8000, so the server has to read PORT, or set the container port on the service afterwards.
connect to it
copy what your client needs{
"mcpServers": {
"i3x2ua": {
"command": "CHANGE_ME",
"args": []
}
}
}
#!/usr/bin/env bash # Registers every server with Claude Code (run once; `claude mcp list` to check). set -euo pipefail set -a; [ -f .env ] && source .env; set +a claude mcp add i3x2ua -- CHANGE_ME
{
"mcpServers": {
"i3x2ua": {
"command": "CHANGE_ME",
"args": []
}
}
}
{
"servers": {
"i3x2ua": {
"type": "stdio",
"command": "CHANGE_ME",
"args": []
}
}
}
name: my-agent target: local servers: - hub: io.github.andreasheine/i3x2ua
- not probed yet: tools unpinned, ingest lists them
- no tested recipe for target 'local' yet: build it from https://github.com/AndreasHeine/i3x2ua by hand, or wait for the worker
tools
Probe result: faileddocker: the container exited: asyncio.exceptions.CancelledError | Traceback (most recent call last): | …h original_context(app) as maybe_original_state: ~~~~~~~~~~~~~~~~^^^^^ File "/usr/local/lib/python3.15/contextlib.py", line 276, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/app/i3x_server/bootstrap/app_factory.py", line 313, in lifespan await opcua_client.connect() File "/app/i3x_server/infrastructure/opcua/client.py", line 473, in connect await self._client.connect( ...<3 lines>... ) File "/app/.venv/lib/python3.15/site-packages/asyncua/client/client.py", line 461, in connect await self._connect_sequence() File "/app/.venv/lib/python3.15/site-packages/asyncua/client/client.py", line 473, in _connect_sequence await self.connect_socket() File "/app/.venv/lib/python3.15/site-packages/asyncua/client/client.py", line 651, in connect_socket await self.uaclient.connect_socket(self.server_url.hostname, self.server_url.port) File "/app/.venv/lib/python3.15/site-packages/asyncua/client/ua_client.py", line 566, in connect_socket await asyncio.wait_for( asyncio.get_running_loop().create_connection(self._make_protocol, host, port), self._timeout ) File "/usr/local/lib/python3.15/asyncio/tasks.py", line 494, in wait_for async with timeouts.timeout(timeout): ~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.15/asyncio/timeouts.py", line 115, in __aexit__ raise TimeoutError from exc_val TimeoutError ERROR: Application startup failed. Exiting.
runs · 1
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-19 10:06 | local-mac-vm | docker | failed | gvisor | docker: the container exited: asyncio.exceptions.CancelledError | Traceback (most recent call last): | …h original_context(app) as maybe_original_state: ~~~~~~~… |