Home Assistant MCP
Asistente de hogar MCP
Se trata de un servidor MCP (Protocolo de contexto de modelo) que proporciona herramientas para la integración con Home Assistant, permitiendo que los asistentes de IA interactúen con dispositivos domésticos inteligentes.
Configuración
Instalación mediante herrería
Para instalar Home Assistant Integration para Claude Desktop automáticamente a través de Smithery :
npx -y @smithery/cli install @guilhermelirio/homeassistant-mpc --client claudeInstalación manual
Instalar dependencias:
npm installConfigurar variables de entorno:
Obtenga un token de acceso de larga duración de su Home Assistant
Configure las variables de entorno en un archivo
.enven la raíz del proyecto:
HOME_ASSISTANT_URL=http://your-home-assistant:8123
HOME_ASSISTANT_TOKEN=your_token_hereRelated MCP server: Enhanced Home Assistant MCP
Iniciando el servidor
npm startPara desarrollo:
npm run devHerramientas disponibles
Verificación de la API de Home Assistant
homeassistant_api : verifica si la API de Home Assistant está en línea
Parámetros: ninguno
Ejemplo:
homeassistant_api()
Obtener el estado de la entidad
homeassistant_get_state : Obtiene el estado actual de una entidad de Home Assistant
Parámetros:
entity_id(ID de la entidad)Ejemplo:
homeassistant_get_state("light.living_room")
Servicios de llamadas
homeassistant_call_service : llama a un servicio para una entidad de Home Assistant
Parámetros:
entity_id(ID de entidad)domain(dominio de servicio)service(servicio a llamar)
Ejemplo:
homeassistant_call_service("light.living_room", "light", "turn_on")
Desarrollo
Este proyecto utiliza TypeScript y la biblioteca MCP SDK para crear herramientas a las que pueden acceder modelos de lenguaje como Claude, GPT, etc.
Para agregar nuevas herramientas:
Crear un módulo en
src/tools/[category]Implementa tus herramientas siguiendo el patrón existente
Registra el módulo en
src/index.ts
Contribuciones
¡Agradecemos sus contribuciones! No dude en abrir problemas o enviar solicitudes de incorporación de cambios.
Licencia
Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control and monitor Home Assistant smart home devices through natural language interactions. Supports device control, entity state monitoring, history access, and automation generation with both MCP protocol and standalone HTTP REST API modes.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive control and monitoring of Home Assistant smart home devices, automations, scenes, and system management through AI assistants. Supports lights, climate, media players, notifications, history tracking, and advanced automation workflows.92MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Home Assistant smart home devices through natural language. Control devices, manage automations, query entity states, and retrieve historical data across your home automation system.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with Home Assistant to control smart home devices, query entity states, and manage automations using natural language. It provides over 90 tools for comprehensive system management, including dashboard configuration, service execution, and automation debugging.MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Universal AI API Orchestrator — 1,554 tools, 96 services. One install.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guilhermelirio/homeassistant-mpc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server