New Tool: Publish Custom Events to Event Grid Topics#514
Merged
anannya03 merged 21 commits intomicrosoft:mainfrom Sep 25, 2025
Merged
New Tool: Publish Custom Events to Event Grid Topics#514anannya03 merged 21 commits intomicrosoft:mainfrom
anannya03 merged 21 commits intomicrosoft:mainfrom
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
conniey
reviewed
Sep 19, 2025
conniey
reviewed
Sep 19, 2025
20f6579 to
6fc771a
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new MCP tool for publishing custom events to Azure Event Grid topics. The tool supports multiple event schemas (EventGrid, CloudEvents, Custom) and enables event-driven architectures by providing structured event publishing capabilities with delivery guarantees.
Key changes include:
- New
EventsPublishCommandfor publishing events to Event Grid topics - Support for EventGrid, CloudEvents, and Custom schema formats
- Comprehensive unit and live tests for event publishing scenarios
- Event schema validation and parsing logic
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
EventsPublishCommand.cs |
Main command implementation for publishing events to Event Grid topics |
EventGridService.cs |
Service layer implementation with event parsing and publishing logic |
EventsPublishCommandTests.cs |
Comprehensive unit tests covering various event publishing scenarios |
EventGridCommandTests.cs |
Live integration tests for event publishing functionality |
EventGridEventSchema.cs |
Model for EventGrid event schema with JSON serialization attributes |
EventPublishResult.cs |
Result model for event publishing operations |
| Various other files | Supporting options, setup, and configuration changes |
conniey
reviewed
Sep 23, 2025
conniey
reviewed
Sep 23, 2025
conniey
reviewed
Sep 23, 2025
jongio
reviewed
Sep 23, 2025
jongio
approved these changes
Sep 23, 2025
a828449 to
9990c21
Compare
conniey
reviewed
Sep 24, 2025
jongio
approved these changes
Sep 24, 2025
conniey
reviewed
Sep 25, 2025
2fac4f0 to
5233309
Compare
conniey
approved these changes
Sep 25, 2025
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Sep 27, 2025
* merge conflict 1 * merge conflict 2 * merge conflict 3 * merge conflict 5 * merge conflict 6 * dotnet format * fixed with httpstatuscode * cleaned up a little * review comment * review comment * Addressed review comments * Addressed review comments except POJO * Refactored using POJO instead of JSON object traversal * defined loggerFactory * Addressed review comments * Removed additional validation
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?
azmcp-eventgrid-events-publish - Publish custom events to Event Grid topics for event-driven architectures. This tool sends structured event data to Event Grid topics with schema validation and delivery guarantees for downstream subscribers. Returns publish operation status.
GitHub issue number?
#297
Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.mdand/orservers/Fabric.Mcp.Server/CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies)servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentation/docs/azmcp-commands.mdand/or/docs/fabric-commands.mdToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline