{"id":"b723db23-5462-4059-ad11-0de0670acfae","shortId":"AvSg8S","kind":"skill","title":"mcp-hass","tagline":"The skill for control Home Assistant smart home devices and query states using MCP protocol.","description":"# Home Assistant\nControl Home Assistant smart home and query states using MCP protocol.\n\n## Prerequisites\nEnable MCP server in Home Assistant:\n- Browse to your Home Assistant instance.\n- Go to Settings > Devices & services.\n- In the bottom right corner, select the [+ Add Integration](https://my.home-assistant.io/redirect/config_flow_start?domain=mcp) button.\n- From the list, select Model Context Protocol.\n- Follow the instructions on screen to complete the setup.\n\n## Config\nWhen prompted that the MCP server does not exist, remind the user to configure the `HASS_BASE_URL` and `HASS_ACCESS_TOKEN` environment variables by executing the following command to add the configuration:\n```shell\nnpx -y mcporter config add home-assistant \\\n  --transport http \\\n  --url \"${HASS_BASE_URL:-http://homeassistant.local:8123}/api/mcp\" \\\n  --header \"Authorization=Bearer \\${HASS_ACCESS_TOKEN}\"\n```\n\n## Usage\n```shell\n# Get states\nnpx -y mcporter call home-assistant.GetLiveContext\n\n# Turn on the device\nnpx -y mcporter call home-assistant.HassTurnOn(name: \"Bedroom Light\")\nnpx -y mcporter call home-assistant.HassTurnOn(name: \"Light\", area: \"Bedroom\")\n\n# Turn off the device\nnpx -y mcporter call home-assistant.HassTurnOff(name: \"Bedroom Light\")\nnpx -y mcporter call home-assistant.HassTurnOff(area: \"Bedroom\", domain: [\"light\"])\n\n# Control light\n# brightness: The percentage of the light, where 0 is off and 100 is fully lit.\n# color: Name of color\nnpx -y mcporter call home-assistant.HassLightSet(name: \"Bedroom Light\", brightness: 50)\n\n# Control fan\n# percentage: The percentage of the fan, where 0 is off and 100 is full speed.\nnpx -y mcporter call home-assistant.HassFanSetSpeed(name: \"Fan\", area: \"Bedroom\", percentage: 80)\n```\n\nExecute the following command to learn about specific usage methods:\n- `npx -y mcporter list home-assistant --schema --all-parameters`\n\n## About `mcporter`\n- To improve compatibility, use `npx -y mcporter` instead of `mcporter` when executing commands.\n- https://github.com/steipete/mcporter/raw/refs/heads/main/docs/call-syntax.md\n- https://github.com/steipete/mcporter/raw/refs/heads/main/docs/cli-reference.md","tags":["mcp","hass","skills","aahl","agent-skills","ai-agents","claude-skills","feishu","home-assistant","lark","llm"],"capabilities":["skill","source-aahl","skill-mcp-hass","topic-agent-skills","topic-ai-agents","topic-claude-skills","topic-feishu","topic-home-assistant","topic-lark","topic-llm","topic-mcp","topic-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/aahl/skills/mcp-hass","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add aahl/skills","source_repo":"https://github.com/aahl/skills","install_from":"skills.sh"}},"qualityScore":"0.513","qualityRationale":"deterministic score 0.51 from registry signals: · indexed on github topic:agent-skills · 127 github stars · SKILL.md body (2,138 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:56:14.686Z","embedding":null,"createdAt":"2026-04-18T20:33:15.398Z","updatedAt":"2026-05-18T18:56:14.686Z","lastSeenAt":"2026-05-18T18:56:14.686Z","tsv":"'/api/mcp':129 '/redirect/config_flow_start?domain=mcp)':61 '/steipete/mcporter/raw/refs/heads/main/docs/call-syntax.md':284 '/steipete/mcporter/raw/refs/heads/main/docs/cli-reference.md':287 '0':196,227 '100':200,231 '50':217 '80':245 'access':100,134 'add':57,110,118 'all-paramet':264 'area':164,183,242 'assist':9,20,23,38,43,121,262 'author':131 'base':96,126 'bearer':132 'bedroom':155,165,176,184,214,243 'bottom':52 'bright':189,216 'brows':39 'button':62 'call':143,152,160,173,181,211,238 'color':204,207 'command':108,249,281 'compat':271 'complet':76 'config':79,117 'configur':93,112 'context':68 'control':7,21,187,218 'corner':54 'devic':12,48,148,169 'domain':185 'enabl':33 'environ':102 'execut':105,246,280 'exist':88 'fan':219,225,241 'follow':70,107,248 'full':233 'fulli':202 'get':138 'github.com':283,286 'github.com/steipete/mcporter/raw/refs/heads/main/docs/call-syntax.md':282 'github.com/steipete/mcporter/raw/refs/heads/main/docs/cli-reference.md':285 'go':45 'hass':3,95,99,125,133 'header':130 'home':8,11,19,22,25,37,42,120,261 'home-assist':119,260 'home-assistant.getlivecontext':144 'home-assistant.hassfansetspeed':239 'home-assistant.hasslightset':212 'home-assistant.hassturnoff':174,182 'home-assistant.hassturnon':153,161 'homeassistant.local:8123':128 'http':123 'improv':270 'instanc':44 'instead':276 'instruct':72 'integr':58 'learn':251 'light':156,163,177,186,188,194,215 'list':65,259 'lit':203 'mcp':2,17,30,34,84 'mcp-hass':1 'mcporter':116,142,151,159,172,180,210,237,258,268,275,278 'method':255 'model':67 'my.home-assistant.io':60 'my.home-assistant.io/redirect/config_flow_start?domain=mcp)':59 'name':154,162,175,205,213,240 'npx':114,140,149,157,170,178,208,235,256,273 'paramet':266 'percentag':191,220,222,244 'prerequisit':32 'prompt':81 'protocol':18,31,69 'queri':14,27 'remind':89 'right':53 'schema':263 'screen':74 'select':55,66 'server':35,85 'servic':49 'set':47 'setup':78 'shell':113,137 'skill':5 'skill-mcp-hass' 'smart':10,24 'source-aahl' 'specif':253 'speed':234 'state':15,28,139 'token':101,135 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-skills' 'topic-feishu' 'topic-home-assistant' 'topic-lark' 'topic-llm' 'topic-mcp' 'topic-skills' 'transport':122 'turn':145,166 'url':97,124,127 'usag':136,254 'use':16,29,272 'user':91 'variabl':103 'y':115,141,150,158,171,179,209,236,257,274","prices":[{"id":"5334a65f-fba7-4fa3-844d-1e3a17c2a12c","listingId":"b723db23-5462-4059-ad11-0de0670acfae","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"aahl","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:33:15.398Z"}],"sources":[{"listingId":"b723db23-5462-4059-ad11-0de0670acfae","source":"github","sourceId":"aahl/skills/mcp-hass","sourceUrl":"https://github.com/aahl/skills/tree/main/skills/mcp-hass","isPrimary":false,"firstSeenAt":"2026-04-18T22:10:23.738Z","lastSeenAt":"2026-05-18T18:56:14.686Z"},{"listingId":"b723db23-5462-4059-ad11-0de0670acfae","source":"skills_sh","sourceId":"aahl/skills/mcp-hass","sourceUrl":"https://skills.sh/aahl/skills/mcp-hass","isPrimary":true,"firstSeenAt":"2026-04-18T20:33:15.398Z","lastSeenAt":"2026-05-07T22:40:33.751Z"}],"details":{"listingId":"b723db23-5462-4059-ad11-0de0670acfae","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"aahl","slug":"mcp-hass","github":{"repo":"aahl/skills","stars":127,"topics":["agent-skills","ai-agents","claude-skills","feishu","home-assistant","lark","llm","mcp","skills"],"license":"mit","html_url":"https://github.com/aahl/skills","pushed_at":"2026-05-12T10:12:15Z","description":"AAHL's Agent Skills. 汇集了多种实用的智能体技能，涵盖Home Assistant智能家居控制、微软Edge TTS和智谱GLM-TTS文本转语音、DuckDuckGo搜索、DeepWiki文档检索、加密货币行情、天气预报、Lark/飞书、影视搜索、商品比价等功能","skill_md_sha":"9fa1e7bb98e10dce3c50d37a5ca9676e8509379e","skill_md_path":"skills/mcp-hass/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/aahl/skills/tree/main/skills/mcp-hass"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"mcp-hass","description":"The skill for control Home Assistant smart home devices and query states using MCP protocol."},"skills_sh_url":"https://skills.sh/aahl/skills/mcp-hass"},"updatedAt":"2026-05-18T18:56:14.686Z"}}