Skip to content

Commit df004a1

Browse files
committed
Add Home Assistant MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 2fd91f8 commit df004a1

1 file changed

Lines changed: 87 additions & 0 deletions

File tree

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "voska.homeassistant-mcp-docker",
4+
"name": "Home Assistant (Docker)",
5+
"alias": "home-assistant",
6+
"description": "Control and query your Home Assistant smart home from AI assistants via Docker. Get device and sensor states, control entities, summarize your home, search entities, and troubleshoot automations.",
7+
"logo": "https://avatars.githubusercontent.com/u/3444419?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"productivity"
11+
],
12+
"tags": [
13+
"home-assistant",
14+
"smart-home",
15+
"home-automation",
16+
"iot",
17+
"docker"
18+
],
19+
"transport": {
20+
"type": "stdio",
21+
"command": "docker",
22+
"args": [
23+
"run",
24+
"-i",
25+
"--rm",
26+
"-e",
27+
"HA_URL",
28+
"-e",
29+
"HA_TOKEN",
30+
"voska/hass-mcp"
31+
],
32+
"env": {
33+
"HA_URL": "${input:HA_URL}",
34+
"HA_TOKEN": "${input:HA_TOKEN}"
35+
},
36+
"metadata": {
37+
"inputs": [
38+
{
39+
"id": "HA_URL",
40+
"label": "Home Assistant URL",
41+
"description": "Base URL of your Home Assistant instance. The container reaches it over the network, so use a routable hostname or IP (e.g. http://homeassistant.local:8123), not localhost.",
42+
"type": "url",
43+
"required": true,
44+
"placeholder": "http://homeassistant.local:8123"
45+
},
46+
{
47+
"id": "HA_TOKEN",
48+
"label": "Long-Lived Access Token",
49+
"description": "A Home Assistant Long-Lived Access Token used to authenticate API requests.",
50+
"type": "text",
51+
"required": true,
52+
"secret": true,
53+
"placeholder": "********************",
54+
"obtain": {
55+
"url": "https://www.home-assistant.io/docs/authentication/#your-account-profile",
56+
"instructions": "1. Open Home Assistant in your browser\n2. Click your user profile (bottom-left)\n3. Go to the Security tab and scroll to Long-Lived Access Tokens\n4. Click Create Token, name it, and copy the value (shown only once)",
57+
"button_label": "Open Profile"
58+
}
59+
}
60+
]
61+
}
62+
},
63+
"auth": {
64+
"type": "api_key",
65+
"instructions": "Create a Long-Lived Access Token in your Home Assistant profile (Security > Long-Lived Access Tokens) and set HA_URL to your instance address."
66+
},
67+
"contributor": {
68+
"name": "voska",
69+
"github": "voska",
70+
"url": "https://github.com/voska/hass-mcp"
71+
},
72+
"links": {
73+
"repository": "https://github.com/voska/hass-mcp",
74+
"homepage": "https://github.com/voska/hass-mcp",
75+
"documentation": "https://github.com/voska/hass-mcp#readme"
76+
},
77+
"platforms": [
78+
"all"
79+
],
80+
"capabilities": {
81+
"tools": true,
82+
"resources": true,
83+
"prompts": true,
84+
"read_only_mode": false
85+
},
86+
"changelog_url": "https://github.com/voska/hass-mcp/releases"
87+
}

0 commit comments

Comments
 (0)