{"id":"b723db23-5462-4059-ad11-0de0670acfae","shortId":"AvSg8S","kind":"skill","title":"Mcp Hass","tagline":"Skills skill by Aahl","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"],"capabilities":["skill","source-aahl","category-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/aahl/skills/mcp-hass","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under aahl/skills","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T02:40:41.967Z","embedding":null,"createdAt":"2026-04-18T20:33:15.398Z","updatedAt":"2026-04-23T02:40:41.967Z","lastSeenAt":"2026-04-23T02:40:41.967Z","tsv":"'/api/mcp':117 '/redirect/config_flow_start?domain=mcp)':49 '/steipete/mcporter/raw/refs/heads/main/docs/call-syntax.md':272 '/steipete/mcporter/raw/refs/heads/main/docs/cli-reference.md':275 '0':184,215 '100':188,219 '50':205 '80':233 'aahl':6 'access':88,122 'add':45,98,106 'all-paramet':252 'area':152,171,230 'assist':8,11,26,31,109,250 'author':119 'base':84,114 'bearer':120 'bedroom':143,153,164,172,202,231 'bottom':40 'bright':177,204 'brows':27 'button':50 'call':131,140,148,161,169,199,226 'category-skills' 'color':192,195 'command':96,237,269 'compat':259 'complet':64 'config':67,105 'configur':81,100 'context':56 'control':9,175,206 'corner':42 'devic':36,136,157 'domain':173 'enabl':21 'environ':90 'execut':93,234,268 'exist':76 'fan':207,213,229 'follow':58,95,236 'full':221 'fulli':190 'get':126 'github.com':271,274 'github.com/steipete/mcporter/raw/refs/heads/main/docs/call-syntax.md':270 'github.com/steipete/mcporter/raw/refs/heads/main/docs/cli-reference.md':273 'go':33 'hass':2,83,87,113,121 'header':118 'home':7,10,13,25,30,108,249 'home-assist':107,248 'home-assistant.getlivecontext':132 'home-assistant.hassfansetspeed':227 'home-assistant.hasslightset':200 'home-assistant.hassturnoff':162,170 'home-assistant.hassturnon':141,149 'homeassistant.local:8123':116 'http':111 'improv':258 'instanc':32 'instead':264 'instruct':60 'integr':46 'learn':239 'light':144,151,165,174,176,182,203 'list':53,247 'lit':191 'mcp':1,18,22,72 'mcporter':104,130,139,147,160,168,198,225,246,256,263,266 'method':243 'model':55 'my.home-assistant.io':48 'my.home-assistant.io/redirect/config_flow_start?domain=mcp)':47 'name':142,150,163,193,201,228 'npx':102,128,137,145,158,166,196,223,244,261 'paramet':254 'percentag':179,208,210,232 'prerequisit':20 'prompt':69 'protocol':19,57 'queri':15 'remind':77 'right':41 'schema':251 'screen':62 'select':43,54 'server':23,73 'servic':37 'set':35 'setup':66 'shell':101,125 'skill':3,4 'smart':12 'source-aahl' 'specif':241 'speed':222 'state':16,127 'token':89,123 'transport':110 'turn':133,154 'url':85,112,115 'usag':124,242 'use':17,260 'user':79 'variabl':91 'y':103,129,138,146,159,167,197,224,245,262","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-04-23T00:54:56.287Z"},{"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-04-23T02:40:41.967Z"}],"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","source":"skills_sh","category":"skills","skills_sh_url":"https://skills.sh/aahl/skills/mcp-hass"},"updatedAt":"2026-04-23T02:40:41.967Z"}}