tapo

MCP.Pizza Chef: mihai-dinculescu

This connects your TP-Link Tapo smart home devices — light bulbs, light strips, plugs, power strips, hubs, switches, and sensors — to your AI assistant so it can check their status and turn them on, off, or adjust them on request. It works in any app that supports the Model Context Protocol, such as Claude Desktop or Cursor. You will need your existing Tapo account username and password along with each device's local network address, and setup involves installing a small package and running it as a local server.

Other

Use This MCP server To

Turn a smart light or plug on or off Dim the lights or change their color Check whether a device is currently powered on Control individual outlets on a smart power strip Get the latest reading from a temperature or motion sensor Check the status of a smart switch Turn off multiple lights or plugs at once

README

Tapo

License Crates Documentation Crates.io PyPI Python PyPI
Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L535, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P110M, P115), power strips (P300, P304M, P306, P316M), hubs (H100), switches (S200B, S200D, S210), sensors (KE100, T100, T110, T300, T310, T315) and cameras (C210, C220, C225, C325WB, C520WS, TC40, TC70).

Supported Devices

See /SUPPORTED_DEVICES.md for the supported devices and feature matrix.

Rust Library

Usage

Cargo.toml

[dependencies]
tapo = "0.9"

main.rs

tapo FAQ

Can I use this to turn my smart lights on and off just by asking?
Yes — once it's connected, you can ask your assistant to turn any Tapo bulb, plug, or power strip on or off, and it happens right away.
Can I use this to check a sensor reading, like temperature or motion?
Yes — if you have a Tapo hub with sensors attached, your assistant can pull the latest reading and tell you what it shows.
Which apps does this work in?
It's built on the Model Context Protocol, so it works in any AI app that supports adding MCP tools, such as Claude Desktop, Cursor, or similar assistant apps.
Do I need an account or password to use this?
Yes — you'll need the username and password for your existing Tapo account, plus the local network address of each device you want to control.
How hard is this to set up?
It takes some technical comfort. You'll install a small package on your computer, add your Tapo login details, and connect it to your AI app's settings — there is no one-click install.
Does this handle several types of devices at once?
Yes — it supports light bulbs, light strips, plugs, power strips, hubs, switches, and sensors, so you can manage many devices from one setup.
Will this work with my Tapo security cameras too?
The underlying software recognizes several Tapo camera models, though the assistant tools focus mainly on lights, plugs, switches, and sensors.
Do my devices need to be on the same network as my computer?
Yes — this talks to your Tapo devices directly over your local network, so both your computer and your devices need to be connected to the same network.