Merge pull request #288 from ctoth/fix/claude-cli-mcp-commands

This commit is contained in:
Beehive Innovations
2025-10-15 08:12:17 +04:00
committed by GitHub

View File

@@ -1489,18 +1489,18 @@ function Test-ClaudeCliIntegration {
Write-Info "Claude CLI detected - checking configuration..." Write-Info "Claude CLI detected - checking configuration..."
try { try {
$claudeConfig = claude config list 2>$null $claudeConfig = claude mcp list 2>$null
if ($claudeConfig -match "zen") { if ($claudeConfig -match "zen") {
Write-Success "Claude CLI already configured for zen server" Write-Success "Claude CLI already configured for zen server"
} }
else { else {
Write-Info "To add zen server to Claude CLI, run:" 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 { catch {
Write-Info "To configure Claude CLI manually, run:" 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
} }
} }