New Tool: List Event Grid Subscription#364
Merged
anannya03 merged 19 commits intomicrosoft:mainfrom Sep 17, 2025
Merged
Conversation
jongio
reviewed
Sep 8, 2025
222acc9 to
f7160c8
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new EventGrid subscription listing tool to the Azure MCP Server, enabling users to discover and filter Event Grid subscriptions across their Azure resources.
- Adds
azmcp_eventgrid_subscription_listcommand with comprehensive filtering capabilities - Implements subscription retrieval from both custom topics and system topics
- Provides detailed subscription information including endpoints, filters, and retry policies
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| SubscriptionListCommandTests.cs | New unit test file with comprehensive test coverage for subscription listing scenarios |
| SubscriptionListCommand.cs | New command implementation for listing Event Grid subscriptions with filtering options |
| EventGridService.cs | Extended service with subscription retrieval logic for custom and system topics |
| IEventGridService.cs | Added interface method for subscription operations |
| EventGridSubscriptionInfo.cs | New model representing Event Grid subscription data |
| SubscriptionListOptions.cs | New options class for subscription list command parameters |
| EventGridOptionDefinitions.cs | Added topic name and location option definitions |
| Various documentation files | Updated with new command information and examples |
627226d to
f44b964
Compare
conniey
reviewed
Sep 11, 2025
conniey
reviewed
Sep 11, 2025
anuchandy
reviewed
Sep 11, 2025
jongio
reviewed
Sep 11, 2025
alzimmermsft
approved these changes
Sep 15, 2025
jongio
requested changes
Sep 15, 2025
bff5307 to
76083a0
Compare
jongio
requested changes
Sep 16, 2025
5b868f2 to
6a1337b
Compare
jongio
requested changes
Sep 17, 2025
6a1337b to
75d73bf
Compare
jongio
requested changes
Sep 17, 2025
jongio
approved these changes
Sep 17, 2025
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Sep 27, 2025
* Resolved merge conflict- 1 * Resolved merge conflict- 2 * Resolved merge conflict- 3 * Resolved merge conflict- 4 * Merge conflict 2 * Resolved merge conflict- 5 * Removed unnecessary line from CHANGELOG.md * Made topic or subscription mandatory * dotnet format * Resolved merge conflict- 6 * Resolved merge conflict- 7 * Dotnet format * AccountGetCommandTest change * Used validate override * Fixed the validation logic * Rebased it to match the new structure * Fixed the changes after rebase * Addressed review comments
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.
What does this PR do?
This PR introduces a new tool azmcp-eventgrid-subscription-list that allows users to list all Event Grid subscripts within a given subscription/topic. It's also possible to filter based on resource group and location.
“List all Event Grid subscriptions in my subscription”
GitHub issue number?
#299
Pre-merge Checklist
CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies).\eng\common\spelling\Invoke-Cspell.ps1README.mddocumentation/docs/azmcp-commands.md/docs/e2eTestPrompts.mdToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test promptscrypto mining, spam, data exfiltration, etc.)/azp run azure - mcpto run Live Test Pipeline