360 Secure SkillHub
360 安全技能中心

Mtconnect Tap

该工具通过ot-aiops MCP服务器,依托MTConnect协议只读获取CNC机床数据。核心功能含探测设备模型、读取当前值、获取样本流、列出资产、生成OEE输入快照。适用于有机床暴露MTConnect agent的场景,不可用于其他工业协议或IT/网络类设备。输入为可选endpoint参数,输出为结构化JSON,需先调用mtconnect_probe了解数据项。

zw008
zw008
热度 16.10
最近更新 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 欢迎留言.