ワンクリックで
tapo
// Control TP-Link Tapo smart home devices (lights, plugs, power strips, hubs and sensors, cameras) via [Tapo MCP](https://github.com/mihai-dinculescu/tapo/tree/main/tapo-mcp).
// Control TP-Link Tapo smart home devices (lights, plugs, power strips, hubs and sensors, cameras) via [Tapo MCP](https://github.com/mihai-dinculescu/tapo/tree/main/tapo-mcp).
Release a new version of the OpenClaw skill in `tapo-mcp/openclaw-skill/` by bumping its version, committing, and publishing via `npx clawhub`
Run Rust/Python/MCP checks, fix issues, then summarize findings before committing
Create a signed git commit following Conventional Commits, after running /pre-commit and /changelog when appropriate
Release a new version of the tapo (Rust) and tapo-py (Python) crates together, sharing the same version number
Bump maturin to the latest release and regenerate `.github/workflows/tapo-py.yml`, preserving local customizations
Update CHANGELOG.md when the public API of the tapo (Rust), tapo-py (Python), or tapo-mcp (MCP) crates changes
| name | tapo |
| description | Control TP-Link Tapo smart home devices (lights, plugs, power strips, hubs and sensors, cameras) via [Tapo MCP](https://github.com/mihai-dinculescu/tapo/tree/main/tapo-mcp). |
| version | 0.4.1 |
| metadata | {"openclaw":{"emoji":"📦","requires":{"bins":["npx"]}}} |
Control Tapo devices using npx mcporter call tapo.<tool>.
You need a Tapo MCP server (v0.4.0 or later) running on your network (HTTP transport). Bearer token auth is recommended.
Add the Tapo server:
npx mcporter config add tapo http://<TAPO_MCP_IP> \
--transport http \
--header "Authorization=Bearer <YOUR_TOKEN>" \
--scope home
Verify:
npx mcporter list tapo --schema
You should see list_devices, check_device, get_device_state, control_device, and take_snapshot.
See references/setup.md for the full walkthrough, config management, and troubleshooting.
List all Tapo devices on the network.
npx mcporter call tapo.list_devices
Returns each device's id, name, model, ip, set_capabilities, get_capabilities, and children (for power strips and the H100 hub).
Verify a device ID matches at a given IP.
npx mcporter call tapo.check_device id="<DEVICE_ID>" ip="<IP>"
Get a device's current state. Automatically runs check_device first.
# Device info
npx mcporter call tapo.get_device_state id="<DEVICE_ID>" ip="<IP>" capability='{"type": "DeviceInfo"}'
# Trigger logs (S200, T100, T110, T300 hub children) — newest first
npx mcporter call tapo.get_device_state id="<CHILD_ID>" ip="<HUB_IP>" capability='{"type": "TriggerLogs", "page_size": 20, "start_id": 0}'
# Last 24h temperature/humidity records (T310, T315 hub children)
npx mcporter call tapo.get_device_state id="<CHILD_ID>" ip="<HUB_IP>" capability='{"type": "TemperatureHumidityRecords"}'
Control a device. Automatically runs check_device first.
# Turn on
npx mcporter call tapo.control_device id="<DEVICE_ID>" ip="<IP>" capabilities='[{"type": "OnOff", "value": true}]'
# Turn off
npx mcporter call tapo.control_device id="<DEVICE_ID>" ip="<IP>" capabilities='[{"type": "OnOff", "value": false}]'
# Set brightness (1-100, lights only)
npx mcporter call tapo.control_device id="<DEVICE_ID>" ip="<IP>" capabilities='[{"type": "Brightness", "value": 50}]'
# Set color (color lights only)
npx mcporter call tapo.control_device id="<DEVICE_ID>" ip="<IP>" capabilities='[{"type": "Color", "value": "Coral"}]'
# Set multiple capabilities at once
npx mcporter call tapo.control_device id="<DEVICE_ID>" ip="<IP>" capabilities='[{"type": "Color", "value": "Coral"}, {"type": "Brightness", "value": 50}]'
Capture a still JPEG snapshot from a Tapo camera (~640x360). Automatically runs check_device first. Requires TAPO_MCP_CAMERA_USERNAME and TAPO_MCP_CAMERA_PASSWORD configured on the server (Camera Settings > Advanced Settings > Camera Account in the Tapo app).
npx mcporter call tapo.take_snapshot id="<DEVICE_ID>" ip="<IP>"
list_devices first if you don't have a recent device list. Cache results for up to 30 minutes.id and ip from the list — never guess or hardcopy these values.id. Use the child id with the parent's ip.