Home Assistant
About
Demonstrates light control in Home Assistant by comparing OpenAI function calling with a standardized protocol for external tool interaction
Details
- Author
- andrelandgraf
- Repository
- andrelandgraf/mcp-vs-function-calling
- GitHub stars
- 4
- Categories
- Productivity, Developer Tools, AI, Infrastructure
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Home AssistantCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/Users/andrelandgraf/workspaces/mcps/mcp-server/dist/index.js
Environment-
HOME_ASSISTANT_API_TOKEN
<your-home-assistant-api-token>
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
control_lights
Control the lights in your home through the Home Assistant API. This function allows LLMs to send commands to adjust the lighting conditions.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"home assistant": {
"env": {
"HOME_ASSISTANT_API_TOKEN": "<your-home-assistant-api-token>"
},
"args": [
"/Users/andrelandgraf/workspaces/mcps/mcp-server/dist/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"HOME_ASSISTANT_API_TOKEN": "<your-home-assistant-api-token>"
},
"args": [
"/Users/andrelandgraf/workspaces/mcps/mcp-server/dist/index.js"
],
"command": "node"
}
Macos
{
"env": {
"HOME_ASSISTANT_API_TOKEN": "<your-home-assistant-api-token>"
},
"args": [
"/Users/andrelandgraf/workspaces/mcps/mcp-server/dist/index.js"
],
"command": "node"
}
Windows
{
"env": {
"HOME_ASSISTANT_API_TOKEN": "<your-home-assistant-api-token>"
},
"args": [
"/Users/andrelandgraf/workspaces/mcps/mcp-server/dist/index.js"
],
"command": "node"
}
Home Assistant
Home Assistant is an open-source home automation platform. I run it on a Raspberry Pi in my home.
Home Assistant controls my lights, and you can control it via the Home Assistant WebSocket API.
I built out the ./data-manager and ./hass-ws-client utils while playing around with Home Assistant a while ago. I thought it would be a fun example for an external tool. However, the Home Assistant code isn't the focus of this repository.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





