Loading...
{
"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.
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.