File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,9 +324,16 @@ jobs:
324324 throw "Named Pipe server did not start within 15 seconds"
325325 }
326326
327- # Start Proxy
327+ # Start Proxy (build path directly to avoid importing PowerShell.MCP in test script)
328328 Write-Host "Starting Proxy..."
329- $proxyPath = Get-MCPProxyPath
329+ if ($IsWindows) {
330+ $proxyPath = "$env:USERPROFILE\Documents\PowerShell\Modules\PowerShell.MCP\bin\win-x64\PowerShell.MCP.Proxy.exe"
331+ } elseif ($IsMacOS) {
332+ $proxyPath = "$HOME/.local/share/powershell/Modules/PowerShell.MCP/bin/osx-arm64/PowerShell.MCP.Proxy"
333+ } else {
334+ $proxyPath = "$HOME/.local/share/powershell/Modules/PowerShell.MCP/bin/linux-x64/PowerShell.MCP.Proxy"
335+ }
336+ Write-Host "Proxy path: $proxyPath"
330337 $psi = [System.Diagnostics.ProcessStartInfo]::new()
331338 $psi.FileName = $proxyPath
332339 $psi.RedirectStandardInput = $true
You can’t perform that action at this time.
0 commit comments