mcp-hass
The skill for control Home Assistant smart home devices and query states using MCP protocol.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/al-one/mcp-hassWhat This Skill Does
The mcp-hass skill integrates OpenClaw directly with your Home Assistant environment using the Model Context Protocol (MCP). It allows the AI agent to perceive the current state of your smart home devices and execute control commands seamlessly. Whether you need to adjust lighting, manage climate controls, or query the status of sensors, this skill acts as a bridge between your intelligent assistant and your connected home ecosystem.
Installation
To add this skill to your OpenClaw environment, use the command:
clawhub install openclaw/skills/skills/al-one/mcp-hass
Ensure you have configured the Home Assistant MCP server integration. If you encounter connectivity issues, verify that your environment variables are set correctly:
mcporter config add home-assistant \
--transport http \
--url "${HASS_BASE_URL:-http://homeassistant.local:8123}/api/mcp" \
--header "Authorization=Bearer ${HASS_ACCESS_TOKEN}"
If the mcporter command is not available in your path, use npx -y mcporter as a prefix for all operations.
Use Cases
This skill is designed for home automation enthusiasts and developers looking to add voice or text-based control to their smart home. Typical use cases include:
- Automated Mood Setting: Trigger scenes or adjust brightness and colors of lights throughout the house.
- Energy Management: Query power consumption or adjust fan and HVAC speeds based on room occupancy.
- Home Monitoring: Quickly check the status of locks, windows, or security sensors without opening a dashboard.
Example Prompts
- "Turn off all lights in the bedroom and set the ceiling fan to 50% speed."
- "What is the current brightness level of the living room lights?"
- "I'm leaving the house; please ensure all smart lights are turned off and the climate control is set to away mode."
Tips & Limitations
- Discoverability: Always use
mcporter list home-assistant --schema --all-parametersto view the most accurate list of supported entities and parameters in your specific setup. - Security: Ensure your
HASS_ACCESS_TOKENis kept secure and not hardcoded into scripts stored in version control. - Performance: Complex queries across many devices might introduce slight latency; focus commands on specific areas for faster response times.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-al-one-mcp-hass": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
maishou
商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get the best price, coupons for goods on Chinese e-commerce platforms, compare product prices, and use when users want to shop or get discount information.
edgeone
Deploy HTML content to EdgeOne Pages, return the public URL.
mcp-lark
Based on FeiShu(飞书) / Lark's OpenAPI MCP server, manage user information, chats, emails, cloud documents, multidimensional tables, tasks, calendars, etc.
edge-tts-uvx
Text-to-speech conversion using `uvx edge-tts` for generating audio from text. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.
mcp-vods
用于追剧/追番的技能,为AI提供搜索影视播放地址的能力,并支持在小米电视上直接播放。当用户想搜索影视、动漫、短剧、综艺等节目信息或更新进度时使用此技能。