Specify run directory as repo root for mcp runner (#6586)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-06-03 13:13:43 -07:00 committed by GitHub
parent 4aa299da03
commit ac3e303859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@ param(
[string]$Version, # Default to latest
[string]$InstallDirectory = (Join-Path $HOME ".azure-sdk-mcp" "azsdk"),
[string]$Repository = 'Azure/azure-sdk-tools',
[string]$RunDirectory = (Resolve-Path (Join-Path $PSScriptRoot .. .. ..)),
[switch]$Run,
[switch]$UpdateVsCodeConfig,
[switch]$Clean
@ -56,5 +57,5 @@ $exe = Install-Standalone-Tool `
-Repository $Repository
if ($Run) {
Start-Process -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait
Start-Process -WorkingDirectory $RunDirectory -FilePath $exe -ArgumentList 'start' -NoNewWindow -Wait
}