Tapo MCP

io.github.mihai-dinculescu/tapo-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "tapo-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mihai-dinculescu/tapo-mcp:0.6.2"
      ],
      "env": {
        "TAPO_MCP_USERNAME": "<your TAPO_MCP_USERNAME>",
        "TAPO_MCP_PASSWORD": "<your TAPO_MCP_PASSWORD>",
        "TAPO_MCP_CAMERA_USERNAME": "<your TAPO_MCP_CAMERA_USERNAME>",
        "TAPO_MCP_CAMERA_PASSWORD": "<your TAPO_MCP_CAMERA_PASSWORD>",
        "TAPO_MCP_DISCOVERY_TARGET": "<your TAPO_MCP_DISCOVERY_TARGET>",
        "TAPO_MCP_API_KEY": "<your TAPO_MCP_API_KEY>",
        "TAPO_MCP_DISCOVERY_TIMEOUT": "5",
        "TAPO_MCP_DISCOVERY_INTERVAL": "600"
      }
    }
  }
}
Environment variables
  • TAPO_MCP_USERNAMErequiredsecretTP-Link Tapo account email
  • TAPO_MCP_PASSWORDrequiredsecretTP-Link Tapo account password
  • TAPO_MCP_CAMERA_USERNAMEsecretOptional camera account username; required for taking camera snapshots
  • TAPO_MCP_CAMERA_PASSWORDsecretOptional camera account password; required for taking camera snapshots
  • TAPO_MCP_DISCOVERY_TARGETrequiredNetwork target for device discovery (e.g. 192.168.1.255)
  • TAPO_MCP_API_KEYsecretOptional Bearer token for API authentication
  • TAPO_MCP_DISCOVERY_TIMEOUTDevice discovery timeout in seconds; must be between 1 and 60
  • TAPO_MCP_DISCOVERY_INTERVALSeconds 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

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.2
Registry
active
Published
11/1/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Tapo MCP is listed here — it’s also the link we check for a free listing.

Tapo MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mihai-dinculescu-tapo-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Tapo MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Tapo MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mihai-dinculescu-tapo-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.