Smart Home Device Control is an MCP server that connects large language models to smart home backend REST APIs over the Model Context Protocol. Built for smart home administrators, IoT hobbyists, and developers using AI assistants, it enables conversational clients to inspect device statuses and execute remote actions on domestic hardware. The server provides structured tool calling to interact with endpoints for device overview lists, individual device telemetry, and hardware control routines. Supported equipment includes air conditioners, refrigerators, lighting, door locks, and security cameras. Through these integrated tools, an AI model can evaluate operational metrics like power consumption and run logs, query documentation schemas for compatible actions, and send explicit instructions such as altering temperatures, modifying brightness levels, engaging locks, or switching camera recording modes. Operating over stdio transport, the server authenticates directly against backend endpoints using dedicated tokens to enforce safe local or remote smart environment management.
Category: Cloud & Infrastructure
Tags: domotics, home-automation, iot, smart-home
Visit Smart Home Device Control
pip install fastmcp requests. 2. Obtain an authentication token by authenticating with your smart home backend API via POST /auth/login. 3. Add the server configuration to your MCP client configuration file (such as Cursor or Cline) using stdio transport: json { "mcpServers": { "cpm-smarthome": { "disabled": false, "timeout": 60, "transportType": "stdio", "command": "python", "args": [ "/path/to/mcp_server.py", "--token", "your_auth_token", "--backend", "http://backend-api-address:8000/api/v1" ] } } } 4. Alternatively, launch the executable or run python mcp_server.py --backend http://backend-api-address:8000/api/v1 --token <your_auth_token> directly.Part of MCP Servers
You can install it by setting up a Python environment with pip install fastmcp requests and executing mcp_server.py with your backend URL and authentication token. You can also run the pre-built binary directly from GitHub releases.
It provides tools for language models to query backend smart home configuration, fetch device summaries, inspect detailed device telemetry like power consumption and logs, retrieve device control documentation, and trigger actions like temperature or power adjustments.
It functions with any MCP-compatible client that supports standard input/output (stdio) transports, including Cursor, Cline in VS Code, and Claude Desktop, using a simple JSON configuration block.
The server includes built-in parameter definitions and action handlers for air conditioners, refrigerators, smart lights, electronic door locks, and security cameras connected to compatible backend APIs.