Control TP-Link Tapo smart home devices (lights, plugs, strips) via [Tapo MCP](https://github.com/mihai-dinculescu/tapo/tree/main/tapo-mcp).
Control Tapo devices using mcporter call tapo.<tool>.
You need a Tapo MCP server running on your network (HTTP transport). Bearer token auth is recommended.
Add the Tapo server:
mcporter config add tapo http://<TAPO_MCP_IP> \
--transport http \
--header "Authorization=Bearer <YOUR_TOKEN>" \
--scope home
Verify:
mcporter list tapo --schema
You should see list_devices, check_device, and set_device_state.
See references/setup.md for the full walkthrough, config management, and troubleshooting.
List all Tapo devices on the network.
mcporter call tapo.list_devices
Returns each device's id, name, model, ip, capabilities, and children (for power strips).
Verify a device ID matches at a given IP.
mcporter call tapo.check_device id="<DEVICE_ID>" ip="<IP>"
Turn a device on or off. Automatically runs check_device first.
# Turn on
mcporter call tapo.set_device_state id="<DEVICE_ID>" ip="<IP>" capability='{"OnOff": true}'
# Turn off
mcporter call tapo.set_device_state id="<DEVICE_ID>" ip="<IP>" capability='{"OnOff": false}'
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.ZIP package — ready to use