Loading...

Exposes Home Assistant entities and services to MCP clients, enabling control and monitoring of smart home devices via natural language.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Exposes Home Assistant entities and services to MCP clients, enabling control and monitoring of smart home devices via natural language.
This MCP server's safety depends heavily on the underlying Home Assistant instance's security. While it uses tokens for authentication, a compromised token or a vulnerable Home Assistant setup could lead to unauthorized device control. It is relatively safe if Home Assistant is properly secured and access is limited.
Performance depends on the Home Assistant instance's resources and network latency. Large numbers of entities may impact response times.
No direct cost, but Home Assistant may incur costs depending on the services and integrations used (e.g., cloud storage, API usage).
{
"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.....
}
}
}
}get_entity_stateRetrieves the current state of a specified entity in Home Assistant.
Read-only operation; no side effects.
set_entity_stateChanges the state of a specified entity in Home Assistant.
Non-destructive write operation; changes device state but doesn't delete anything.
call_serviceCalls a specific service in Home Assistant.
Can trigger actions in Home Assistant, but typically non-destructive.
list_entitiesLists all available entities in Home Assistant.
Read-only operation; no side effects.
API Key
This MCP server's safety depends heavily on the underlying Home Assistant instance's security. While it uses tokens for authentication, a compromised token or a vulnerable Home Assistant setup could lead to unauthorized device control. It is relatively safe if Home Assistant is properly secured and access is limited.
Autonomy is limited by the permissions granted to the Home Assistant API token and the capabilities of the underlying Home Assistant instance.
Production Tip
Monitor Home Assistant logs for errors and unexpected behavior.
A Home Assistant API token is a long-lived access token that allows external applications to access your Home Assistant instance. You can create one in your Home Assistant profile settings.
Treat your API token like a password. Do not share it with anyone and store it securely. Use environment variables instead of hardcoding it in configuration files.
If your API token is compromised, immediately revoke it in your Home Assistant profile settings and create a new one.
Home Assistant's access control mechanisms can be used to limit the scope of access granted to the API token.
You can control any device that is integrated with your Home Assistant instance.
The limitations are primarily those of the underlying Home Assistant instance, including supported devices and services.
Check the Claude Desktop logs and the Home Assistant logs for errors. Ensure that your Home Assistant API token is valid and that your Home Assistant instance is accessible.