Azure / Azure/bicep

Bicep MCP Get File Diagnostic using Windows Paths in WSL2

Open
#19,085 0 comments 0 reactions 0 assignees View on GitHub
bug Needs: Upvote Quality Sprint story: bicep MCP
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Bicep version**
Using `ms-azuretools.vscode-bicep:0.40.2`
Running in WSL2

**Describe the bug**
The Bicep MCP operation "Get Bicep File Diagnostics" threw an error:

`Error: An error occurred reading file. Could not find a part of the path 'C:\home\cjochsjr\\bicep\main.bicep'.`

**To Reproduce**
In a VSCode chat session (running in WSL2 with a bicep project loaded) with the Bicep MCP running, submit the prompt: "Check for diagnostics in my main.bicep"

```

**Additional context**
None.

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.