From a2189cb88a295ebad6268b9b08c893cd65bc1d89 Mon Sep 17 00:00:00 2001 From: Christopher Toth Date: Tue, 14 Oct 2025 11:45:19 -0600 Subject: [PATCH] fix: Update Claude CLI commands to new mcp syntax The Claude CLI recently changed its configuration commands from 'claude config add-server' to 'claude mcp add -s user' and from 'claude config list' to 'claude mcp list'. This updates the PowerShell setup script to detect and configure the zen server using the new command syntax, fixing configuration detection for Windows users. Changes: - Updated Test-ClaudeCliIntegration to use 'claude mcp list' - Updated instructions to use 'claude mcp add -s user' syntax --- run-server.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run-server.ps1 b/run-server.ps1 index b22b7c1..2a32195 100644 --- a/run-server.ps1 +++ b/run-server.ps1 @@ -1489,18 +1489,18 @@ function Test-ClaudeCliIntegration { Write-Info "Claude CLI detected - checking configuration..." try { - $claudeConfig = claude config list 2>$null + $claudeConfig = claude mcp list 2>$null if ($claudeConfig -match "zen") { Write-Success "Claude CLI already configured for zen server" } else { Write-Info "To add zen server to Claude CLI, run:" - Write-Host " claude config add-server zen $PythonPath $ServerPath" -ForegroundColor Cyan + Write-Host " claude mcp add -s user zen $PythonPath $ServerPath" -ForegroundColor Cyan } } catch { Write-Info "To configure Claude CLI manually, run:" - Write-Host " claude config add-server zen $PythonPath $ServerPath" -ForegroundColor Cyan + Write-Host " claude mcp add -s user zen $PythonPath $ServerPath" -ForegroundColor Cyan } }