Home Assistant MCP
mcp-服务器-家庭助理
适用于 Home Assistant 的模型上下文协议服务器。请参阅模型上下文协议了解上下文。
此集成所需的自定义组件正在移至 Home Assistant Core,网址为https://github.com/home-assistant/core/pull/134122
在 Claude Desktop 中的使用
在您的 Home Assistant 实例中安装home-assistant-model-context-protocol自定义组件
创建长期访问令牌
将此 git repo 克隆到类似
/Users/allen/Development/mcp-server-home-assistant路径使用类似这样的内容编辑您的
claude_desktop_config.json并包含您的家庭助理 URL 和 api 令牌:{ "mcpServers": { "Home-assistant": { "command": "uv", "args": [ "--directory", "/Users/allen/Development/mcp-server-home-assistant", "run", "mcp-server-home-assistant", "-v", "-v" ], "env": { "HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket", "HOME_ASSISTANT_API_TOKEN": "byJhbVci0iJIUzI1ii1sInR5cCI6IkpXVCJ9..... } } } }您可以查看日志,例如
~Library/Logs/Claude/mcp-server-Home-assistant.log来了解正在发生的事情
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Home Assistant to provide smart home control capabilities through natural language, supporting devices like lights, climate systems, locks, alarms, and humidifiers.3MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact directly with Home Assistant, allowing them to query device states, control smart home entities, and perform automation tasks.16344MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows large language models to control and query Home Assistant smart home systems through natural language interactions.29 npm5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Home Assistant devices and services through the Model Context Protocol.117 PyPI106MIT