Skip to content

[Deploy Tool] Infrastructure Rules Get prompts failed — Deploy Tool not invoked on PR #626 #293

@alzimmermsft

Description

@alzimmermsft

Description:
When running the MCP server in default mode on PR #626 , the Copilot chat does not trigger the Deploy tool for all prompts in the Deploy — Infrastructure Rules Get section. Responses to some of the prompts are as follows:

Image Image Image

Steps to Reproduce:

  1. Run git clone https://github.com/qianwens/azure-mcp/tree/qianwen/deploy and switch branch to qianwen/deploy.
  2. Run dotnet build.
  3. Run az login.
  4. Configure mcp.json in default mode.
  5. Start mcp server.
  6. Open GitHub Copilot in VS Code and switch to Agent mode.
  7. Click Refresh on the tool list to select only the MCP Server tool in default mode.
  8. Enter test prompts Review my Bicep templates and list infrastructure best practices I should adopt..

Environment:

  • OS: Windows.
  • Vscode Insiders Version: 1.103.0
  • GitHub Copilot Chat Version: 0.31.2025081401
  • MCP Service Mode: Default(namespace)

Test Prompts:

  1. Review my Bicep templates and list infrastructure best practices I should adopt.
  2. Inspect Terraform in this repo and recommend Azure-specific improvements.
  3. Provide baseline IaC rules for network security, tagging, and naming conventions.
  4. What are best practices for storing secrets and connection strings in IaC?
  5. Suggest IaC rules to prepare for multi-region failover and disaster recovery.

Expected Behavior:
Copilot chat should invoke the Deploy tool for each prompt.

@jongio for notification.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions