kasa-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP server host (default: 127.0.0.1). Set to 0.0.0.0 for network access. Used when MCP_TRANSPORT=http. | 127.0.0.1 |
| MCP_PORT | No | HTTP server port (default: 3000). Used when MCP_TRANSPORT=http. | 3000 |
| MCP_TRANSPORT | No | Transport mode. Set to 'http' to enable HTTP transport. Default is stdio. | stdio |
| MCP_SESSION_MODE | No | HTTP session mode. Set to 'stateless' for stateless mode. Default is stateful. | stateful |
| KASA_DEVICE_TIMEOUT | No | Device operation timeout in milliseconds (default: 30000). Applies to get_device_info, set_power_state, set_brightness, set_color_temperature, get_realtime_stats. Can be overridden per-operation via the timeout parameter. | 30000 |
| KASA_DISCOVERY_TIMEOUT | No | Discovery timeout in milliseconds (default: 30000). Controls how long the discover_devices tool waits for device responses. | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| discover_devicesA | Discover Kasa smart home devices on the local network via UDP broadcast |
| get_device_infoC | Get detailed information about a specific Kasa device |
| set_power_stateC | Turn a Kasa device on or off |
| set_brightnessC | Set brightness level for Kasa smart bulbs (0-100%) |
| set_color_temperatureC | Set color temperature for Kasa color bulbs |
| get_realtime_statsC | Get real-time energy usage statistics for smart plugs |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a clearly distinct action: discovery, info retrieval, power control, brightness control, color-temperature control, and energy stats. There is no meaningful overlap between tools, so an agent can select the right one unambiguously.
All tool names follow a consistent verb_noun pattern (discover_devices, get_device_info, set_power_state, set_brightness, set_color_temperature, get_realtime_stats). The naming is predictable and readable throughout.
Six tools is a well-scoped surface for basic Kasa device control and monitoring. Each tool earns its place without redundancy or thinness.
The set covers discovery, device info, core controls (power, brightness, color temperature), and energy stats. Minor gaps exist around full RGB color control and advanced features like schedules or scenes, but core workflows are covered.