Add Foundry Resource Get/List Tool#762
Merged
g2vinay merged 2 commits intomicrosoft:mainfrom Oct 10, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new unified command azmcp_foundry_resource_get to retrieve Azure AI Foundry (Cognitive Services) resource details including deployed models. The command supports three modes: listing all resources in a subscription, filtering by resource group, or getting details for a specific resource.
Key Changes
- New unified
azmcp foundry resource getcommand with flexible parameter options - Service layer implementation for listing and retrieving AI resources with deployment details
- Comprehensive test coverage including unit tests and live integration tests
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Commands/ResourceGetCommand.cs | Main command implementation with three operation modes |
| Services/FoundryService.cs | Service layer methods for listing/getting AI resources and building resource information |
| Services/IFoundryService.cs | Interface additions for new AI resource operations |
| Models/AiResourceInformation.cs | Data models for resource and deployment information |
| Options/Models/ResourceGetOptions.cs | Command-specific options extending subscription options |
| Commands/FoundryJsonContext.cs | JSON serialization context updates |
| FoundrySetup.cs | Service registration and command group setup |
| tests/ResourceGetCommandTests.cs | Comprehensive unit tests covering all scenarios |
| tests/FoundryCommandTests.cs | Live integration tests for real Azure resources |
| docs/ | Documentation and changelog updates |
anuchandy
approved these changes
Oct 10, 2025
xiangyan99
reviewed
Oct 10, 2025
xiangyan99
approved these changes
Oct 10, 2025
joshfree
approved these changes
Oct 10, 2025
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Dec 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Azure AI Foundry Resource Get Command
Adds a new unified command
azmcp_foundry_resource_getto retrieve Azure AI Foundry (Cognitive Services) resource details including deployed models.Features
azmcp foundry resource get --subscription <sub>azmcp foundry resource get --subscription <sub> --resource-group <rg>azmcp foundry resource get --subscription <sub> --resource-group <rg> --resource-name <name>Response includes: