Skip to content

Add instructions on configure Azure MCP for GitHub coding agent#888

Merged
fanyang-mono merged 4 commits intomicrosoft:mainfrom
fanyang-mono:add_codingAgent_config_info
Oct 20, 2025
Merged

Add instructions on configure Azure MCP for GitHub coding agent#888
fanyang-mono merged 4 commits intomicrosoft:mainfrom
fanyang-mono:add_codingAgent_config_info

Conversation

@fanyang-mono
Copy link
Copy Markdown
Contributor

@fanyang-mono fanyang-mono commented Oct 20, 2025

What does this PR do?

Add instructions on configuring Azure MCP for GitHub coding agent

GitHub issue number?

Fixes #854
Specifically to address this comment: #854 (comment)

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
    • 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 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 PR adds support for configuring Azure MCP for GitHub coding agents by introducing a new "coding-agent" resource type to the Azure Best Practices tool. The changes enable users to get instructions on how to configure Azure MCP in their coding agent environment.

Key Changes:

  • Added "coding-agent" as a new resource type to the Azure Best Practices tool
  • Created best practices content for coding agent configuration
  • Added test coverage for the new resource type

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
BestPracticesCommand.cs Added "coding-agent" to resource validation and file mapping logic
BestPracticesOptionDefinitions.cs Updated descriptions to include "coding-agent" resource option
azure-coding-agent-best-practices.txt New resource file containing configuration instructions
BestPracticesCommandTests.cs Added unit tests for the new "coding-agent" resource type
e2eTestPrompts.md Added test prompt for coding agent configuration
azure-rules.txt Added rule to invoke bestpractices tool for coding agent queries

Copy link
Copy Markdown
Member

@joshfree joshfree left a comment

Choose a reason for hiding this comment

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

Approved with Copilot text fix applied.

@fanyang-mono fanyang-mono enabled auto-merge (squash) October 20, 2025 22:48
@fanyang-mono fanyang-mono merged commit 7e8eea5 into microsoft:main Oct 20, 2025
24 checks passed
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in Azure MCP Server Oct 20, 2025
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Dec 8, 2025
…osoft#888)

* Add instructions on configure Azure MCP for coding agent

* Update CHANGELOG

* Update azure-coding-agent-best-practices.txt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Josh Free <joshfree@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Azure CLI prompts do not trigger the corresponding tool as expected

4 participants