能力标签
🔌
MCP工具

开源MCP工具

基于 Python · 让 AI 助手直接操作你的系统与工具
英文名:i3x2ua
⭐ 6 Stars 💻 Python 📄 NOASSERTION 🏷 AI 7.5分
7.5AI 综合评分
i3xmcpopc-uapython
⚙️ 配置说明
✦ AI Skill Hub 推荐

开源MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

开源MCP工具 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 开源MCP工具,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。开源MCP工具 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 开源MCP工具 评为 AI 评分 7.5 分,属于同类工具中的优质选择。

📋 工具概览

将任何OPC UA服务器转换为i3X兼容的REST和MCP启用API,使用OpenA

开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 6
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
NOASSERTION
AI 综合评分
7.5 分
工具类型
MCP工具
Forks

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

将任何OPC UA服务器转换为i3X兼容的REST和MCP启用API,使用OpenA

开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 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
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 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 生效
📑 README 深度解析 真实文档 完整度 55/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Architecture Overview

flowchart LR subgraph Consumer[Consumer] Client[i3X Client] McpConsumer[AI Agent] end Client <--> |i3X 1.0| Nginx[nginx Reverse Proxy] McpConsumer <--> |optional /mcp JSON-RPC| Nginx Nginx <--> |all app routes| API[FastAPI App i3x_server.main] subgraph App[Application Core] API --> Router[V1 Router /v1] API --> UaRouter[UA Router /ua] API -. optional /mcp .-> McpRouter[MCP Router /mcp] McpRouter -->|generated tools| McpTools[(MCP Tool Catalog)] McpRouter -->|tool calls| Router Router --> Deps[Dependency Layer] Deps --> ModelCache[(Model Cache)] Deps --> SubSvc[i3X Subscription Service] Deps --> OpcClient[OPC UA Client] API --> Ui[Landing + viewers / / /docs /view /mcp-tools-viewer] subgraph Model[Model Layer] Builder[Model Builder] --> Mapper[Node Mapper] Mapper --> BuildResult[BuildResult Indexes] BuildResult --> ModelCache end end OpcClient -->|browse tree + metadata| Builder OpcClient -->|read values/history| Router OpcClient -->|connection/state/limits/metrics| UaRouter OpcClient <-->|OPC UA binary protocol| UaServer[(External OPC UA Server)] UaServer -->|address space browse + read + history + events| OpcClient Router -.->|write endpoints currently not implemented| OpcClient Router -->|object/value/history responses| Nginx UaRouter -->|operational state and limits| Nginx Ui -->|HTML pages and docs links| Nginx Router -->|create/register/sync/list/delete/stream| SubSvc SubSvc -->|native subscription when limits allow| OpcClient SubSvc -->|polling fallback| OpcClient SubSvc -->|SSE updates| Router Router -->|text/event-stream| Nginx
sequenceDiagram participant C as Client participant R as /v1 Router participant D as Dependencies participant M as Model Cache/Builder participant O as OPC UA Client participant U as OPC UA Server participant S as i3X Subscription Service Note over C,R: Read current values C->>R: POST /v1/objects/value R->>D: get_or_build_model() D->>M: cache hit? else build() M-->>D: BuildResult R->>O: read_values(node_ids) O->>U: Read/Browse requests U-->>O: values + metadata O-->>R: values R-->>C: bulk success/error envelope Note over C,R: Streaming subscription C->>R: POST /v1/subscriptions R->>S: create_subscription() S-->>R: subscriptionId R-->>C: success C->>R: POST /v1/subscriptions/register R->>S: register_items(elementIds,maxDepth) S->>O: native subscribe OR polling loop O->>U: MonitoredItems or periodic reads U-->>O: data changes O-->>S: normalized updates C->>R: POST /v1/subscriptions/stream R->>S: wait_for_updates(afterSequence) S-->>R: sequence updates R-->>C: SSE data events + keepalive Note over C,R: Write API paths exist in spec but can return 501 when optional update operations are not implemented

Required reverse proxy responsibilities for strict i3X compliance

RequirementImplementation
TLS (HTTPS) for all client-facing trafficnginx ssl_certificate + ssl_certificate_key
Client authentication (API key / OAuth / mTLS)nginx auth_request or satisfy any directives
Rate limitingnginx limit_req_zone
Access loggingnginx access_log

See the NGINX configuration reference and HTTPS guide for details.

Docker

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 default
  • I3X_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 termination
  • NGINX_SSL_CERTS_DIR=./certs with fullchain.pem and privkey.pem
  • NGINX_BASIC_AUTH_ENABLED=1 with NGINX_BASIC_AUTH_USER and NGINX_BASIC_AUTH_PASSWORD
  • NGINX_SERVER_NAME for the public host name

If 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=1
  • NGINX_SSL_CERTS_DIR=./certs
  • NGINX_SSL_CERTIFICATE=/etc/nginx/certs/https-sample/fullchain.pem
  • NGINX_SSL_CERTIFICATE_KEY=/etc/nginx/certs/https-sample/privkey.pem

Production Deployment and i3X Strict Compliance

This application implements the i3X API specification and is designed to run behind a reverse proxy that is responsible for:

  • TLS termination — the app itself serves plain HTTP; all HTTPS is handled by nginx.
  • Authentication and authorization — the app has no built-in auth layer; token validation, basic auth, or mTLS are enforced at the proxy level.

Quick Start

Requirements:

  • Python 3.10 to 3.12
  • uv
  • Optional: running OPC UA server

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:

  • http://127.0.0.1:8000/openapi.json
  • http://127.0.0.1:8000/docs

The i3X API Gateway for OPC UA — REST, MCP & Real-Time Streaming

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.

Container Build Quality Checks Coverage Dependabot Updates Dependency Graph

i3X Logo

API Surface

Active endpoints are exposed under /v1 for:

  • info and metadata (/info, /namespaces, /objecttypes, /relationshiptypes)
  • filtered type queries (/objecttypes/query, /relationshiptypes/query)
  • object queries and values (/objects, /objects/list, /objects/related, /objects/value, /objects/history)
  • subscriptions (/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:

  • discovery and tool catalog (/mcp, /mcp/tools)
  • JSON-RPC and tool call entry points (/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.

maxDepth Semantics (Hierarchy vs Composition)

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.

RequestTraversal behavior
maxDepth = 1No recursion. Return only the requested element's value/history payload.
maxDepth = 2Include direct composition children only.
maxDepth = n (>1)Include composition descendants up to depth n-1 from the root query element.
maxDepth = 0Unlimited recursion across composition descendants.

Example:

  • Hierarchy: Plant -> Line -> Pump
  • Composition: Pump -> Temperature, Pump -> Pressure

POST /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.

🎯 aiskill88 AI 点评 A 级 2026-06-13

该项目提供了一个开源的MCP工具,用于转换OPC UA服务器为i3X兼容API,使用OpenA进行开发,值得关注

⚡ 核心功能

👥 适合人群

Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师

🎯 使用场景

  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站

⚖️ 优点与不足

✅ 优点
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

解答
💡 AI Skill Hub 点评

经综合评估,开源MCP工具 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
📚 深入学习 开源MCP工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 i3x2ua
Topics i3xmcpopc-uapython
GitHub https://github.com/AndreasHeine/i3x2ua
License NOASSERTION
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/AndreasHeine/i3x2ua

收录时间:2026-06-13 · 更新时间:2026-06-13 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。