mcp-hassThe skill for control Home Assistant smart home devices and query states using MCP protocol.
Install via ClawdBot CLI:
clawdbot install al-one/mcp-hassControl Home Assistant smart home and query states using MCP protocol.
Enable MCP server in Home Assistant:
# Get states
mcporter call home-assistant.GetLiveContext
# Turn on the device
mcporter call home-assistant.HassTurnOn(name: "Bedroom Light")
mcporter call home-assistant.HassTurnOn(name: "Light", area: "Bedroom")
# Turn off the device
mcporter call home-assistant.HassTurnOff(name: "Bedroom Light")
mcporter call home-assistant.HassTurnOff(area: "Bedroom", domain: ["light"])
# Control light
# brightness: The percentage of the light, where 0 is off and 100 is fully lit.
# color: Name of color
mcporter call home-assistant.HassLightSet(name: "Bedroom Light", brightness: 50)
# Control fan
# percentage: The percentage of the fan, where 0 is off and 100 is full speed.
mcporter call home-assistant.HassFanSetSpeed(name: "Fan", area: "Bedroom", percentage: 80)
Execute the following command to learn about specific usage methods:
mcporter list home-assistant --schema --all-parametersWhen 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:
mcporter config add home-assistant \
--transport http \
--url "${HASS_BASE_URL:-http://homeassistant.local:8123}/api/mcp" \
--header "Authorization=Bearer \${HASS_ACCESS_TOKEN}"
mcportermcporter does not exist, use npx -y mcporter instead.Generated Mar 1, 2026
Homeowners can automate lighting, climate control, and appliances to enhance comfort and energy efficiency. This skill allows users to control devices like lights and fans via voice or scheduled commands, integrating seamlessly with Home Assistant setups for daily routines.
Property managers can remotely monitor and adjust smart devices in rental units to improve guest experiences and reduce operational costs. This includes turning on lights before check-in or setting fans to specific speeds based on occupancy, all managed through a centralized Home Assistant system.
Small business owners can optimize energy usage by controlling lighting and HVAC systems based on business hours or occupancy sensors. This skill enables automated adjustments to reduce electricity bills and support sustainability goals through Home Assistant integration.
Caregivers can set up automated controls for lights and fans to assist elderly individuals with mobility challenges, enhancing safety and independence. This skill allows for easy voice or remote control via Home Assistant, tailored to daily needs and routines.
Offer a monthly subscription that includes setup, maintenance, and premium features for Home Assistant automation. Revenue comes from recurring fees, with tiers based on the number of devices or advanced controls like energy monitoring.
Provide one-time consulting and installation services for businesses or homeowners looking to integrate Home Assistant with existing smart devices. Revenue is generated through project-based fees, customization, and ongoing support contracts.
Develop and license white-label automation packages to property management companies or IoT manufacturers, using this skill as a core component. Revenue streams include licensing fees and royalties based on deployment scale.
💬 Integration Tip
Ensure HASS_BASE_URL and HASS_ACCESS_TOKEN are correctly set in environment variables before using mcporter commands to avoid connection errors.
Control Sonos speakers (discover/status/play/volume/group).
Control Philips Hue lights/scenes via the OpenHue CLI.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Control Home Assistant smart home devices, run automations, and receive webhook events. Use when controlling lights, switches, climate, scenes, scripts, or any HA entity. Supports bidirectional communication via REST API (outbound) and webhooks (inbound triggers from HA automations).
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.