Atlas / MCP servers / mihai-dinculescu / Tapo

TapoCAUTION

mcp/mihai-dinculescu/tapo

🦀 Rust API, 🐍 Python API, and 🤖 MCP Server for TP-Link Tapo smart devices

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
—
Transport
streamable-http
License
MIT
Stars
809
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[![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].

Read from source at commit 50450cb1fafaOBSERVED · 2026-09-27
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (oci)
claude mcp add tapo-mcp:0.5.0 --env TAPO_MCP_USERNAME=${TAPO_MCP_USERNAME} --env TAPO_MCP_PASSWORD=${TAPO_MCP_PASSWORD} --env TAPO_MCP_API_KEY=${TAPO_MCP_API_KEY} -- docker run -i --rm ghcr.io/mihai-dinculescu/tapo-mcp:0.5.0:None
03

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (11)

MEDIUMInventory / provenance · inv.symlink · CWE-1104
tapo-py/LICENSE
tapo-py/LICENSE
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
tapo/LICENSE
tapo/LICENSE
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tapo-py/CHANGELOG.md
tapo-py/CHANGELOG.md
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tapo-py/README.md
tapo-py/README.md
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
tapo/CHANGELOG.md
tapo/CHANGELOG.md
Why it matters. link not followed
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tapo-mcp/CONTRIBUTING.md:20
npx @modelcontextprotocol/inspector http://127.0.0.1:3000
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tapo-mcp/CONTRIBUTING.md:23
npx @modelcontextprotocol/inspector --header "Authorization: Bearer $TAPO_MCP_API_KEY" http://127.0.0.1:3000
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tapo-mcp/CONTRIBUTING.md:33
claude mcp add --transport http tapo http://127.0.0.1:3000
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tapo-mcp/CONTRIBUTING.md:36
claude mcp add --transport http --header "Authorization: Bearer <YOUR_TAPO_MCP_API_KEY>" -- tapo http://127.0.0.1:3000
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tapo-mcp/openclaw-skill/references/setup.md:10
- The server URL (e.g. `http://192.168.1.100`)
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
tapo-mcp/server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-09-27 · audit v0.4.1 · source sha 50450cb1fafafull audit observations/trust-audit/mcp-server/mihai-dinculescu__tapo.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-2750450cb1fafaCAUTIONB89first audit
05

Questions

What is the Tapo MCP server?

🦀 Rust API, 🐍 Python API, and 🤖 MCP Server for TP-Link Tapo smart devices

Is Tapo safe to connect to an agent?

With care. The audit graded it B (89/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Tapo need?

It reads TAPO_MCP_API_KEY, TAPO_MCP_PASSWORD and TAPO_MCP_USERNAME from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Tapo run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as tapo.

How current is this page?

The grade is for one exact copy of the source (50450cb1fafa), read on 2026-09-27. The repository is watched and re-audited when it changes.

Advertisement