Install
$ agentstack add mcp-mihai-dinculescu-tapo β scanned Β· β verified, works with Claude Code, Cursor, and more.
Security review
β PassedNo issues found. Passed automated security review. Β· v0.1.0 How review works β
- β Prompt-injection patterns
- β Secret / credential exfiltration
- β Dangerous shell & filesystem operations
- β Untrusted network calls
- β Known-malicious package signatures
What it can access
- β Network access No
- β Filesystem access No
- β Shell / process execution No
- β Environment & secrets No
- β Dynamic code execution No
From automated source analysis of v0.1.0. βUsedβ means the capability is present in the source β more access means more to trust, not that itβs unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work βAbout
Tapo
[![License][licensebadge]][license] [![Crates][cratesbadge]][crates] [![Documentation][cratesdocumentationbadge]][cratesdocumentation] [![Crates.io][cratesdownloadsbadge]][crates] [![PyPI][pypibadge]][pypi] [![Python][pypiversionsbadge]][pypi] [![PyPI][pypidownloadsbadge]][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).
[licensebadge]: https://img.shields.io/crates/l/tapo.svg [license]: https://github.com/mihai-dinculescu/tapo/blob/main/LICENSE [cratesbadge]: https://img.shields.io/crates/v/tapo.svg?logo=rust&color=F75101 [crates]: https://crates.io/crates/tapo [cratesdocumentationbadge]: https://img.shields.io/docsrs/tapo.svg?logo=rust&color=F75101 [cratesdocumentation]: https://docs.rs/tapo [cratesdownloads_badge]: https://img.shields.io/crates/d/tapo?logo=rust&label=downloads&color=F75101
[pypibadge]: https://img.shields.io/pypi/v/tapo.svg?logo=pypi&color=00ADD4 [pypi]: https://pypi.org/project/tapo [pypiversionsbadge]: https://img.shields.io/pypi/pyversions/tapo.svg?logo=python&color=00ADD4 [pypidownloads_badge]: https://img.shields.io/pypi/dm/tapo?logo=python&color=00ADD4
Supported Devices
See [/SUPPORTEDDEVICES.md][supporteddevices] for the supported devices and feature matrix.
Rust Library
Usage
> Cargo.toml
[dependencies]
tapo = "0.9"
> main.rs
let device = ApiClient::new("", "tapo-password")
.p110("")
.await?;
device.on().await?;
Examples
export TAPO_USERNAME=
export TAPO_PASSWORD=
export IP_ADDRESS=
cargo run --example tapo_l530
See all examples in [/tapo/examples][examples].
Python Library
Usage
pip install tapo
client = ApiClient("", "tapo-password")
device = await client.p110("")
await device.on()
Examples
cd tapo-py
uv venv # On the initial run only
uv sync --group dev --locked
uv run maturin develop # On the initial run and whenever the Rust code is modified
export TAPO_USERNAME=
export TAPO_PASSWORD=
export IP_ADDRESS=
uv run python examples/tapo_p110.py
See all examples in [/tapo-py/examples][examples-py].
MCP Server
An MCP server that exposes Tapo devices as AI-callable tools and resources via the Model Context Protocol. See [/tapo-mcp/README.md][tapomcp] for setup and usage.
Community Projects
- [tapo-rest][tapo_rest] β a REST wrapper of this library that can be deployed as a service or serve as an advanced example.
Contributing
Contributions are welcome and encouraged! See [/CONTRIBUTING.md][contributing].
Credits
Inspired by [petretiandrea/plugp100][inspired_by].
[supporteddevices]: https://github.com/mihai-dinculescu/tapo/blob/main/SUPPORTEDDEVICES.md [examples]: https://github.com/mihai-dinculescu/tapo/tree/main/tapo/examples [examples-py]: https://github.com/mihai-dinculescu/tapo/tree/main/tapo-py/examples [tapomcp]: https://github.com/mihai-dinculescu/tapo/tree/main/tapo-mcp [taporest]: https://github.com/ClementNerma/tapo-rest [contributing]: https://github.com/mihai-dinculescu/tapo/blob/main/CONTRIBUTING.md [inspired_by]: https://github.com/petretiandrea/plugp100
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source β we do not rehost the code.
- Author: mihai-dinculescu
- Source: mihai-dinculescu/tapo
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.