Merged
Conversation
conniey
commented
Nov 5, 2025
conniey
commented
Nov 5, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new ToolMetadataExporter tool that exports and tracks metadata changes from the Azure MCP server (azmcp). The tool compares current tool definitions against historical data stored in Azure Data Explorer (Kusto) and records creation, update, and deletion events.
Key changes:
- New
ToolMetadataExporterconsole application that dynamically loads tools from azmcp and compares them against a Kusto datastore - Integration with Azure Data Explorer for querying existing tools and ingesting change events
- Support for tracking tool lifecycle events (Created, Updated, Deleted) with version information
Reviewed Changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| eng/tools/ToolMetadataExporter/Program.cs | Entry point configuring DI, Azure authentication, and Kusto clients |
| eng/tools/ToolMetadataExporter/ToolAnalyzer.cs | Core analysis logic comparing current tools against datastore and detecting changes |
| eng/tools/ToolMetadataExporter/Utility.cs | Helper methods for executing azmcp commands and parsing tool metadata |
| eng/tools/ToolMetadataExporter/Services/AzmcpProgram.cs | Service wrapper for interacting with the azmcp executable |
| eng/tools/ToolMetadataExporter/Services/AzureMcpKustoDatastore.cs | Kusto datastore implementation for querying and ingesting tool events |
| eng/tools/ToolMetadataExporter/Services/IAzureMcpDatastore.cs | Interface defining datastore operations |
| eng/tools/ToolMetadataExporter/Models/Kusto/McpToolEvent.cs | Model representing tool lifecycle events with Kusto column mappings |
| eng/tools/ToolMetadataExporter/Models/Kusto/McpToolEventType.cs | Enum defining event types (Created, Updated, Deleted) |
| eng/tools/ToolMetadataExporter/Models/ModelsSerializationContext.cs | JSON source generation context for AOT compatibility |
| eng/tools/ToolMetadataExporter/Models/AzureMcpTool.cs | Record representing a tool with ID, name, and area |
| eng/tools/ToolMetadataExporter/AppConfiguration.cs | Configuration model for Kusto endpoints and settings |
| eng/tools/ToolMetadataExporter/appsettings.json | Production configuration template |
| eng/tools/ToolMetadataExporter/appsettings.Development.json | Development environment configuration |
| eng/tools/ToolMetadataExporter/Resources/queries/GetAvailableTools.kql | KQL query to retrieve latest tool states |
| eng/tools/ToolMetadataExporter/Resources/queries/CreateTable.kql | KQL script to create the McpToolEvents table |
| eng/tools/ToolMetadataExporter/ToolMetadataExporter.csproj | Project file with dependencies on Azure.Identity and Kusto SDKs |
| eng/tools/ToolMetadataExporter.UnitTests/ToolAnalyzerTests.cs | Empty test class placeholder for unit tests |
| eng/tools/ToolMetadataExporter.UnitTests/ToolMetadataExporter.UnitTests.csproj | Test project configuration |
| eng/tools/ToolDescriptionEvaluator/Models/McpModels.cs | Added Id property to Tool model |
| Directory.Packages.props | Updated Kusto package versions to 14.0.1 and added Ingest package |
| AzureMcp.sln | Added ToolMetadataExporter projects to solution |
alzimmermsft
approved these changes
Nov 11, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
alzimmermsft
approved these changes
Jan 26, 2026
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Apr 20, 2026
* Add PackageVersion for Kusto.Data and Kusto.Ingest * Add Id to shared McpModels. * Initial commit * Remove AoT * Add initial mock up * Split to use Query and Ingestion endpoint. * Add Query to create table. * Add LaunchSettings. * Adding Appsettings.json. Copy to output * Update Json serialization to output Enum names. * Move JsonOutput parsing. Fix command line arguments to pass to exe * Pass in command rather than just name in changes. * Update Logging * Change to use Direct Ingestion client * Add header * Add ServerName support. * Remove test template. * Add ServerName * Propagate cancellation * Moving classes into src/tests * Move parsing from command line to use IConfiguration. * Add ServerName column to Kusto mapping at the end. * Add documentation to CommandLineOptions * Add ServerInfoResult for `server info` * Add IsDryRun, AzMcp to app configuration * Update Program to configure AppConfiguration and CommandLineOptions * Add FileName parameter to utility methods. * Update ToolAnalyzer to use file name parameter from Utility. * Create functions for AzMcp program. * Change utility classes into a class * - Add utility into DI container - Fix Configuration binding for AppConfig. * Use lazy initialization. * Add tests * Make methods virtual for testability * Add tests for AzaureMcpKustoDatastore * Add ToolAnalyzerTests * UseAnalysisTime in EventTime * Replace strings with nameof() * Remove Constants file. * Add documentation to app configuration and make constant internally accessible. * Add README 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.
What does this PR do?
Adds tool to export current metadata from azmcp.
GitHub issue number?
[Link to the GitHub issue this PR addresses]https://github.com/microsoft/mcp-pr/issues/123
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.mddocumentationeng/scripts/Process-PackageReadMe.ps1. See Package README/servers/Azure.Mcp.Server/docs/azmcp-commands.mdand/or/docs/fabric-commands.md.\eng\scripts\Update-AzCommandsMetadata.ps1to update tool metadata in azmcp-commands.md (required for CI)ToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline