← 返回 Skills 市场
243
总下载
2
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install fboxmcp
功能描述
管理 FBox 工业物联网设备。 查看设备在线状态和统计信息,实时读写 PLC 监控点数据,处理和确认设备报警,查询历史采集数据趋势,远程打开 VNC 监控画面。 当用户提到 FBox、盒子、设备状态、LC、监控点、温度/压力/电流等传感器数据、报警告警、历史数据、远程监控、VNC、设备运维时使用此技能。
使用说明 (SKILL.md)
FBox MCP Server 技能
通过 MCP 工具管理 FBox 工业物联网设备。安装和配置详见 README.md。
核心规则
数据真实性
- 所有数据必须来自工具调用的实时返回,禁止凭记忆、推测或编造任何设备信息、数值或状态
- 不得复用之前对话中获取的数据作为当前结果,每次查询必须重新调用工具
- 如果工具调用失败或返回异常,如实告知用户,禁止用虚构数据填充
时间处理
- 服务端所有时间均为 UTC 时间
- 展示给用户时必须转为北京时间(UTC+8),仅精确到秒
- 禁止假设当前时间,必须通过
utc_now工具获取服务器实时时间 - 历史数据和报警历史中的
Timestamp为 UTC 毫秒级时间戳
参数处理
BoxNo(设备序列号)和BoxAlias(设备别名)二选一即可定位设备- 用户说出的设备名称优先作为
BoxAlias传入 - 缺少必填参数时设为
null调用工具,服务端会返回候选列表 - 禁止自动猜测或补全参数,必须从候选列表中让用户选择
在线设备优先
- 除非用户明确说"所有设备"或"离线设备",默认
OnlyOnline = true ConnState为Online或TimedOut视为在线
数据展示
bool值展示为"是"或"否"- 报警历史和历史数据默认以表格形式展示
- 监控点、报警、历史数据条目之间逻辑上没有强制关联性,不要假设名称一致
写操作安全
write_user_box_dmon_value和confirm_current_alarm是写操作- 必须获得用户明确确认后才能执行
- 写入前先读取当前值展示给用户对比
响应格式
所有业务工具返回统一结构:
{
"success": true,
"code": 0,
"message": null,
"data": { "..." },
"suggestedParameters": null
}
| Code | 含义 | 处理方式 |
|---|---|---|
| 0 | 成功 | 解析 data 展示给用户 |
| 300 | 参数需要选择 | 解析 suggestedParameters 候选列表让用户选择,选择后用 value 字段(非 label)重新调用 |
| 400 | 请求错误 | 展示 message 错误信息 |
| 401 | 未认证 | 提示用户检查认证配置 |
| 404 | 未找到 | 提示目标资源不存在 |
| 500 | 服务器错误 | 提示系统异常,建议稍后重试 |
典型工作流
设备状态概览
get_user_box_stats → get_user_box_list(OnlyOnline=true) → get_user_box_info(BoxAlias=xxx)
查看监控点数据
get_user_box_dmon_group_list(BoxAlias=xxx)
→ [如返回 300,让用户选择设备]
get_user_box_dmon_list(BoxNo=xxx, GroupName=xxx)
→ [如返回 300,让用户选择分组]
get_user_box_dmon_value(BoxNo=xxx, GroupName=xxx, Name=xxx)
处理设备报警
get_user_box_stats → 确认存在报警
get_current_alarm_list(BoxAlias=xxx) → 展示当前报警
confirm_current_alarm(BoxNo=xxx, AlarmName=xxx) → 用户确认后执行
查询历史趋势
utc_now → 获取服务器时间
get_history_data_define_list(BoxAlias=xxx) → 了解可查数据
get_history_data_list(BoxNo=xxx, ItemName=xxx, BeginTime=..., EndTime=...)
→ 以表格形式展示,时间转北京时间
写入监控点
get_user_box_dmon_value → 读取当前值展示给用户
→ 用户确认 "将 [监控点] 从 [当前值] 修改为 [目标值]"
write_user_box_dmon_value(Confirmed=true)
安全使用建议
This skill appears to be what it claims: an MCP-based controller for FBox devices that needs a single API key. Before installing, verify the MCP server hostname (https://fboxmcp.fbox360.com or your org's host) and that the publisher is trustworthy. Treat FBOXMCP_API_KEY as highly sensitive — it can read device state, write PLC points, confirm alarms, and open VNC sessions. Recommendations: obtain the key from your platform administrator, use a least-privilege API key if supported, avoid using a long-lived production key during testing, restrict network access to the MCP host, enable logging/monitoring on the account, and rotate keys regularly. If you operate safety-critical equipment, test actions in a sandbox or on non-production devices first and ensure human confirmation for any write/actuation operations.
功能分析
Type: OpenClaw Skill
Name: fboxmcp
Version: 0.1.3
The fboxmcp skill bundle provides a comprehensive interface for managing FBox industrial IoT devices via the Model Context Protocol (MCP). It includes tools for monitoring PLC data, handling alarms, and accessing remote VNC screens, all pointing to the legitimate domain fbox360.com. The SKILL.md file contains robust safety instructions for the AI agent, specifically mandating explicit user confirmation and pre-read checks before performing any write operations (e.g., write_user_box_dmon_value), which mitigates the inherent risks of industrial control system interaction.
能力评估
Purpose & Capability
Name/description match the requested resources and operations. Requesting FBOXMCP_API_KEY is appropriate for a remote MCP server. No unrelated environment variables, binaries, or install artifacts are requested.
Instruction Scope
SKILL.md and reference docs instruct only to call the FBox MCP Server tools and to follow conservative rules (no fabrication, require confirmation for writes, use utc_now, present candidate lists). There are no instructions to read local secrets, arbitrary files, or to exfiltrate data to third-party endpoints outside the documented MCP host.
Install Mechanism
No install spec or remote downloads — the skill is instruction-only. This minimizes disk-write/remote code risks.
Credentials
Only one env var (FBOXMCP_API_KEY) is required, which is proportionate to the stated API-based integration. Important caveat: the API key appears long-lived and can enable sensitive operations (writing PLC points, confirming alarms, opening VNC). Although requested appropriately, the credential is high-privilege for operational safety and should be protected, scoped, and rotated.
Persistence & Privilege
Skill is not 'always: true' and is user-invocable. There is no install-time modification of other skills or system-wide settings described. Autonomous invocation is allowed by default (platform norm) but not combined with any special persistent privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fboxmcp - 安装完成后,直接呼叫该 Skill 的名称或使用
/fboxmcp触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
- Version bumped to 0.1.3.
- Added INSTALL.md and README.md for setup and usage instructions.
- Updated skill rules: now explicitly requires real-time tool data, forbids using prior or assumed information in responses.
- Usage instructions in SKILL.md now direct users to the new README.md.
- General documentation improvements and restructuring.
v0.1.2
Initial release
v0.1.1
Initial release
v0.1.0
Initial release
元数据
常见问题
FBoxMCP 是什么?
管理 FBox 工业物联网设备。 查看设备在线状态和统计信息,实时读写 PLC 监控点数据,处理和确认设备报警,查询历史采集数据趋势,远程打开 VNC 监控画面。 当用户提到 FBox、盒子、设备状态、LC、监控点、温度/压力/电流等传感器数据、报警告警、历史数据、远程监控、VNC、设备运维时使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 243 次。
如何安装 FBoxMCP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fboxmcp」即可一键安装,无需额外配置。
FBoxMCP 是免费的吗?
是的,FBoxMCP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
FBoxMCP 支持哪些平台?
FBoxMCP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 FBoxMCP?
由 wwbgo(@wwbgo)开发并维护,当前版本 v0.1.3。
推荐 Skills