diff --git a/servers/Azure.Mcp.Server/CHANGELOG.md b/servers/Azure.Mcp.Server/CHANGELOG.md index 797bfce15b..f0d0234548 100644 --- a/servers/Azure.Mcp.Server/CHANGELOG.md +++ b/servers/Azure.Mcp.Server/CHANGELOG.md @@ -9,6 +9,7 @@ The Azure MCP Server updates automatically by default whenever a new release com ### Breaking Changes ### Bugs Fixed +- Updated Azure Function code generation best practices instrunctions to include Azure examples to help LLM not generating undesiable patterns. [[#1267](https://github.com/microsoft/mcp/pull/1267)] ### Other Changes diff --git a/tools/Azure.Mcp.Tools.AzureBestPractices/src/Resources/azure-functions-codegen-best-practices.txt b/tools/Azure.Mcp.Tools.AzureBestPractices/src/Resources/azure-functions-codegen-best-practices.txt index 45a1cf59f3..5c34c6535c 100644 --- a/tools/Azure.Mcp.Tools.AzureBestPractices/src/Resources/azure-functions-codegen-best-practices.txt +++ b/tools/Azure.Mcp.Tools.AzureBestPractices/src/Resources/azure-functions-codegen-best-practices.txt @@ -1,4 +1,5 @@ Azure Functions code generation best practices: + - Learn the coding best practices from Azure examples listed at https://github.com/Azure-Samples - Use the latest programming models (v4 for JavaScript, v2 for Python) - If the project runtime is Python or Node.js, do not create a function.json file - Only if the project runtime is .NET, PowerShell or Java create a function.json file with the required bindings and triggers.