Home › IoT & Home › Tapo MCP

Tapo MCP

MCP server for discovering and controlling TP-Link Tapo smart home devices via AI Agents

Rust
★ 877 stars Last pushed 2026-11-20 License: MIT

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (oci)

Package: oci ghcr.io/mihai-dinculescu/tapo-mcp:0.7.0

  • TAPO_MCP_USERNAME required secret — TP-Link Tapo account email
  • TAPO_MCP_PASSWORD required secret — TP-Link Tapo account password
  • TAPO_MCP_CAMERA_USERNAME secret — Optional camera account username; required for taking camera snapshots
  • TAPO_MCP_CAMERA_PASSWORD secret — Optional camera account password; required for taking camera snapshots
  • TAPO_MCP_DISCOVERY_TARGET required — IP address for device discovery, usually the network's broadcast address (e.g. 192.168.1.255)
  • TAPO_MCP_API_KEY required secret — Bearer token that clients send in the Authorization header; the image listens on all interfaces and does not start without it
  • TAPO_MCP_ALLOWED_HOSTS — Optional comma-separated Host header allowlist; replaces the loopback-only default
  • TAPO_MCP_PUBLIC_URL — Optional base URL clients reach the server at; enables short-lived snapshot links
  • TAPO_MCP_DISCOVERY_TIMEOUT — Device discovery timeout in seconds; must be between 1 and 60
  • TAPO_MCP_DISCOVERY_INTERVAL — Seconds between background device discoveries that refresh the device list; must be at least TAPO_MCP_DISCOVERY_TIMEOUT and at most 86400 (one day); tool calls wait while a discovery runs, so a short interval delays them more often
  • OTEL_EXPORTER_OTLP_ENDPOINT — Base URL of an OTLP/HTTP collector to export traces to, such as http://localhost:4318; traces go to /v1/traces under it

This server takes extra arguments — see its repository.

Related servers

Data from the Official MCP Registry