ha-mcp-bridge

ha-mcp-bridge

3.2

If you are the rightful owner of ha-mcp-bridge and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Home Assistant MCP Server is a Model Context Protocol server designed for seamless integration with Claude.ai, utilizing a pure Node.js HTTP architecture for optimal compatibility.

The Home Assistant MCP Server is a robust solution for integrating Home Assistant with Claude.ai, leveraging the Model Context Protocol (MCP) for efficient communication. Built with a pure Node.js HTTP architecture, this server ensures maximum compatibility and performance without relying on Express dependencies. It features secure OAuth 2.1 with PKCE authentication, allowing for safe and reliable connections. The server is designed to work seamlessly with real Home Assistant instances, providing a suite of tools to interact with various Home Assistant entities and services. Additionally, it includes several workarounds to address Claude.ai's non-standard MCP behavior, ensuring smooth tool discovery and interaction. With a focus on security, the server employs session-based authentication management and secure token storage, making it a reliable choice for Home Assistant and Claude.ai users.

Features

  • Pure Node.js HTTP Architecture for maximum compatibility
  • OAuth 2.1 + PKCE Authentication for secure connections
  • Real Home Assistant Integration with API token support
  • Claude.ai Compatibility Hacks for seamless tool discovery
  • Server-Sent Events for real-time tool broadcasting

Tools

  1. get_entities

    Get all HA entities or filter by domain

  2. call_service

    Call HA services to control devices

  3. get_automations

    Get all HA automations

  4. get_lights

    Get all light entities

  5. get_switches

    Get all switch entities

  6. get_climate

    Get climate/HVAC entities

  7. get_sensors

    Get sensor entities

  8. control_lights

    Control lights with actions, brightness, and color

  9. get_temperature_simple

    Mock temperature data for testing

  10. test_simple

    Simple test tool for connection verification