
Description
mcp-hass is an agent skill for controlling Home Assistant smart home devices and querying their states through the Model Context Protocol. Before the agent can use it, the skill walks you through enabling the MCP integration in Home Assistant: open your instance, go to Settings and then Devices and services, select the add integration button, choose Model Context Protocol, and follow the prompts. The agent then needs the base URL of your Home Assistant instance and an access token. When the MCP server is missing, the skill asks you to set the HASS_BASE_URL and HASS_ACCESS_TOKEN environment variables and gives a command that registers a home-assistant server over HTTP using the instance's /api/mcp endpoint with a bearer token. The default base URL is a local address on port 8123, which you should change to match your own instance.…
Highlights
- Controls Home Assistant devices through MCP
- Queries states of sensors and devices
- Step-by-step enabling of the MCP integration
- Registers the server with a bearer token
- Uses environment variables for the URL and token
Ratings & Reviews
No ratings yet
Be the first to rate mcp-hass.
People also visit

XixianLiang/HarmonyOS-mcp-server
Device control and UI automation for HarmonyOS Next devices
mcp-hass FAQ
What does the skill do?
It lets an agent control Home Assistant devices and check their states through the Model Context Protocol.
What do I need to set up?
Enable the Model Context Protocol integration in Home Assistant, then set HASS_BASE_URL and HASS_ACCESS_TOKEN for your instance.
Where does the access token come from?
The skill expects a token for your Home Assistant instance, sent as a bearer token. Keep it in an environment variable.
How do I install it?
Run npx skills add https://github.com/aahl/skills --skill mcp-hass.
What were the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best mcp-hass alternatives?
Popular alternatives to mcp-hass include ha-mcp, hass-builder and mcp-developer. See all mcp-hass alternatives


















