Skip to content

Add App Service web app application setting tools#1831

Merged
alzimmermsft merged 5 commits intomicrosoft:mainfrom
alzimmermsft:AppServiceWebAppAppSettingsTools
Feb 27, 2026
Merged

Add App Service web app application setting tools#1831
alzimmermsft merged 5 commits intomicrosoft:mainfrom
alzimmermsft:AppServiceWebAppAppSettingsTools

Conversation

@alzimmermsft
Copy link
Copy Markdown
Contributor

What does this PR do?

Add App Service web app application setting tools for listing application settings and modifying them (add, set, and delete).

GitHub issue number?

[Link to the GitHub issue this PR addresses]

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages (cleanup guide)
    • Added comprehensive tests for new/modified functionality
    • Updated servers/Azure.Mcp.Server/CHANGELOG.md and/or servers/Fabric.Mcp.Server/CHANGELOG.md for product changes (features, bug fixes, UI/UX, updated dependencies)
  • For MCP tool changes:
    • One tool per PR: This PR adds or modifies only one MCP tool for faster review cycles
    • Updated servers/Azure.Mcp.Server/README.md and/or servers/Fabric.Mcp.Server/README.md documentation
    • Validate README.md changes using script at eng/scripts/Process-PackageReadMe.ps1. See Package README
    • Updated command list in /servers/Azure.Mcp.Server/docs/azmcp-commands.md and/or /docs/fabric-commands.md
    • Run .\eng\scripts\Update-AzCommandsMetadata.ps1 to update tool metadata in azmcp-commands.md (required for CI)
    • For new or modified tool descriptions, ran ToolDescriptionEvaluator and obtained a score of 0.4 or more and a top 3 ranking for all related test prompts
    • For tools with new names, including new tools or renamed tools, update consolidated-tools.json
    • For new tools associated with Azure services or publicly available tools/APIs/products, add URL to documentation in the PR description
  • Extra steps for Azure MCP Server tool changes:
    • Updated test prompts in /servers/Azure.Mcp.Server/docs/e2eTestPrompts.md
    • 👉 For Community (non-Microsoft team member) PRs:
      • Security review: Reviewed code for security vulnerabilities, malicious code, or suspicious activities before running tests (crypto mining, spam, data exfiltration, etc.)
      • Manual tests run: added comment /azp run mcp - pullrequest - live to run Live Test Pipeline

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds two new tools for managing Azure App Service web app application settings: one for listing/getting settings and another for updating them (add, set, delete operations).

Changes:

  • Added AppSettingsGetCommand to retrieve application settings for a web app
  • Added AppSettingsUpdateCommand to add, set, or delete application settings
  • Introduced comprehensive unit and live tests for both commands
  • Updated documentation including command reference and test prompts
  • Registered new commands in consolidated tools configuration

Reviewed changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
tools/Azure.Mcp.Tools.AppService/src/Commands/Webapp/Settings/AppSettingsGetCommand.cs New command for retrieving app settings
tools/Azure.Mcp.Tools.AppService/src/Commands/Webapp/Settings/AppSettingsUpdateCommand.cs New command for modifying app settings with validation
tools/Azure.Mcp.Tools.AppService/src/Services/AppServiceService.cs Service implementation for get and update operations
tools/Azure.Mcp.Tools.AppService/src/Services/IAppServiceService.cs Interface additions for app settings operations
tools/Azure.Mcp.Tools.AppService/src/Options/Settings/AppSettingsUpdateCommandOptions.cs Options class for update command parameters
tools/Azure.Mcp.Tools.AppService/src/Options/AppServiceOptionDefinitions.cs New option definitions for setting name, value, and update type
tools/Azure.Mcp.Tools.AppService/src/Commands/BaseAppServiceCommand.cs Updated to support optional vs required resource groups
tools/Azure.Mcp.Tools.AppService/src/Commands/AppServiceJsonContext.cs Added JSON serialization context for new result types
tools/Azure.Mcp.Tools.AppService/src/AppServiceSetup.cs Registered new commands with DI and command groups
tools/Azure.Mcp.Tools.AppService/tests/Azure.Mcp.Tools.AppService.UnitTests/Commands/Webapp/Settings/*.cs Comprehensive unit tests for both commands
tools/Azure.Mcp.Tools.AppService/tests/Azure.Mcp.Tools.AppService.LiveTests/Webapp/Settings/*.cs Live integration tests for both commands
tools/Azure.Mcp.Tools.AppService/tests/Azure.Mcp.Tools.AppService.LiveTests/BaseAppServiceCommandLiveTests.cs Base class to consolidate common test sanitizers
tools/Azure.Mcp.Tools.AppService/tests/test-resources.bicep Added app settings to test web app resource
servers/Azure.Mcp.Server/docs/azmcp-commands.md Added command documentation and examples
servers/Azure.Mcp.Server/docs/e2eTestPrompts.md Added test prompts for new commands
core/Microsoft.Mcp.Core/src/Areas/Server/Resources/consolidated-tools.json Registered new tools in consolidated tool list

Comment thread core/Microsoft.Mcp.Core/src/Areas/Server/Resources/consolidated-tools.json Outdated
Comment thread servers/Azure.Mcp.Server/docs/azmcp-commands.md Outdated
Comment thread core/Microsoft.Mcp.Core/src/Areas/Server/Resources/consolidated-tools.json Outdated
Comment thread tools/Azure.Mcp.Tools.AppService/src/Services/AppServiceService.cs Outdated
Comment thread core/Microsoft.Mcp.Core/src/Areas/Server/Resources/consolidated-tools.json Outdated
@github-project-automation github-project-automation Bot moved this from Untriaged to In Progress in Azure MCP Server Feb 27, 2026
@alzimmermsft alzimmermsft merged commit 16eb4b9 into microsoft:main Feb 27, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Azure MCP Server Feb 27, 2026
@alzimmermsft alzimmermsft deleted the AppServiceWebAppAppSettingsTools branch February 27, 2026 21:10
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Apr 20, 2026
* Add App Service web app application setting tools

* Update Azure MCP README

* Cleanup

* Fix recording name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools-AppService tools for app service

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants