[Azure MCP] New command: Eventhubs namespace get#105
Merged
jairmyree merged 36 commits intomicrosoft:mainfrom Sep 29, 2025
Merged
[Azure MCP] New command: Eventhubs namespace get#105jairmyree merged 36 commits intomicrosoft:mainfrom
jairmyree merged 36 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the EventHubs toolset with its first MCP tool for listing EventHubs namespaces within a resource group. The implementation follows the established toolset pattern and provides both unit and integration test coverage.
- Adds EventHubs namespace listing functionality with comprehensive error handling
- Implements full test infrastructure including Bicep templates for live testing
- Updates documentation to reflect the transition from "area" to "toolset" terminology
Reviewed Changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tools/Azure.Mcp.Tools.EventHubs/src/ |
Core EventHubs toolset implementation with command, service, and model classes |
tools/Azure.Mcp.Tools.EventHubs/tests/ |
Unit and integration tests with Bicep test infrastructure |
servers/Azure.Mcp.Server/src/Program.cs |
Registers EventHubs toolset in the server |
docs/new-command.md |
Updates documentation from "area" to "toolset" terminology |
Directory.Packages.props |
Adds Azure.ResourceManager.EventHubs package reference |
AzureMcp.sln |
Adds EventHubs projects to solution |
c009fac to
4afbc57
Compare
feiskyer
pushed a commit
to feiskyer/microsoft-mcp
that referenced
this pull request
Sep 8, 2025
* Add AADSTS500200 error in troubleshooting * Add helpful links
jongio
requested changes
Sep 9, 2025
b3fba49 to
2afd247
Compare
b7bf4be to
aacb0b7
Compare
jongio
requested changes
Sep 17, 2025
8c679fc to
d6660f2
Compare
jongio
reviewed
Sep 18, 2025
jongio
reviewed
Sep 18, 2025
bebcd01 to
9bf6cff
Compare
Co-authored-by: Connie Yau <conniey@microsoft.com>
…ceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…ceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…ceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…s.LiveTests/EventHubsCommandTests.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…s.UnitTests/Namespace/NamespaceGetCommandTests.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…ns.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
…s.LiveTests/EventHubsCommandTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
9e899bc to
3e12ced
Compare
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Dec 8, 2025
* Rebasing EventHubs Namespace List Command * Live tests passing * Updating test-resources-post and adding e2e prompt * Updating Namespace List to Namespace Get * updating test-resources-post * Updating test to reflect tool consolidation * Updates to PR based on feedback * EventHubs namespace get command update. Now supports getting metadata on specific resource * Update namespace get command to not take id parameter * Correcting EventHubs to Event Hubs in documentation * Additional Updates * Remove unused imports * Changes to EventHubsService * dotnet format * Remove the dependency on Azure.ResourceManager.EventHubs due to use ARG instead * Update tools/Azure.Mcp.Tools.EventHubs/src/EventHubsSetup.cs Co-authored-by: Connie Yau <conniey@microsoft.com> * Updates from PR comments * Updates from PR comments * Updates from PR comments * Updates from PR comments * Fixing test error * Fixing live test error * Update tools/Azure.Mcp.Tools.EventHubs/src/Commands/Namespace/NamespaceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/src/Commands/Namespace/NamespaceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/src/Commands/Namespace/NamespaceGetCommand.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/src/Services/EventHubsService.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/tests/Azure.Mcp.Tools.EventHubs.LiveTests/EventHubsCommandTests.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/tests/Azure.Mcp.Tools.EventHubs.UnitTests/Namespace/NamespaceGetCommandTests.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * Updates to PR based on feedback fron Alan and Connie * Update tools/Azure.Mcp.Tools.EventHubs/src/Options/BaseEventHubsOptions.cs Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> * additional PR updates * Updates to fix test failures * Update tools/Azure.Mcp.Tools.EventHubs/tests/Azure.Mcp.Tools.EventHubs.LiveTests/EventHubsCommandTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update tools/Azure.Mcp.Tools.EventHubs/src/Services/EventHubsService.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Rmoving empty file * Update validation pattern --------- Co-authored-by: Arthur Ma <arthurma@microsoft.com> Co-authored-by: Connie Yau <conniey@microsoft.com> Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
This PR onboards EventHubs with its first MCP tool:
eventhubs namespaces getCloses #60
Intended Agent Scenarios
This tool returns a list containing the name, id, and resource group of each namespace. This tool is backed by the management library Azure.ResourceManager.EventHubs. This tool has the following required parameters: reource-group. Suggested prompt: "List all EventHubs Namespaces available in resource-group"
Tool Name: azmcp-eventhubs-namespace-get
Tool Description: Lists all available namespaces. This tool returns a list containing the name, id, and resource group of each namespace. This tool is backed by the management library Azure.ResourceManager.EventHubs. This tool has the following required parameters: reource-group. Suggested prompt: "List all EventHubs Namespaces available in
resource-group"Tool Parameters:
Tool Return: A JSON array of all available namespaces (their names, id, and resource groups)
Backing Library: Management