microsoft / microsoft/mcp

[BUG]: Azure Functions Get Best Practice adds the wrong requirements for Claude Sonnet 4 in Agent mode

Open
#1,252 1 comment 0 reactions 2 assignees Claimed by @LarryOsterman View on GitHub
bug customer-reported needs-team-attention server-Azure.Mcp tools-BestPractices
Dominant language
C#
Stars
3.7k
Forks
624
Avg merge
2d 20h
Merged PRs (30d)
220

Description

### Describe the bug

If I prompt "Create a Python Function App with a HTTP Trigger" in Agent Mode with Claude Sonnet 4 it adds azure_functions_worker .

Including azure_functions_worker in requirements.txt installs an outdated worker that isn't compatible with the v2 programming model.

This leads to an app that when deployed doesn't work.

### Expected behavior

Check if the App is on the v2 Programming model and do not add this.

### Actual behavior

The requirement is added.

### Reproduction Steps

If I prompt "Create a Python Function App with a HTTP Trigger" in Agent Mode with Claude Sonnet 4 it adds azure_functions_worker .

### Environment

VS Code 1.106.2.

Identifier
ms-azuretools.vscode-azure-mcp-server
Version
1.0.0

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.