← 返回 Skills 市场
sobdev

IoT Platform Connection

作者 Sobdev · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
297
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install iot-platform
功能描述
[WIP] Guide to connect to Cloud Studio IoT's OpenClaw platform via MCP API. Use when configuring MCP server connections, sending commands to IoT devices, rea...
使用说明 (SKILL.md)

OpenClaw MCP API Connection Guide

🚧 WIP -- This skill is under active development. Details may change as the OpenClaw API stabilizes.

Overview

OpenClaw exposes an MCP (Model Context Protocol) server through its gateway, allowing Claude Code and other MCP clients to interact with IoT devices, read sensor data, and manage channels programmatically.

Prerequisites

  • OpenClaw installed and running (openclaw --version)
  • Gateway daemon active (systemctl --user status openclaw-gateway)
  • Gateway healthy (curl -fsS http://127.0.0.1:18789/healthz)
  • Tailscale configured (for remote access)

Quick Start

1. Verify the Gateway Is Running

curl -fsS http://127.0.0.1:18789/healthz
# Expected: OK

2. Configure MCP Client Connection

Add the OpenClaw MCP server to your Claude Code settings (~/.claude/settings.json or project .claude/settings.json):

{
  "mcpServers": {
    "openclaw": {
      "type": "sse",
      "url": "http://127.0.0.1:18789/mcp"
    }
  }
}

For remote access via Tailscale:

{
  "mcpServers": {
    "openclaw": {
      "type": "sse",
      "url": "http://openclaw-desktop:18789/mcp"
    }
  }
}

3. Verify Connection

Once configured, restart Claude Code and check that the OpenClaw tools appear in the available MCP tools list.

Gateway Modes

Loopback (default)

Gateway binds to 127.0.0.1 only. Accessible from the local machine.

gateway:
  bind: loopback
  port: 18789

Tailscale Serve (tailnet only)

Accessible from any device on your Tailscale network.

gateway:
  bind: loopback
  port: 18789
  tailscale:
    mode: serve

Tailscale Funnel (public with auth)

Publicly accessible with password authentication.

gateway:
  bind: loopback
  port: 18789
  tailscale:
    mode: funnel
  auth:
    mode: password
    password: "your-secure-password"

Available MCP Capabilities (WIP)

These are the expected MCP tools and resources exposed by the gateway:

Tools

Tool Description
openclaw_device_list List connected IoT devices
openclaw_device_command Send a command to a specific device
openclaw_sensor_read Read current sensor data
openclaw_channel_list List configured channels (Telegram, etc.)
openclaw_channel_send Send a message through a channel
openclaw_agent_run Run an agent task on the gateway

Resources

URI Pattern Description
openclaw://devices List of all registered devices
openclaw://devices/{id}/sensors Sensor readings for a device
openclaw://channels Configured communication channels
openclaw://config Current gateway configuration

Troubleshooting

Gateway not responding

systemctl --user restart openclaw-gateway
journalctl --user -u openclaw-gateway -f

MCP connection refused

  1. Verify the gateway is healthy: curl http://127.0.0.1:18789/healthz
  2. Check the port is not blocked: ss -tlnp | grep 18789
  3. For remote access, confirm Tailscale is connected: tailscale status

Authentication errors (funnel mode)

Ensure the password in your MCP config matches the one in ~/.openclaw/gateway.yaml.

Useful Commands

# Gateway management
openclaw doctor              # Run diagnostics
openclaw config list         # Show current config
openclaw channels list       # List channels

# Device interaction (CLI)
openclaw devices list        # List devices
openclaw devices status      # Device health overview

# Logs
journalctl --user -u openclaw-gateway -f

References


OpenClaw — IoT Platform & AI Gateway https://cloudstudioiot.com/

安全使用建议
This appears to be a straightforward configuration guide. Before installing or invoking the skill: 1) Confirm you trust the OpenClaw source (homepage and source are not provided in the registry metadata). 2) Back up any files you may edit (e.g., ~/.claude/settings.json and ~/.openclaw/gateway.yaml) before applying changes. 3) Be cautious if you expose the gateway publicly (Tailscale funnel) — use strong passwords and understand the access implications. 4) If you allow the agent to invoke the skill autonomously, review any future runtime instructions the agent receives so it won't modify configs or read local files without your consent.
功能分析
Type: OpenClaw Skill Name: iot-platform Version: 1.0.1 The skill bundle consists of a metadata file and a documentation guide (SKILL.md) for connecting to an IoT platform via the Model Context Protocol (MCP). It provides standard configuration examples for Claude Code and diagnostic commands (e.g., systemctl, curl, tailscale) intended for legitimate system administration and service verification. No executable code, malicious instructions, or data exfiltration patterns were found.
能力评估
Purpose & Capability
The name/description promise to teach connecting to the OpenClaw MCP gateway; SKILL.md only references local gateway health checks, configuring Claude Code settings, Tailscale for remote access, and OpenClaw CLI/systemd commands. These requirements align with the stated purpose.
Instruction Scope
Runtime instructions are limited to verifying gateway health (curl), editing/adding mcpServers entries in Claude settings, checking systemd/journalctl, and using OpenClaw CLI. It references local config files (~/.claude/settings.json and ~/.openclaw/gateway.yaml) which is appropriate for configuration tasks and does not instruct broad file system access or sending arbitrary data to third parties.
Install Mechanism
There is no install spec and no code files; this is instruction-only, so nothing will be written to disk by the skill itself. That is proportionate and lower risk for this type of guide.
Credentials
The skill declares no required environment variables, credentials, or config paths. The only sensitive item mentioned is a gateway password stored in ~/.openclaw/gateway.yaml, but the doc only advises ensuring configuration matches — it does not request external secrets or unrelated credentials.
Persistence & Privilege
always is false, there is no installation or background persistence requested, and the skill does not ask to modify other skills or global agent settings. Autonomous invocation is allowed by default but the guide itself does not require elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install iot-platform
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /iot-platform 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated the description and guide to clarify this skill is for connecting to Cloud Studio IoT's OpenClaw-Ready platform via the MCP API. - Added references to Cloud Studio IoT and updated branding throughout the documentation. - No changes to functionality; documentation improvements and increased clarity for intended use.
v1.0.0
Version 1.0.0 of the iot skill has been replaced with a new OpenClaw MCP API integration: - Now connects to the OpenClaw IoT platform via its MCP API for device configuration, command dispatch, and channel management. - Provides setup instructions for local and remote (Tailscale) gateway access. - Lists available MCP tools and resource URIs (device list, sensor read, channel functions, and more). - Includes detailed troubleshooting and gateway management steps. - Prior general IoT advice and protocols are no longer present; focus is now on OpenClaw platform connectivity. All to connect to the No-Code IoT Platform Cloud Studio IoT. https://cloudstudioiot.com/
元数据
Slug iot-platform
版本 1.0.1
许可证
累计安装 1
当前安装数 1
历史版本数 2
常见问题

IoT Platform Connection 是什么?

[WIP] Guide to connect to Cloud Studio IoT's OpenClaw platform via MCP API. Use when configuring MCP server connections, sending commands to IoT devices, rea... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 297 次。

如何安装 IoT Platform Connection?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install iot-platform」即可一键安装,无需额外配置。

IoT Platform Connection 是免费的吗?

是的,IoT Platform Connection 完全免费(开源免费),可自由下载、安装和使用。

IoT Platform Connection 支持哪些平台?

IoT Platform Connection 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 IoT Platform Connection?

由 Sobdev(@sobdev)开发并维护,当前版本 v1.0.1。

💬 留言讨论