File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ if 'mcpServers' not in config:
121121# Add/update Home Assistant config (using full path for Claude Desktop compatibility)
122122config['mcpServers']['Home Assistant'] = {
123123 "command": uvx_path,
124- "args": ["ha-mcp@latest"],
124+ "args": ["--refresh", " ha-mcp@latest"],
125125 "env": {
126126 "HOMEASSISTANT_URL": demo_url,
127127 "HOMEASSISTANT_TOKEN": demo_token
140140 "mcpServers": {
141141 "Home Assistant": {
142142 "command": "$UVX_PATH ",
143- "args": ["ha-mcp@latest"],
143+ "args": ["--refresh", " ha-mcp@latest"],
144144 "env": {
145145 "HOMEASSISTANT_URL": "$DEMO_URL ",
146146 "HOMEASSISTANT_TOKEN": "$DEMO_TOKEN "
@@ -157,7 +157,7 @@ printf "\n"
157157# Step 3: Pre-download dependencies
158158printf " ${YELLOW} Step 3: Pre-downloading ha-mcp...${NC} \n"
159159printf " This speeds up Claude Desktop startup...\n"
160- " $UVX_PATH " ha-mcp@latest --version > /dev/null 2>&1 || true
160+ " $UVX_PATH " --refresh ha-mcp@latest --version > /dev/null 2>&1 || true
161161printf " ${GREEN} Dependencies cached${NC} \n"
162162printf " \n"
163163
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ $JsonConfig = @"
7171 "mcpServers": {
7272 "Home Assistant": {
7373 "command": "uvx",
74- "args": ["ha-mcp@latest"],
74+ "args": ["--refresh", " ha-mcp@latest"],
7575 "env": {
7676 "HOMEASSISTANT_URL": "$DemoUrl ",
7777 "HOMEASSISTANT_TOKEN": "$DemoToken "
@@ -114,7 +114,7 @@ Write-Host ""
114114Write-Host " Step 3: Pre-downloading ha-mcp..." - ForegroundColor Yellow
115115Write-Host " This speeds up Claude Desktop startup..."
116116try {
117- & uvx ha- mcp@latest -- version 2>&1 | Out-Null
117+ & uvx -- refresh ha- mcp@latest -- version 2>&1 | Out-Null
118118 Write-Host " Dependencies cached" - ForegroundColor Green
119119} catch {
120120 Write-Host " Pre-download skipped (will download on first use)" - ForegroundColor Yellow
You can’t perform that action at this time.
0 commit comments