Back to Home
jango-blockchained icon

advanced-homeassistant-mcp

Verified Safe

by jango-blockchained

Overview

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.

Installation

Run Command
npx @jango-blockchained/homeassistant-mcp@latest

Environment Variables

  • HASS_TOKEN
  • JWT_SECRET
  • HASS_HOST
  • HASS_SOCKET_URL
  • ANTHROPIC_API_KEY

Security Notes

The server implements comprehensive security measures including rate limiting, input sanitization (using `sanitize-html` and custom logic), JWT authentication, and security headers (using `helmet`). Critical secrets like `HASS_TOKEN`, `ANTHROPIC_API_KEY`, and `JWT_SECRET` are correctly managed via environment variables. CORS is broadly enabled (`Access-Control-Allow-Origin: *`) in some HTTP contexts, which is often necessary for client-facing APIs like MCP, but should be noted. No direct `eval` calls, code obfuscation, or obvious malicious patterns were found; JSON parsing is used for standard JSON-RPC/WebSocket communication.

Similar Servers

Stats

Interest Score43
Security Score9
Cost ClassMedium
Avg Tokens500
Stars44
Forks18
Last Update2026-01-19

Tags

AISmart HomeHome AssistantMCPAutomationIoT