开源MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
将任何OPC UA服务器转换为i3X兼容的REST和MCP启用API,使用OpenA
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
将任何OPC UA服务器转换为i3X兼容的REST和MCP启用API,使用OpenA
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/AndreasHeine/i3x2ua
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp--": {
"command": "npx",
"args": ["-y", "i3x2ua"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具 执行以下任务... Claude: [自动调用 开源MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp__": {
"command": "npx",
"args": ["-y", "i3x2ua"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
| Requirement | Implementation |
|---|---|
| TLS (HTTPS) for all client-facing traffic | nginx ssl_certificate + ssl_certificate_key |
| Client authentication (API key / OAuth / mTLS) | nginx auth_request or satisfy any directives |
| Rate limiting | nginx limit_req_zone |
| Access logging | nginx access_log |
See the NGINX configuration reference and HTTPS guide for details.
Quickstart (Docker image):
docker run -d --name i3x2ua-master -p 8080:8000 -e I3X_ENABLE_MCP=1 -e I3X_OPCUA_ENDPOINT=opc.tcp://opcua.umati.app:4843 ghcr.io/andreasheine/i3x2ua:master
Multiline (bash):
docker run -d \
--name i3x2ua-master \
-p 8080:8000 \
-e I3X_ENABLE_MCP=1 \
-e I3X_OPCUA_ENDPOINT=opc.tcp://opcua.umati.app:4843 \
ghcr.io/andreasheine/i3x2ua:master
Run with compose:
docker compose up -d
Build your own image with an explicit server version for /v1/info:
docker build --build-arg BUILD_VERSION=1.1.0 -t i3x2ua:1.1.0 .
If BUILD_VERSION is not set, the API falls back to master.
The stack now starts the API behind an nginx reverse proxy. The app container stays internal, while nginx exposes HTTP and optional HTTPS.
The default compose setup also enables container hardening (read_only, tmpfs, dropped Linux capabilities, no-new-privileges).
Optional environment variables:
I3X_ENABLE_MCP=1 to enable MCP support; it is disabled by defaultI3X_OPCUA_CERTS_DIR=./certs to mount OPC UA client/server certificate files into the app container (/app/certs)NGINX_HTTPS_ENABLED=1 to enable TLS terminationNGINX_SSL_CERTS_DIR=./certs with fullchain.pem and privkey.pemNGINX_BASIC_AUTH_ENABLED=1 with NGINX_BASIC_AUTH_USER and NGINX_BASIC_AUTH_PASSWORDNGINX_SERVER_NAME for the public host nameIf you enable HTTPS, mount or place the certificate files in the configured cert directory before starting Compose.
If your OPC UA server runs on the Docker host machine, set I3X_OPCUA_ENDPOINT to opc.tcp://host.docker.internal:<port> instead of 127.0.0.1.
For local HTTPS testing with the nginx reverse proxy, generate sample certificates:
uv run python scripts/generate_https_dev_cert.py
Then use these environment values:
NGINX_HTTPS_ENABLED=1NGINX_SSL_CERTS_DIR=./certsNGINX_SSL_CERTIFICATE=/etc/nginx/certs/https-sample/fullchain.pemNGINX_SSL_CERTIFICATE_KEY=/etc/nginx/certs/https-sample/privkey.pemThis application implements the i3X API specification and is designed to run behind a reverse proxy that is responsible for:
Requirements:
Install dependencies:
uv sync --extra dev
Start API:
uv run uvicorn i3x_server.main:app --reload --host 127.0.0.1 --port 8000
Start without OPC UA server (PowerShell):
$env:I3X_SKIP_OPCUA_CONNECT="1"
uv run uvicorn i3x_server.main:app --reload --host 127.0.0.1 --port 8000
Enable MCP support explicitly when you want the /mcp endpoints and MCP tool catalog to be available:
$env:I3X_ENABLE_MCP="1"
uv run uvicorn i3x_server.main:app --reload --host 127.0.0.1 --port 8000
If you do not set I3X_ENABLE_MCP, the app starts without MCP support and /mcp returns 404.
Use encrypted OPC UA with the included sample client certificate (development/testing):
uv run python scripts/generate_opcua_client_cert.py
$env:I3X_OPCUA_SECURITY_MODE="SignAndEncrypt"
$env:I3X_OPCUA_SECURITY_POLICY="Basic256Sha256"
$env:I3X_OPCUA_CLIENT_CERT_PATH="./certs/opcua-client-sample/client-cert.pem"
$env:I3X_OPCUA_CLIENT_KEY_PATH="./certs/opcua-client-sample/client-key.pem"
uv run uvicorn i3x_server.main:app --reload --host 127.0.0.1 --port 8000
The OPC UA server may require manually trusting the sample client certificate before the secure session can be established.
If you create your own OPC UA client certificates, ensure they include OPC UA-compatible SAN and key usage fields (application URI, DNS names, clientAuth EKU, and signing/encipherment key usages) and match the server's exposed security mode/policy.
OpenAPI/Swagger:
FastAPI gateway implementing the i3X API over OPC UA — exposes OPC UA address spaces as standardized REST and MCP endpoints with JSON responses, OpenAPI docs, and Server-Sent Event subscriptions. Built for teams that do not have deep OPC UA expertise.

Active endpoints are exposed under /v1 for:
/info, /namespaces, /objecttypes, /relationshiptypes)/objecttypes/query, /relationshiptypes/query)/objects, /objects/list, /objects/related, /objects/value, /objects/history)/subscriptions, /subscriptions/register, /subscriptions/unregister, /subscriptions/sync, /subscriptions/list, /subscriptions/delete, /subscriptions/stream)Current scope emphasis: this implementation currently prioritizes read/query/subscribe operations.
Optional MCP endpoints are exposed only when I3X_ENABLE_MCP=1:
/mcp, /mcp/tools)/mcp, /mcp/call)MCP scope emphasis: the MCP bridge is currently focused on tool calling (initialize, tools/list, tools/call) for the current implementation scope.
Value/history recursion follows only the composition plane (HasComponent / ComponentOf). Hierarchy edges (HasChildren / HasParent) are used for structure/navigation and root selection, not for value recursion.
| Request | Traversal behavior |
|---|---|
maxDepth = 1 | No recursion. Return only the requested element's value/history payload. |
maxDepth = 2 | Include direct composition children only. |
maxDepth = n (>1) | Include composition descendants up to depth n-1 from the root query element. |
maxDepth = 0 | Unlimited recursion across composition descendants. |
Example:
Plant -> Line -> PumpPump -> Temperature, Pump -> PressurePOST /objects/value for Plant with maxDepth = 0 does not include Pump values via hierarchy. POST /objects/value for Pump with maxDepth = 0 includes Temperature and Pressure as components.
POST /objects/related returns relationships across all three planes (hierarchy, composition, and graph) for each requested element.
该项目提供了一个开源的MCP工具,用于转换OPC UA服务器为i3X兼容API,使用OpenA进行开发,值得关注
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,开源MCP工具 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | i3x2ua |
| Topics | i3xmcpopc-uapython |
| GitHub | https://github.com/AndreasHeine/i3x2ua |
| License | NOASSERTION |
| 语言 | Python |
收录时间:2026-06-13 · 更新时间:2026-06-13 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端