Overview
The mcp-server-home-assistant is a Model Context Protocol Server designed for integration with Home Assistant, enabling enhanced communication and functionality within smart home environments.
To use the mcp-server-home-assistant, install the custom component in your Home Assistant instance, create a Long Lived Access Token, clone the repository, and configure your settings in the claude_desktop_config.json file.
- Integration with Home Assistant for smart home automation. - Support for Model Context Protocol to enhance device communication. - Customizable configuration for various user environments.
- Automating smart home devices using contextual information.
- Enhancing user interaction with Home Assistant through improved protocols.
- Logging and monitoring Home Assistant activities for better insights.
Add to your AI client
Use these steps to connect mcp-server-home-assistant in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"allenporter-mcp-server-home-assistant-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-allenporter-mcp-server-home-assistant-mcp-mirror"
]
}
}
}FAQ
What is the Model Context Protocol?
The Model Context Protocol is a framework that allows devices to communicate contextually, improving automation and interaction.
Is there a cost to use mcp-server-home-assistant?
No, mcp-server-home-assistant is free to use as part of the Home Assistant ecosystem.
How do I troubleshoot issues with mcp-server-home-assistant?
You can view the logs located at `~Library/Logs/Claude/mcp-server-Home-assistant.log` to diagnose any issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":691,"uuid":"81ed937d-db3a-4285-9303-0ff7b2647845","name":"allenporter_mcp-server-home-assistant","title":"mcp-server-home-assistant","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:26:34.195Z","updated_at":"2025-02-23T07:16:03.247Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp-server,home-assistant,model-context-protocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/allenporter_mcp-server-home-assistant","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]