modelscope·@vmm/homer-mcp
暂无描述。
A Model Context Protocol (MCP) server that enables LLMs to control smart home devices through natural language commands.
http://localhost:3001cd /Users/veli/Documents/Cline/MCP/smart-home-mcp
npm install
npm run build
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"smart-home": {
"command": "/Users/veli/Documents/Cline/MCP/smart-home-mcp/build/index.js"
}
}
}
list_devicesList all smart home devices with their current status.
Example: "Show me all my smart home devices"
control_lightControl smart lights with various actions:
Examples:
control_plugControl smart plugs (on/off only).
Example: "Turn off the holiday lights plug"
set_sceneApply predefined lighting scenes:
Examples:
get_device_statusGet detailed status of a specific device.
Example: "What's the status of the elizabeth night lamp?"
The server uses friendly device names from the device registry:
holiday-lights - HS103 Smart Plugelizabeth-night-lamp - KL125 Smart Bulbguest-bedroom-lamp - KL125 Smart BulbThe MCP server communicates with the REST API at http://localhost:3001/api:
GET /devices - List all devicesPOST /devices/{name}/control - Control devicePOST /devices/{name}/power - Set power statenpm run build
Make sure the REST API server is running:
# From the main project directory
cd /Users/veli/code/automation/home-automation
npx tsx packages/smart-home-api/src/app.ts
The MCP server logs to stderr, so you can see debug output when running with Claude Desktop.
User: "Turn on all the lights and set them to a warm, cozy scene"
Assistant: I'll turn on your lights and set them to a warm, cozy ambiance.
Uses set_scene with "warm" to apply 70% brightness and 2500K color temperature to all lights
User: "What devices do I have available?"
Assistant: Here are your smart home devices:
Uses list_devices to show all registered devices with their current status
User: "Turn off the holiday lights"
Assistant: I'll turn off the holiday lights for you.
Uses control_plug to turn off the holiday-lights device
一座通过串行通信将物理硬件设备与人工智能大语言模型连接起来的桥梁,允许用户使用自然语言命令控制硬件。
一种多功能的模型上下文协议服务器,使人工智能助手能够管理日历、跟踪任务、处理电子邮件、搜索网络以及控制智能家居设备。
暂无描述。
暂无描述。
暂无描述。
暂无描述。