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 +}