MCP Catalogs
Home

hass-mcp-server

by ganhammar·34·Score 44

Home Assistant MCP server with HTTP transport for remote access via OAuth or long-lived tokens.

ai-llmhome-automationiot
9
Forks
3
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server enables AI assistants like Claude to interact with Home Assistant via HTTP transport, offering both OAuth and Long-Lived Token authentication. It provides comprehensive access to Home Assistant features including entity management, automation control, configuration file management, dashboard operations, and system administration. The server is designed specifically to support web-based AI clients that require OAuth 2.0 authentication, addressing a need not met by the official SSE-only integration.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Remote control of Home Assistant devices and automations through Claude web interface
you:Automated configuration management of YAML files with automatic backups and validation
you:System monitoring and troubleshooting using AI-powered prompts and completions
you:How do I list all automations, scenes, or scripts?
you:What's the difference between OAuth and Long-Lived Token authentication?

When to choose this

Choose this if you want remote access to Home Assistant via Claude.ai or any web-based AI assistant, especially when OAuth authentication is needed.

When NOT to choose this

Don't choose this if you only need local access to Home Assistant with SSE transport or if you prefer the official Home Assistant MCP integration.

Tools this server exposes

12 tools extracted from the README
  • get_state

    Get the current state of any entity

  • list_entities

    List all entities with optional domain filter

  • call_service

    Call any Home Assistant service

  • list_automations

    List all automations with full configuration

  • get_automation_config

    Get full configuration of a single automation

  • create_automation

    Create a new automation

  • list_dashboards

    List all Lovelace dashboards with metadata

  • get_dashboard_config

    Get full dashboard configuration

  • list_config_files

    List all YAML files in the config directory

  • get_system_status

    Get system overview including version, domain counts, and entity totals

  • list_devices

    List devices, optionally filtered by area

  • list_services

    List available services, optionally filtered by domain

Comparable tools

home-assistant-mcp-serverha-clinode-red-home-assistant

Installation

Installation

HACS (Recommended)

  1. Open HACS in Home Assistant
  2. Search for "MCP Server"
  3. Click "Download"
  4. Restart Home Assistant
  5. Configure the integration

Claude Desktop Integration

{
  "mcpServers": {
    "home-assistant": {
      "command": "npx",
      "args": ["@modelcontextprotocol/server-homeassistant"],
      "env": {
        "HOME_ASSISTANT_URL": "https://your-home-assistant.com",
        "HOME_ASSISTANT_TOKEN": "your-long-lived-token"
      }
    }
  }
}

FAQ

How do I list all automations, scenes, or scripts?
Use the dedicated list tools: `list_automations()`, `list_scenes()`, or `list_scripts()` to get full configurations.
What's the difference between OAuth and Long-Lived Token authentication?
OAuth is for browser-based clients like Claude and requires hass-oidc-server integration. Long-Lived Tokens are for local clients and can be used without extra dependencies.

Compare hass-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.