loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

mcp-tapo-smart-home

MCP Tool

amvaswani/mcp-tapo-smart-home

MCP server for controlling TP-Link Tapo smart home devices via Claude Code

Install

$ npx loaditout add amvaswani/mcp-tapo-smart-home

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "mcp-tapo-smart-home": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-tapo-smart-home"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

Tapo Smart Home MCP Server

MCP server for controlling TP-Link Tapo smart home devices via Claude Code. Built with FastMCP and the python-kasa library.

Features
  • Device Discovery — Scan your local network for all TP-Link/Tapo devices
  • Power Control — Turn on, turn off, or toggle any device
  • Lighting — Set brightness, color temperature, and RGB color (HSV)
  • Power Strips — List and independently control individual outlets (e.g., EP40)
  • Device Info — Query model, state, power usage, and color settings
Prerequisites
  • Python 3.10+
  • TP-Link Tapo devices on the same local network
  • macOS (uses Keychain for credential storage)
Installation
cd tapo-mcp

# Create virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate
pip install mcp[cli] python-kasa
Credential Setup

This server reads your TP-Link/Tapo account credentials from the macOS Keychain — no passwords are stored in code or config files.

Store your credentials:

security add-generic-password -a "your-email@example.com" -s "tapo-mcp" -w "your-password"

To update existing credentials:

security add-generic-password -a "your-email@example.com" -s "tapo-mcp" -w "new-password" -U

To verify they're stored:

security find-generic-password -s "tapo-mcp"
Configuration for Claude Code

Add to your Claude Code MCP config (project-level .mcp.json or ~/.claude.json):

{
  "mcpServers": {
    "tapo": {
      "command": "/path/to/tapo-mcp/.venv/bin/python",
      "args": ["/path/to/tapo-mcp/server.py"]
    }
  }
}

No environment variables or credentials are passed in the config — they are securely read from macOS Keychain at runtime.

Available Tools

| Tool | Description | |------|-------------| | discover_devices | Scan the local network for all Tapo devices | | get_device_info | Get

Tags

claude-codemcp-serversmart-hometapo

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated14 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/30/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/amvaswani/mcp-tapo-smart-home)](https://loaditout.ai/skills/amvaswani/mcp-tapo-smart-home)