Skip to content

Commit 5dfa923

Browse files
azure-sdkbenbp
andauthored
Fixes to auto-download/start azsdk mcp (#2614)
Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent 8ed5756 commit 5dfa923

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/common/mcp/azure-sdk-mcp.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/env pwsh
22

33
param(
4-
[string]$FileName = 'azsdk',
4+
[string]$FileName = 'Azure.Sdk.Tools.Cli',
55
[string]$Package = 'azsdk',
66
[string]$Version, # Default to latest
77
[string]$InstallDirectory = (Join-Path $HOME ".azure-sdk-mcp" "azsdk"),
@@ -56,5 +56,5 @@ $exe = Install-Standalone-Tool `
5656
-Repository $Repository
5757

5858
if ($Run) {
59-
Start-Process -FilePath $exe -NoNewWindow -Wait
60-
}
59+
Start-Process -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait
60+
}

0 commit comments

Comments
 (0)