Skip to main content
Glama

Home Assistant MCP Server

server.sh490 B
#!/bin/bash # Try to use Bun if available, fallback to Node.js if command -v ~/.bun/bin/bun >/dev/null 2>&1; then echo "Using Bun from ~/.bun/bin/bun" ~/.bun/bin/bun run --env-file /Users/linus/Code/mcp-hass-server/.env src/index.ts --stdio - elif command -v bun >/dev/null 2>&1; then echo "Using system Bun" bun run --env-file /Users/linus/Code/mcp-hass-server/.env src/index.ts --stdio - else echo "Bun not found, using Node.js" node --no-warnings dist/index.js --stdio fi

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