Home › IoT & Home › Tapo MCP

Tapo MCP

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

Rust
★ 870 stars Last pushed 2026-11-08 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.6.2

  • 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 — Network target for device discovery (e.g. 192.168.1.255)
  • TAPO_MCP_API_KEY secret — Optional Bearer token for API authentication
  • 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 — Optional OpenTelemetry collector endpoint for tracing

Related servers

Data from the Official MCP Registry