Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 TrackMCP. All rights reserved.

Built with โค๏ธ by Krishna Goyal

    Advanced Homeassistant Mcp

    An advanced MCP server for Home Assistant. ๐Ÿ”‹ Batteries included.

    34 stars
    TypeScript
    Updated Oct 16, 2025
    home-assistant
    llm
    mcp-server
    speech-recognition
    speech-to-text

    Table of Contents

    • โœจ Feature Overview
    • ๐Ÿค– AI-Powered Smart Home Control
    • ๐Ÿ›ก๏ธ Enterprise-Grade Security
    • โšก High-Performance Architecture
    • ๐Ÿ  Comprehensive Device Control
    • ๐Ÿš€ Quick Start
    • ๐Ÿ“ฆ Installation
    • Prerequisites
    • Option 1: Smithery.ai (Recommended for Quick Setup)
    • Option 2: NPX (Quick Start)
    • Option 3: Bunx with GitHub (No NPM Login Required)
    • Option 4: Docker (Containerized)
    • Option 5: Local Installation
    • Option 6: From Source (Most Flexible)
    • ๐Ÿ› ๏ธ Usage
    • AI Assistant Integration
    • Claude Desktop
    • VS Code + Copilot/Claude Extension
    • Cursor
    • API Usage
    • Configuration
    • ๐Ÿ—๏ธ Architecture
    • Core Components
    • Built-in Tools (34 Total)
    • ๐ŸŽจ Aurora Sound-to-Light (10 tools) โœจ NEW!
    • ๐Ÿ  Device Control (13 tools)
    • โš™๏ธ Automation & Scenes (3 tools)
    • ๐Ÿ”ง System Management (6 tools)
    • ๐Ÿง  Smart Features (2 tools)
    • MCP Features
    • ๐ŸŽฏ Example Commands
    • ๐Ÿค Contributing
    • Development Setup
    • Code Style
    • Releases
    • ๐Ÿ“„ License
    • ๐Ÿ™ Acknowledgments

    Table of Contents

    • โœจ Feature Overview
    • ๐Ÿค– AI-Powered Smart Home Control
    • ๐Ÿ›ก๏ธ Enterprise-Grade Security
    • โšก High-Performance Architecture
    • ๐Ÿ  Comprehensive Device Control
    • ๐Ÿš€ Quick Start
    • ๐Ÿ“ฆ Installation
    • Prerequisites
    • Option 1: Smithery.ai (Recommended for Quick Setup)
    • Option 2: NPX (Quick Start)
    • Option 3: Bunx with GitHub (No NPM Login Required)
    • Option 4: Docker (Containerized)
    • Option 5: Local Installation
    • Option 6: From Source (Most Flexible)
    • ๐Ÿ› ๏ธ Usage
    • AI Assistant Integration
    • Claude Desktop
    • VS Code + Copilot/Claude Extension
    • Cursor
    • API Usage
    • Configuration
    • ๐Ÿ—๏ธ Architecture
    • Core Components
    • Built-in Tools (34 Total)
    • ๐ŸŽจ Aurora Sound-to-Light (10 tools) โœจ NEW!
    • ๐Ÿ  Device Control (13 tools)
    • โš™๏ธ Automation & Scenes (3 tools)
    • ๐Ÿ”ง System Management (6 tools)
    • ๐Ÿง  Smart Features (2 tools)
    • MCP Features
    • ๐ŸŽฏ Example Commands
    • ๐Ÿค Contributing
    • Development Setup
    • Code Style
    • Releases
    • ๐Ÿ“„ License
    • ๐Ÿ™ Acknowledgments

    Documentation

    ๐Ÿ  Home Assistant MCP

    smithery badge

    License

    npm version

    Docker

    Bun

    TypeScript

    Bridge the gap between AI assistants and your smart home ๐Ÿš€

    A powerful, secure, and extensible Model Context Protocol (MCP) server that enables AI assistants like Claude, GPT, and Cursor to seamlessly interact with Home Assistant. Control your lights, climate, automations, and more through natural language commands.

    ---

    โœจ Feature Overview

    ๐Ÿค– AI-Powered Smart Home Control

    • Natural Language Processing: Turn "dim the living room lights to 50%" into actual device commands
    • Multi-Assistant Support: Works with Claude, GPT-4, Cursor, and other MCP-compatible assistants
    • Intelligent Context: Remembers device states, relationships, and user preferences
    • Smithery Integration: One-click installation and deployment via Smithery.ai

    ๐Ÿ›ก๏ธ Enterprise-Grade Security

    • Rate Limiting: Protects against abuse with configurable request limits
    • Input Sanitization: Prevents XSS and injection attacks
    • JWT Authentication: Secure token-based access control
    • Security Headers: Comprehensive protection against web vulnerabilities

    โšก High-Performance Architecture

    • Bun Runtime: 4x faster than Node.js with built-in TypeScript support
    • Streaming Responses: Real-time updates for long-running operations
    • Modular Design: Clean separation of concerns with extensible plugin system
    • Multiple Transports: HTTP REST API, WebSocket, and Standard I/O support

    ๐Ÿ  Comprehensive Device Control

    • Lighting Control: Brightness, color temperature, RGB colors, and effects
    • Climate Management: Thermostats, HVAC modes, fan control, and scheduling
    • Automation & Scenes: Trigger automations, activate scenes, and manage routines
    • Device Discovery: Intelligent device listing with filtering and search
    • Notification System: Send alerts through Home Assistant's notification channels
    • Smart Maintenance: Find orphaned devices, analyze usage patterns, energy monitoring
    • Intelligent Scenarios: Auto-detect and manage nobody-home, window/heating conflicts, energy waste

    ---

    ๐Ÿš€ Quick Start

    Get up and running in minutes:

    bash
    # Clone and install
    git clone https://github.com/jango-blockchained/advanced-homeassistant-mcp.git
    cd advanced-homeassistant-mcp
    bun install
    
    # Configure environment
    cp .env.example .env
    # Edit .env with your Home Assistant details
    
    # Start the server
    bun run start:stdio

    That's it! Your AI assistant can now control your smart home. ๐Ÿค–โœจ

    ---

    ๐Ÿ“ฆ Installation

    Prerequisites

    • ๐Ÿš€ Bun (v1.0.26+) - _Recommended_
    • ๐Ÿ  Home Assistant instance

    Option 1: Smithery.ai (Recommended for Quick Setup)

    Smithery is a registry for MCP servers that makes installation incredibly easy:

    bash
    # Install to Claude Desktop
    npx @smithery/cli install @jango-blockchained/homeassistant-mcp --client claude
    
    # Install to Cursor
    npx @smithery/cli install @jango-blockchained/homeassistant-mcp --client cursor
    
    # Install to VS Code
    npx @smithery/cli install @jango-blockchained/homeassistant-mcp --client vscode

    You'll be prompted to configure:

    • Home Assistant URL
    • Long-lived access token
    • Optional settings (port, debug mode)

    See SMITHERY_DEPLOYMENT.md for detailed deployment guide.

    Option 2: NPX (Quick Start)

    bash
    npx @jango-blockchained/homeassistant-mcp@latest

    Option 3: Bunx with GitHub (No NPM Login Required)

    If you can't login to npm, use Bunx to run directly from GitHub:

    bash
    # Install Bun first if you don't have it
    curl -fsSL https://bun.sh/install | bash
    
    # Then run from GitHub
    bunx github:jango-blockchained/advanced-homeassistant-mcp

    Alternatively, install directly from Git:

    bash
    bun add git+https://github.com/jango-blockchained/advanced-homeassistant-mcp.git
    homeassistant-mcp

    Option 4: Docker (Containerized)

    Run the MCP server in a Docker container:

    bash
    # Pull the latest image
    docker pull ghcr.io/jango-blockchained/advanced-homeassistant-mcp:latest
    
    # Run with environment variables
    docker run -d \
      -e HOME_ASSISTANT_URL=http://your-ha-instance:8123 \
      -e HOME_ASSISTANT_TOKEN=your_long_lived_access_token \
      -p 4000:4000 \
      --name homeassistant-mcp \
      ghcr.io/jango-blockchained/advanced-homeassistant-mcp:latest
    
    # Or use docker-compose (see docker/ directory for examples)

    Available Docker tags:

    • latest - Latest stable release
    • 1.0.x - Specific version
    • dev - Latest development build from main branch

    Option 5: Local Installation

    bash
    # Install globally
    bun add -g @jango-blockchained/homeassistant-mcp
    
    # Or locally
    bun add homeassistant-mcp
    
    # Run
    homeassistant-mcp

    Option 6: From Source (Most Flexible)

    bash
    git clone https://github.com/jango-blockchained/advanced-homeassistant-mcp.git
    cd advanced-homeassistant-mcp
    bun install
    bun run build
    bun run start:stdio

    ---

    ๐Ÿ› ๏ธ Usage

    AI Assistant Integration

    Claude Desktop

    Add to your claude_desktop_config.json:

    json
    {
      "mcpServers": {
        "homeassistant-mcp": {
          "command": "bunx",
          "args": ["github:jango-blockchained/advanced-homeassistant-mcp"]
        }
      }
    }

    Or use npx:

    json
    {
      "mcpServers": {
        "homeassistant-mcp": {
          "command": "npx",
          "args": ["@jango-blockchained/homeassistant-mcp@latest"]
        }
      }
    }

    VS Code + Copilot/Claude Extension

    The .vscode/mcp.json is pre-configured for immediate use with the MCP extension. For development:

    1. Ensure you have built the project: npm run build:stdio

    2. Configure your environment variables in .env

    3. The MCP server will automatically connect using the configuration in .vscode/mcp.json

    Alternatively, you can manually configure in your VS Code settings:

    json
    {
      "mcp.servers": {
        "homeassistant-mcp": {
          "type": "stdio",
          "command": "node",
          "args": ["${workspaceFolder}/dist/stdio-server.mjs"],
          "env": {
            "HASS_HOST": "${env:HASS_HOST}",
            "HASS_TOKEN": "${env:HASS_TOKEN}"
          }
        }
      }
    }

    Cursor

    Add to .cursor/config/config.json:

    json
    {
      "mcpServers": {
        "homeassistant-mcp": {
          "command": "bunx",
          "args": ["github:jango-blockchained/advanced-homeassistant-mcp"]
        }
      }
    }

    Or with npx:

    json
    {
      "mcpServers": {
        "homeassistant-mcp": {
          "command": "npx",
          "args": ["@jango-blockchained/homeassistant-mcp@latest"]
        }
      }
    }

    API Usage

    Start the HTTP server:

    bash
    bun run start -- --http

    Available endpoints:

    • POST /api/tools/call - Execute tools
    • GET /api/resources/list - List resources
    • GET /api/health - Health check
    • WebSocket /api/ws - Real-time updates

    Configuration

    Create a .env file:

    env
    # Home Assistant
    HASS_HOST=http://your-ha-instance:8123
    HASS_TOKEN=your_long_lived_access_token
    
    # Server
    PORT=3000
    NODE_ENV=production
    
    # To expose externally
    HOST=0.0.0.0
    
    # Security
    JWT_SECRET=your-secret-key
    RATE_LIMIT_WINDOW=15
    RATE_LIMIT_MAX=50

    ---

    ๐Ÿ—๏ธ Architecture

    text
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚   AI Assistant  โ”‚โ—„โ”€โ”€โ–บโ”‚   MCP Server    โ”‚โ—„โ”€โ”€โ–บโ”‚ Home Assistant  โ”‚
    โ”‚  (Claude/GPT)   โ”‚    โ”‚                 โ”‚    โ”‚                 โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                           โ”‚ โ”‚  Transport  โ”‚ โ”‚
                           โ”‚ โ”‚   Layer     โ”‚ โ”‚
                           โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
                           โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
                           โ”‚ โ”‚ Middleware  โ”‚ โ”‚
                           โ”‚ โ”‚   Layer     โ”‚ โ”‚
                           โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
                           โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
                           โ”‚ โ”‚   Tools     โ”‚ โ”‚
                           โ”‚ โ”‚   Layer     โ”‚ โ”‚
                           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

    Core Components

    • Transport Layer: HTTP, WebSocket, Stdio
    • Middleware Layer: Security, validation, logging
    • Tools Layer: Device control, automation, notifications
    • Resource Manager: State management and caching

    Built-in Tools (34 Total)

    ๐ŸŽจ Aurora Sound-to-Light (10 tools) โœจ NEW!

    • ๐ŸŽต Audio Analysis: Extract BPM, beats, mood, frequency data
    • ๐Ÿ” Device Scanning: Find Aurora-compatible lights
    • ๐Ÿ“Š Device Profiling: Measure latency & capabilities for sync
    • ๐ŸŽฌ Timeline Rendering: Generate pre-rendered light shows
    • โ–ถ๏ธ Playback Control: Play/pause/stop/seek timelines
    • ๐Ÿ“‹ Timeline Management: List, export, import timelines
    • ๐Ÿ“ˆ Status Monitoring: System status and statistics
    • ๐ŸŽฏ Smart Synchronization: Device-specific timing compensation
    • ๐ŸŒˆ Capability-Aware: RGB, tunable white, brightness-only support
    • ๐ŸŽถ Beat Detection: Lights pulse in sync with music

    ๐ŸŽจ Aurora is a complete sound-to-light synchronization system that transforms your Home Assistant lights into a professional light show synchronized to music!

    ๐Ÿ  Device Control (13 tools)

    • ๐Ÿ”ฆ Lights Control: Brightness, color temp, RGB, effects
    • ๐ŸŒก๏ธ Climate Control: HVAC modes, temperature, fan control
    • ๐Ÿ“บ Media Players: Playback, volume, sources, sound modes
    • ๐ŸชŸ Covers: Blinds, curtains, garage doors, position control
    • ๐Ÿ”’ Locks: Lock/unlock with code support
    • ๐Ÿ’จ Fans: Speed, oscillation, direction, presets
    • ๐Ÿค– Vacuums: Cleaning, docking, spot clean, fan speed
    • ๐Ÿšจ Alarm Control: Arm/disarm modes, security management
    • ๐ŸŽ›๏ธ Generic Control: Universal device control interface

    โš™๏ธ Automation & Scenes (3 tools)

    • ๐ŸŽฌ Scenes: Activate predefined scenes
    • โš™๏ธ Automations: List, toggle, trigger automations
    • ๐Ÿ”ง Automation Config: Create/update/delete complex automations

    ๐Ÿ”ง System Management (6 tools)

    • ๐Ÿ“‹ Device Discovery: List and filter devices by domain/area
    • ๐Ÿ“ฑ Notifications: Multi-channel alert system
    • ๐Ÿ“Š History: Query historical state data
    • ๐Ÿ“ฆ Add-on Management: Install, configure, control add-ons
    • ๐Ÿ“ฆ Package Management: HACS integration and custom components
    • ๐Ÿ”” Event Subscription: Real-time SSE event streaming

    ๐Ÿง  Smart Features (2 tools)

    • ๐Ÿ”ง Maintenance Tool: Spook-like maintenance features
    • Find orphaned/unavailable devices
    • Analyze light usage patterns by room
    • Monitor energy consumption
    • Device health checks with battery warnings
    • Entity cleanup recommendations
    • ๐Ÿง  Smart Scenarios: Intelligent automation detection
    • Nobody home: Auto turn off lights, reduce climate
    • Window/heating conflicts: Auto disable heating
    • Energy saving: Detect daytime lights, standby power
    • Generate automation configs

    ๐Ÿ“– **See Complete Tools Reference for detailed documentation**

    MCP Features

    • ๐Ÿ“ Prompts: Pre-defined prompt templates for common home automation tasks
    • Morning/evening routines
    • Energy saving suggestions
    • Security setup
    • Climate optimization
    • Media control
    • Troubleshooting helpers
    • ๐Ÿ“Š Resources: Direct access to Home Assistant states and configurations
    • Device lists by type (lights, climate, sensors, etc.)
    • Area/room configurations
    • Automation and scene listings
    • Dashboard summaries with current home status
    • ๐Ÿ› ๏ธ 24 Comprehensive Tools: Full device control and smart automation
    • See Complete Tools Reference for all available tools
    • Device control, automation, system management, and smart features
    • Natural language to Home Assistant API translation

    ---

    ๐ŸŽฏ Example Commands

    Once integrated, your AI assistant can understand commands like:

    Device Control:

    "Turn off all lights in the bedroom"

    "Set the thermostat to 72ยฐF"

    "Play music on the living room speaker"

    "Open the garage door"

    "Lock all doors"

    "Start the robot vacuum"

    "Set the bedroom fan to 50%"

    Automation & Scenes:

    "Activate the movie scene"

    "Trigger the morning routine automation"

    "Show me all my automations"

    Information & Monitoring:

    "What's the current temperature in the living room?"

    "Show me all unavailable devices"

    "Which lights are currently on?"

    Notifications:

    "Notify everyone that dinner is ready"

    "Send an alert to my phone"

    Smart Maintenance:

    "Check my Home Assistant health"

    "Find orphaned or unavailable devices"

    "Analyze my light usage patterns"

    "Show me my energy consumption"

    "Which devices have low battery?"

    Aurora Sound-to-Light: โœจ NEW!

    "Analyze this music file and sync my lights"

    "Scan for lights that can do Aurora effects"

    "Profile my living room lights for synchronization"

    "Create a light show for this song"

    "Play the timeline I just created"

    "Pause the light show"

    "Show me Aurora status"

    Smart Scenarios:

    "I'm leaving home, activate away mode"

    "Are any windows open with heating on?"

    "Check for energy-wasting issues"

    "Turn off everything, I'm going on vacation"

    "What can I do to save energy?"

    You can also use prompts for guided assistance:

    "Help me set up a morning routine"

    "Show me energy saving tips"

    "How do I control my media players?"

    ---

    ๐Ÿค Contributing

    We welcome contributions! Here's how to get involved:

    1. ๐Ÿด Fork the repository

    2. ๐ŸŒฟ Create a feature branch

    3. ๐Ÿ’ป Make your changes

    4. ๐Ÿงช Add tests if applicable

    5. ๐Ÿ“ Update documentation

    6. ๐Ÿ”„ Submit a pull request

    Development Setup

    bash
    bun install
    bun run build
    bun test

    Code Style

    • TypeScript with strict mode
    • ESLint for code quality
    • Prettier for formatting
    • Husky for pre-commit hooks

    Releases

    This project uses automated releases to GitHub, npm, and Docker. See AUTOMATED_RELEASES.md for details.

    Quick Release:

    1. Go to Actions โ†’ Version Bump and Release

    2. Click Run workflow

    3. Select version bump type (patch/minor/major)

    4. The system automatically:

    • ๐Ÿ“ฆ Creates a GitHub release
    • ๐Ÿ“ค Publishes to npm
    • ๐Ÿณ Builds and pushes Docker image

    ---

    ๐Ÿ“„ License

    MIT License - see LICENSE for details.

    ---

    ๐Ÿ™ Acknowledgments

    Built with โค๏ธ using:

    • Bun - The fast JavaScript runtime
    • Home Assistant - The open-source home automation platform
    • Model Context Protocol - The AI integration standard

    ---

    Transform your smart home into an AI-powered experience

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScriptยท
      42
    • AN

      Anilist Mcp

      TypeScriptยท
      57
    • ME

      Metmuseum Mcp

      TypeScriptยท
      14
    • MC

      Mcp Ipfs

      TypeScriptยท
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Open Library

      TypeScriptยท
      42
    • AN

      Anilist Mcp

      TypeScriptยท
      57
    • ME

      Metmuseum Mcp

      TypeScriptยท
      14
    • MC

      Mcp Ipfs

      TypeScriptยท
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k