Azure / Azure/azure-sdk-tools

Azure-sdk-mcp fails to start when it can't find pwsh

Open
#13,716 2 comments 0 reactions 1 assignee Claimed by @JennyPng View on GitHub
AzSDK Tools Agent
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

I cloned the azure-sdk-for-go repo on a clean/stock Win11 x64. I started VS/Code. Opening the folder at the root. The extension was installed. When the mcp went to run it failed.

2026-01-26 10:18:53.630 [info] Starting server azure-sdk-mcp
2026-01-26 10:18:53.630 [info] Connection state: Starting
2026-01-26 10:18:53.630 [info] Starting server from LocalProcess extension host
2026-01-26 10:18:53.637 [info] Connection state: Starting
2026-01-26 10:18:53.640 [info] Connection state: Error spawn pwsh ENOENT

I was able to manually fix by installing Powershell 7
"winget install Microsoft.Powershell"

Expected:
The mcp should recognize that powershell 7 isn't installed and present an option to install it for you. Or it should link you to how to fix the problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.