Skip to main content
Glama

Home Assistant MCP Server

hass.sh338 B
#!/bin/bash set -e . .env curl -k -X POST -H "Authorization: Bearer $HASS_TOKEN" -H "Content-Type: application/json" -d '{ "function_name": "light", "parameters": { "action": "turn_on", "domain": "light", "service_data": {"entity_id": "light.bed"}, "brightness_pct": 75 } }' "http://homeassistant.local:8123/api/services/light/turn_off"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oleander/home-assistant-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server