Basic information
About Home Assistant MCP Server
Transform your smarter home with Home Assistant: advanced home automation smart home control and secure device management for seamless living.
Home Assistant is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by oleander. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools.
Setup
{
"mcpServers": {
"homeassistant": {
"command": "home-assistant-mcp-server",
"args": [],
"env": {
"HASS_URL": "http://your-home-assistant:8123",
"HASS_TOKEN": "your_token_here",
"HASS_MOCK": "true"
}
}
}
}
{
"mcpServers": {
"homeassistant": {
"command": "home-assistant-mcp-server",
"args": [],
"env": {
"HASS_URL": "http://your-home-assistant:8123",
"HASS_TOKEN": "your_token_here",
"HASS_MOCK": "true"
}
}
}
}
{
"servers": {
"homeassistant": {
"command": "home-assistant-mcp-server",
"args": [],
"env": {
"HASS_URL": "http://your-home-assistant:8123",
"HASS_TOKEN": "your_token_here",
"HASS_MOCK": "true"
}
}
}
}
Home Assistant MCP Server — by oleander config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"homeassistant": {
"command": "home-assistant-mcp-server",
"args": [],
"env": {
"HASS_URL": "http://your-home-assistant:8123",
"HASS_TOKEN": "your_token_here",
"HASS_MOCK": "true"
}
}
}
}
Home Assistant MCP Server — by oleander tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Home Assistant?
Home Assistant MCP Server is a Model Context Protocol (MCP) server for integrating with Home Assistant, enabling LLMs to control and query your smart home via natural language. It works with any MCP‑compatible client, such as Claude Desktop.
How to use Home Assistant?
Install globally with bun install -g home-assistant-mcp-server or build from source. Configure a .env file with HASS_URL and HASS_TOKEN (or HASS_MOCK=true for demo). Run as a standalone server with home-assistant-mcp-server (default HTTP/SSE) or add the --stdio flag for stdio transport. For Claude Desktop, edit claude_desktop_config.json to include the server command and environment variables.
Key features of Home Assistant
- Query and control Home Assistant entities via natural language
- Works with any MCP‑compatible client
- Provides tools for state management, service calls, and history
- Secure authentication using long‑lived access tokens
- Multiple transport options: stdio and SSE/HTTP
- Demo mode with mock data for testing without Home Assistant
Use cases of Home Assistant
- Control lights and smart devices via natural language from an LLM
- Query entity states and history for automation and insights
- Test integrations using demo mode when no Home Assistant is available
- Run locally via stdio or remotely over HTTP/SSE
- Integrate with Claude Desktop for conversational smart home control
Frequently asked questions
1 How do I enable demo mode for testing without Home Assistant?
Set HASS_MOCK=true in the .env file or pass the --mock flag when starting the server.
2 What are the authentication requirements?
You need a Home Assistant long‑lived access token. Generate one from your Home Assistant profile and set it as the HASS_TOKEN environment variable.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In