A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Slhad Aha MCP.
ConfigurationValidate and manage Home Assistant configuration
STDIO
Pretty useful to test it without IDE
This repository implements a Model Context Protocol (MCP) server for Home Assistant, providing a bridge between Home Assistant and MCP clients.
With this server, you can:
The server supports multiple transport methods:
While exploring existing MCP server implementations for Home Assistant, I found that:
This project aims to address these gaps by providing a reliable and fully functional MCP server with straightforward Docker support and a focus on real-world usability.
Special Mention: Most of the documentation in this project is generated or assisted by AI. As this is a side project (even though I work as a developer), I focus on building fun and working features, and prefer to review and accept generated documentation if it's good enough, rather than writing everything by hand.
This MCP server provides comprehensive tools for interacting with Home Assistant, including:
⚠️ TOKEN COST WARNING
Important: Each tool definition consumes tokens in your LLM context, even if unused! Some tools (like
update-lovelace-config) can cost 4,000+ tokens alone. Consider excluding unnecessary tools to minimize token consumption and maximize conversation efficiency.
For a complete list of all available tools with detailed descriptions and parameters, see the Tools Documentation.
The tools documentation is automatically generated from the MCP server:
This command will:
tools.md)Note: The tools documentation shows the server currently provides 39 tools for comprehensive Home Assistant integration.
src/ - Main source code
hass/ - Home Assistant client and helpersserver/ - MCP server implementationsmcpTransports.ts - Transport layer implementations (HTTP, SSE)tests/ - Test files and Home Assistant config examplesscripts/ - Build and documentation generation scriptsDockerfile - Containerization supportpackage.json - Project dependencies and scriptstsconfig.json - TypeScript configurationvitest.config.ts - Vitest test runner configurationThe MCP server supports multiple transport methods. You can run it using the same command and argument structure as in your mcp_settings.json.
For traditional MCP client integration via stdio (server is launched by MCP client):
For SSE-based MCP communication, you need to run the server separately and then configure the MCP client to connect via URL.
Step 1: Start the SSE server
Step 2: Configure MCP client to connect via URL
For HTTP-based MCP communication, you need to run the server separately and then configure the MCP client to connect via URL.
Step 1: Start the HTTP server
Step 2: Configure MCP client to connect via URL
Start the SSE server directly with npm scripts:
Then configure your MCP client with:
For STDIO transport with containers:
For HTTP/SSE transports, run the server separately in a container:
Step 1: Start the server container
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/slhad-aha-mcp)<a href="https://allmcps.com/mcp/slhad-aha-mcp"><img src="https://allmcps.com/api/badge/slhad-aha-mcp?style=directory" alt="Slhad Aha MCP on AllMCPs" /></a>