From 126452efd30860263398a152f11f337007f529f4 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 15 May 2025 16:44:59 -0700 Subject: [PATCH] Fixes to auto-download/start azsdk mcp (#6578) Co-authored-by: Ben Broderick Phillips --- eng/common/mcp/azure-sdk-mcp.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/mcp/azure-sdk-mcp.ps1 b/eng/common/mcp/azure-sdk-mcp.ps1 index a344051f7..ade107e40 100755 --- a/eng/common/mcp/azure-sdk-mcp.ps1 +++ b/eng/common/mcp/azure-sdk-mcp.ps1 @@ -1,7 +1,7 @@ #!/bin/env pwsh param( - [string]$FileName = 'azsdk', + [string]$FileName = 'Azure.Sdk.Tools.Cli', [string]$Package = 'azsdk', [string]$Version, # Default to latest [string]$InstallDirectory = (Join-Path $HOME ".azure-sdk-mcp" "azsdk"), @@ -56,5 +56,5 @@ $exe = Install-Standalone-Tool ` -Repository $Repository if ($Run) { - Start-Process -FilePath $exe -NoNewWindow -Wait -} \ No newline at end of file + Start-Process -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait +}