AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Tapo

mcp-mihai-dinculescu-tapo Β· by mihai-dinculescu

πŸ¦€ Rust API, 🐍 Python API, and πŸ€– MCP Server for TP-Link Tapo smart devices

β€” No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add mcp-mihai-dinculescu-tapo

βœ“ scanned Β· βœ“ verified, works with Claude Code, Cursor, and more.

Security review

βœ“ Passed

No 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.

View the full security report β†’

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-mihai-dinculescu-tapo)

Reliability & compatibility

βœ“ Security review passed
0 installs to date
β€” no reviews yet
● 1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 β†’
Are you the author of Tapo? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.