H
hekmon8/Homeassistant-server-mcp
Control and monitor Home Assistant devices
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Client config (built from the install command this repo gives)
{
"mcpServers": {
"hekmon8-homeassistant-server-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}Parsed from the README we fetched on 2026-11-06; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"hekmon8-homeassistant-server-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio hekmon8-homeassistant-server-mcp -- npx -y @smithery/cli
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx -y @smithery/cli
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx -y @smithery/cli. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# Home Assistant MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
## 🌟 Sponsors
| Website | Description |
| ProductDirs.com | AI Tools Directory & Launch Platform - Free submission service for discovering and promoting AI SaaS products, startups, and developer tools with community-driven rankings |
| ThisTools.app | AI SaaS Discovery Platform - Free listing directory for artificial intelligence software, automation tools, and productivity applications with curated collections |
| AIImgCombiner.com | AI-Powered Image Fusion Tool - Free online service for merging and combining photos using artificial intelligence with preset styles and custom prompts for professional results |
A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.
This project is part of the AI Model Context Protocol (MCP) ecosystem. For more information and documentation about MCP tools, visit www.aimcp.info.
## Features
Get device states
Control device states (on/off)
Trigger automations
List available entities
## Installation
### Installing via Smithery
To install Home Assistant MCP Server for Claude Desktop automatically via Smithery:
bash
npx -y @smithery/cli install @hekmon8/Homeassistant-server-mcp --client claude
### Manual Installation
1. Clone this repository:
bash
git clone https://github.com/yourusername/homeassistant-server-mcp.git
cd homeassistant-server-mcp
2. Install dependencies:
bash
npm install
3. Build the project:
bash
npm run build
4. Configure the MCP server by adding the following to your MCP settings file (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/clinemcpsettings.json for VSCode):
json
"mcpServers": {
"homeassistant": {
"command": "node",
"args": ["/path/to/homeassistant-mcp/homeassistant-server/build/index.js"],
"env": {
"HAURL": "http://your-homeassistant-url:8123",
"HATOKEN": "your-long-lived-access-token"
Replace your-homeassistant-url and your-long-lived-access-token with your Home Assistant instance URL and access token.
## Usage
The server provides the following tools:
### 1. Get Device State
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "getstate",
arguments: {
entityid: "light.livingroom"
});
### 2. Toggle Device State
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "toggleentity",
arguments: {
entityid: "switch.bedroom",
state: "on" // or "off"
});
### 3. Trigger Automation
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "triggerautomation",
arguments: {
automationid: "automation.morningroutine"
});
### 4. List Entities
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "listentities",
arguments: {
domain: "light" // optional, filters by domain
});
## Contributing
Contributions are welcome! Here's how you can help:
1. Fork the repository
2. Create your feature branch (git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add some amazing feature')
| Website | Description |
| ProductDirs.com | AI Tools Directory & Launch Platform - Free submission service for discovering and promoting AI SaaS products, startups, and developer tools with community-driven rankings |
| ThisTools.app | AI SaaS Discovery Platform - Free listing directory for artificial intelligence software, automation tools, and productivity applications with curated collections |
| AIImgCombiner.com | AI-Powered Image Fusion Tool - Free online service for merging and combining photos using artificial intelligence with preset styles and custom prompts for professional results |
A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.
This project is part of the AI Model Context Protocol (MCP) ecosystem. For more information and documentation about MCP tools, visit www.aimcp.info.
## Features
Get device states
Control device states (on/off)
Trigger automations
List available entities
## Installation
### Installing via Smithery
To install Home Assistant MCP Server for Claude Desktop automatically via Smithery:
bash
npx -y @smithery/cli install @hekmon8/Homeassistant-server-mcp --client claude
### Manual Installation
1. Clone this repository:
bash
git clone https://github.com/yourusername/homeassistant-server-mcp.git
cd homeassistant-server-mcp
2. Install dependencies:
bash
npm install
3. Build the project:
bash
npm run build
4. Configure the MCP server by adding the following to your MCP settings file (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/clinemcpsettings.json for VSCode):
json
"mcpServers": {
"homeassistant": {
"command": "node",
"args": ["/path/to/homeassistant-mcp/homeassistant-server/build/index.js"],
"env": {
"HAURL": "http://your-homeassistant-url:8123",
"HATOKEN": "your-long-lived-access-token"
Replace your-homeassistant-url and your-long-lived-access-token with your Home Assistant instance URL and access token.
## Usage
The server provides the following tools:
### 1. Get Device State
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "getstate",
arguments: {
entityid: "light.livingroom"
});
### 2. Toggle Device State
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "toggleentity",
arguments: {
entityid: "switch.bedroom",
state: "on" // or "off"
});
### 3. Trigger Automation
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "triggerautomation",
arguments: {
automationid: "automation.morningroutine"
});
### 4. List Entities
typescript
// Example usage
usemcptool({
servername: "homeassistant",
toolname: "listentities",
arguments: {
domain: "light" // optional, filters by domain
});
## Contributing
Contributions are welcome! Here's how you can help:
1. Fork the repository
2. Create your feature branch (git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add some amazing feature')
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/hekmon8-homeassistant-server-mcp/)
- Source
- awesome · https://github.com/hekmon8/Homeassistant-server-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.