360 Secure SkillHub
360 安全技能中心

Mtconnect Tap

通过 ot-aiops MCP 服务器以只读方式读取 MTConnect agent 暴露的 CNC 机床数据:探测设备模型、读取当前值、拉取有界样本流、列出刀具/程序等资产,并给出 OEE 输入快照(可用性/执行状态/控制器模式/程序/判定)。按规范 MTConnect 只读;基于静态 XML 样例验证,非真实 agent 实测。不覆盖 OPC-UA、Modbus、Siemens、Mitsub…

zw008
zw008
热度 16.02
最近更新 2026-06-28 14:48:38
分类:数据依赖:MCP 服务 / 第三方 API应用场景:数据处理 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mtconnect-tap
Metadata
name
mtconnect-tap
description
Read CNC machine tools via MTConnect (the royalty-free standard for ALL machine tools — Fanuc/Siemens/Haas/Mazak/Okuma controllers with an agent). Probe the device model, read current values, pull a bounded sample stream, list assets (cutting tools/programs), and get an OEE-inputs snapshot (availability/execution /mode/program). Use when the task names MTConnect, a CNC/machine-tool agent, or an agent REST URL. Routes to the ot-aiops MCP server. Read-only by spec. For OPC-UA/Modbus/Siemens/Mitsubishi/MQTT use the sibling *-tap skills; not for IT/network gear, Kubernetes, hypervisors, or backups.

mtconnect-tap

Read-only CNC machine-tool telemetry via the ot-aiops MCP server. MTConnect is read-only by specification (HTTP REST + XML). Preview — validated against static XML fixtures, NOT a live agent.

When to use

  • A machine tool exposing an MTConnect agent (agent_url, e.g. http://host:5000).
  • Discover the device model, read current/sample values, OEE inputs, assets.

When NOT to use (routing)

  • OPC-UA → opcua-tap; Modbus → modbus-tap; Siemens → s7-tap; Mitsubishi → mc-tap; MQTT/UNS → sparkplug-tap; cross-protocol triage → industrial-diagnostics. IT/network/Kubernetes/hypervisor/backup → not this tool.

Tools (all read-only)

Tool Params Returns
mtconnect_probe endpoint? {devices:[{name,uuid,components:[{component,data_items:[{id,type,category,units}]}]}]}
mtconnect_current endpoint? {observations:[{data_item_id,type,name,timestamp,value}]}
mtconnect_sample endpoint?, count=100 {observation_count, observations:[...]} (bounded)
mtconnect_assets endpoint? {assets:[{asset_type,asset_id,timestamp}]}
mtconnect_oee_snapshot endpoint? {availability, execution, controller_mode, program, available, running, verdict}

Call mtconnect_probe first to learn dataItem ids/types, then read values.

Example

mtconnect_oee_snapshot(endpoint="vmc1") → {"availability":"AVAILABLE","execution":"ACTIVE","program":"O1234","verdict":"running"}

Setup

ot-aiops init (mtconnect: agent_url) · ot-aiops doctor · ot-aiops mcp. Test against the public MTConnect demo agent. mtconnect_oee_snapshot surfaces OEE inputs — full OEE % needs planned-time + ideal-cycle context the standard does not expose. 缺功能提 issue/PR 欢迎留言.