MCP ExplorerExplorer

Home Assistant Mcp Agent

@longcwon 9 months ago
11 MIT
FreeCommunity
AI Systems
LiveKit Agent integrated with MCP server of Home Assistant

Overview

What is Home Assistant Mcp Agent

home-assistant-mcp-agent is an integration that connects LiveKit Agents with the Home Assistant’s Model Context Protocol (MCP) Server, enabling voice control of smart home devices.

Use cases

Use cases include controlling smart home devices via voice commands, integrating AI assistants for real-time communication, and enhancing home automation experiences.

How to use

To use home-assistant-mcp-agent, set up the Home Assistant MCP Server, configure your LiveKit agent, and provide the necessary Home Assistant URL and access token in the agent’s configuration.

Key features

Key features include voice control of Home Assistant devices, real-time audio/video communication with AI assistants, and access to Home Assistant entities and services via MCP.

Where to use

home-assistant-mcp-agent can be used in smart home environments, particularly where voice control and AI interaction are desired.

Content

LiveKit Agent integrated with Home Assistant MCP Server

This project integrates LiveKit Agents with Home Assistant’s Model Context Protocol (MCP) Server, allowing voice control of your smart home through LiveKit agents.

Overview

This integration enables:

  • Voice control of Home Assistant devices through LiveKit Agents
  • Real-time audio/video communication with AI assistants
  • Access to Home Assistant entities and services via MCP

Prerequisites

  • Home Assistant with MCP Server integration enabled
  • LiveKit and OpenAI settings
  • Python environment for running the agent

Setup

  1. Configure Home Assistant MCP Server following the official documentation
  2. Set up your LiveKit agent using the LiveKit Agents framework
  3. Configure the agent with your Home Assistant URL and access token

Configuration

# Example configuration
LIVEKIT_URL = "wss://your-livekit-server.com"
LIVEKIT_API_KEY = "your-api-key"
LIVEKIT_API_SECRET = "your-api-secret"

OPENAI_API_KEY

HOME_ASSISTANT_URL = "http://your-homeassistant:8123/mcp_server/sse"
HOME_ASSISTANT_TOKEN = "your-long-lived-access-token"

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers