💬 What Went Wrong?
Running the server in OAuth mode still requires the HOMEASSISTANT_TOKEN variable, contrary to the documentation which mentions:
HOMEASSISTANT_TOKEN is NOT required in OAuth mode. Each user provides their own Long-Lived Access Token via the consent form.
📋 AI-Generated Content / Logs / Config
2026-04-06 11:00:48 ha_mcp.__main__ INFO: OAuth mode logging configured at INFO level
2026-04-06 11:00:48 ha_mcp.auth.provider INFO: HomeAssistantOAuthProvider initialized with base_url=https://home-assistant-mcp.example.com
2026-04-06 11:00:48 ha_mcp.__main__ ERROR: OAuth server error: 1 validation error for Settings
HOMEASSISTANT_TOKEN
Value error, Home Assistant token must be provided [type=value_error, input_value='', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/value_error
🖥️ Client Application
Claude Desktop
📦 Installation Method
Docker (ghcr.io/homeassistant-ai/ha-mcp)
💻 Operating System
Linux
OS Version
Debian 13
📖 Setup Guide Followed
https://github.com/homeassistant-ai/ha-mcp/blob/master/docs/OAUTH.md
🔄 Exact Steps You Followed
Follow setup docs on https://github.com/homeassistant-ai/ha-mcp/blob/master/docs/OAUTH.md
🐍 Python Version
No response
📦 ha-mcp Version
No response
🏠 Home Assistant Version
No response
💡 Additional Context
No response
💬 What Went Wrong?
Running the server in OAuth mode still requires the
HOMEASSISTANT_TOKENvariable, contrary to the documentation which mentions:HOMEASSISTANT_TOKEN is NOT required in OAuth mode. Each user provides their own Long-Lived Access Token via the consent form.📋 AI-Generated Content / Logs / Config
🖥️ Client Application
Claude Desktop
📦 Installation Method
Docker (ghcr.io/homeassistant-ai/ha-mcp)
💻 Operating System
Linux
OS Version
Debian 13
📖 Setup Guide Followed
https://github.com/homeassistant-ai/ha-mcp/blob/master/docs/OAUTH.md
🔄 Exact Steps You Followed
Follow setup docs on https://github.com/homeassistant-ai/ha-mcp/blob/master/docs/OAUTH.md
🐍 Python Version
No response
📦 ha-mcp Version
No response
🏠 Home Assistant Version
No response
💡 Additional Context
No response