Add Azure ManagedCleanroom toolset with first commands: collaborations list and collaboration create#2882
Add Azure ManagedCleanroom toolset with first commands: collaborations list and collaboration create#2882ShreyaSangwa wants to merge 14 commits into
Conversation
|
Thank you for your contribution @ShreyaSangwa! We will review the pull request and get back to you soon. |
|
@ShreyaSangwa please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
@ShreyaSangwa please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new Azure Managed Cleanroom tool area to the Azure MCP Server, including command implementations, test scaffolding, and documentation/metadata updates to expose the new commands through the server.
Changes:
- Introduces
Azure.Mcp.Tools.ManagedCleanroomtool project with multiple data-plane and ARM-plane commands plus shared option models and JSON source-gen context. - Adds a dedicated unit test project with command-level tests and live-test resource templates/scripts.
- Updates server registration, tool-metadata consolidation, and documentation (command reference + E2E prompts + changelog entries).
Reviewed changes
Copilot reviewed 125 out of 125 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/test-resources.bicep | Adds test deployment resources/outputs for Managed Cleanroom live tests. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/test-resources-post.ps1 | Adds post-deploy script to persist test settings and warn when endpoint not provided. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/assets.json | Adds assets tagging config for the new test project. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Usings.cs | Adds global test using for xUnit. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Runs/RunsGetCommandTests.cs | Adds unit tests for managedcleanroom runs get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesVoteCommandTests.cs | Adds unit tests for managedcleanroom queries vote. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesRunsCommandTests.cs | Adds unit tests for managedcleanroom queries runs. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesRunCommandTests.cs | Adds unit tests for managedcleanroom queries run. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesPublishCommandTests.cs | Adds unit tests for managedcleanroom queries publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesListCommandTests.cs | Adds unit tests for managedcleanroom queries list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Queries/QueriesGetCommandTests.cs | Adds unit tests for managedcleanroom queries get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Oidc/OidcSetIssuerUrlCommandTests.cs | Adds unit tests for managedcleanroom oidc set-issuer-url. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Oidc/OidcKeysCommandTests.cs | Adds unit tests for managedcleanroom oidc keys. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Oidc/OidcIssuerInfoCommandTests.cs | Adds unit tests for managedcleanroom oidc issuer-info. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Invitations/InvitationsListCommandTests.cs | Adds unit tests for managedcleanroom invitations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Invitations/InvitationsAcceptCommandTests.cs | Adds unit tests for managedcleanroom invitations accept. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Datasets/DatasetsPublishCommandTests.cs | Adds unit tests for managedcleanroom datasets publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Datasets/DatasetsListCommandTests.cs | Adds unit tests for managedcleanroom datasets list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Datasets/DatasetsGetCommandTests.cs | Adds unit tests for managedcleanroom datasets get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Consent/ConsentPutCommandTests.cs | Adds unit tests for managedcleanroom consent put. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaborations/CollaborationsListCommandTests.cs | Adds unit tests for managedcleanroom collaborations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaborations/CollaborationsGetCommandTests.cs | Adds unit tests for managedcleanroom collaborations get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaboration/CollaborationGetReadonlyKubeconfigCommandTests.cs | Adds unit tests for ARM kubeconfig retrieval command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaboration/CollaborationGetCommandTests.cs | Adds unit tests for ARM collaboration get command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaboration/CollaborationEnableWorkloadCommandTests.cs | Adds unit tests for ARM workload enable command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaboration/CollaborationCreateCommandTests.cs | Adds unit tests for ARM collaboration create command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Collaboration/CollaborationAddCollaboratorCommandTests.cs | Adds unit tests for ARM add-collaborator command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Azure.Mcp.Tools.ManagedCleanroom.Tests.csproj | Adds new test project + dependencies. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/AuditEvents/AuditEventsListCommandTests.cs | Adds unit tests for managedcleanroom auditevents list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/AssemblyAttributes.cs | Adds test assembly attributes for env cleanup/collection behavior. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Analytics/AnalyticsSkrPolicyCommandTests.cs | Adds unit tests for analytics SKR policy command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/tests/Azure.Mcp.Tools.ManagedCleanroom.Tests/Analytics/AnalyticsGetCommandTests.cs | Adds unit tests for analytics get command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Services/ManagedCleanroomSerializerContext.cs | Adds JSON source-gen context for JsonElement. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Services/IManagedCleanroomService.cs | Defines service interface for all Managed Cleanroom operations. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Runs/RunsGetOptions.cs | Adds CLI options model for runs get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesVoteOptions.cs | Adds CLI options model for queries vote. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesRunsOptions.cs | Adds CLI options model for queries runs. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesRunOptions.cs | Adds CLI options model for queries run. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesPublishOptions.cs | Adds CLI options model for queries publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesListOptions.cs | Adds CLI options model for queries list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Queries/QueriesGetOptions.cs | Adds CLI options model for queries get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Oidc/OidcSetIssuerUrlOptions.cs | Adds CLI options model for OIDC issuer registration. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Oidc/OidcKeysOptions.cs | Adds CLI options model for OIDC keys. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Oidc/OidcIssuerInfoOptions.cs | Adds CLI options model for OIDC issuer info. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/ManagedCleanroomOptionDescriptions.cs | Adds shared option description constants. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Invitations/InvitationsListOptions.cs | Adds CLI options model for invitations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Invitations/InvitationsAcceptOptions.cs | Adds CLI options model for invitations accept. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Datasets/DatasetsPublishOptions.cs | Adds CLI options model for datasets publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Datasets/DatasetsListOptions.cs | Adds CLI options model for datasets list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Datasets/DatasetsGetOptions.cs | Adds CLI options model for datasets get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Consent/ConsentPutOptions.cs | Adds CLI options model for consent put. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaborations/CollaborationsListOptions.cs | Adds CLI options model for collaborations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaborations/CollaborationsGetOptions.cs | Adds CLI options model for collaborations get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaboration/CollaborationGetReadonlyKubeconfigOptions.cs | Adds CLI options for ARM kubeconfig command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaboration/CollaborationGetOptions.cs | Adds CLI options for ARM get command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaboration/CollaborationEnableWorkloadOptions.cs | Adds CLI options for ARM enable-workload command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaboration/CollaborationCreateOptions.cs | Adds CLI options for ARM create command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Collaboration/CollaborationAddCollaboratorOptions.cs | Adds CLI options for ARM add-collaborator command. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/AuditEvents/AuditEventsListOptions.cs | Adds CLI options for audit events list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Analytics/AnalyticsSkrPolicyOptions.cs | Adds CLI options for SKR policy. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/Analytics/AnalyticsGetOptions.cs | Adds CLI options for analytics get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/ManagedCleanroomSetup.cs | Registers the new area + command groups for Managed Cleanroom. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Runs/RunsGetCommand.cs | Implements managedcleanroom runs get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesVoteCommand.cs | Implements managedcleanroom queries vote. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesRunsCommand.cs | Implements managedcleanroom queries runs. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesRunCommand.cs | Implements managedcleanroom queries run. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesPublishCommand.cs | Implements managedcleanroom queries publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesListCommand.cs | Implements managedcleanroom queries list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Queries/QueriesGetCommand.cs | Implements managedcleanroom queries get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Oidc/OidcSetIssuerUrlCommand.cs | Implements managedcleanroom oidc set-issuer-url. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Oidc/OidcKeysCommand.cs | Implements managedcleanroom oidc keys. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Oidc/OidcIssuerInfoCommand.cs | Implements managedcleanroom oidc issuer-info. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/ManagedCleanroomJsonContext.cs | Adds JSON source-gen context used by commands. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Invitations/InvitationsListCommand.cs | Implements managedcleanroom invitations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Invitations/InvitationsAcceptCommand.cs | Implements managedcleanroom invitations accept. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Datasets/DatasetsPublishCommand.cs | Implements managedcleanroom datasets publish. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Datasets/DatasetsListCommand.cs | Implements managedcleanroom datasets list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Datasets/DatasetsGetCommand.cs | Implements managedcleanroom datasets get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Consent/ConsentPutCommand.cs | Implements managedcleanroom consent put. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaborations/CollaborationsListCommand.cs | Implements managedcleanroom collaborations list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaborations/CollaborationsGetCommand.cs | Implements managedcleanroom collaborations get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaboration/CollaborationGetReadonlyKubeconfigCommand.cs | Implements managedcleanroom collaboration get-readonly-kubeconfig. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaboration/CollaborationGetCommand.cs | Implements managedcleanroom collaboration get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaboration/CollaborationEnableWorkloadCommand.cs | Implements managedcleanroom collaboration enable-workload. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaboration/CollaborationCreateCommand.cs | Implements managedcleanroom collaboration create. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Collaboration/CollaborationAddCollaboratorCommand.cs | Implements managedcleanroom collaboration add-collaborator. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/AuditEvents/AuditEventsListCommand.cs | Implements managedcleanroom auditevents list. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Analytics/AnalyticsSkrPolicyCommand.cs | Implements managedcleanroom analytics skr-policy. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Commands/Analytics/AnalyticsGetCommand.cs | Implements managedcleanroom analytics get. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/Azure.Mcp.Tools.ManagedCleanroom.csproj | Adds the new tool project and dependencies. |
| tools/Azure.Mcp.Tools.ManagedCleanroom/src/AssemblyInfo.cs | Exposes internals to the test assembly. |
| servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json | Adds consolidated tool groupings mapping to managedcleanroom commands. |
| servers/Azure.Mcp.Server/src/Program.cs | Registers the new Managed Cleanroom area in the server. |
| servers/Azure.Mcp.Server/docs/e2eTestPrompts.md | Adds E2E prompt coverage entries for managedcleanroom tools. |
| servers/Azure.Mcp.Server/docs/azmcp-commands.md | Adds CLI help/reference section for managedcleanroom commands. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-runs-get.yaml | Adds changelog entry for runs get command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-vote.yaml | Adds changelog entry for queries vote command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-runs.yaml | Adds changelog entry for queries runs command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-run.yaml | Adds changelog entry for queries run command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-publish.yaml | Adds changelog entry for queries publish command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-list.yaml | Adds changelog entry for queries list command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-queries-get.yaml | Adds changelog entry for queries get command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-oidc-set-issuer-url.yaml | Adds changelog entry for OIDC set issuer URL command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-oidc-keys.yaml | Adds changelog entry for OIDC keys command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-invitations-list.yaml | Adds changelog entry for invitations list command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-invitations-accept.yaml | Adds changelog entry for invitations accept command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-datasets-publish.yaml | Adds changelog entry for datasets publish command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-datasets-list.yaml | Adds changelog entry for datasets list command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-datasets-get.yaml | Adds changelog entry for datasets get command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-consent-put.yaml | Adds changelog entry for consent put command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-collaboration-get.yaml | Adds changelog entry for ARM collaboration get command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-collaboration-get-readonly-kubeconfig.yaml | Adds changelog entry for kubeconfig command. |
| servers/Azure.Mcp.Server/changelog-entries/managedcleanroom-auditevents-list.yaml | Adds changelog entry for audit events list command. |
| servers/Azure.Mcp.Server/changelog-entries/1780647747781.yaml | Adds a rolled-up changelog entry for Managed Cleanroom toolset. |
| servers/Azure.Mcp.Server/CHANGELOG.md | Adds top-level changelog bullets for new collaboration ARM commands. |
| servers/Azure.Mcp.Server/Azure.Mcp.Server.slnx | Adds Managed Cleanroom source + test projects to server solution. |
| nuget.config | Adds a local package source intended for Managed Cleanroom dependencies. |
| eng/tools/ToolMetadataExporter/src/Program.cs | Adjusts Managed Identity credential initialization. |
| Microsoft.Mcp.slnx | Adds Managed Cleanroom projects to the root solution. |
| Directory.Packages.props | Updates Azure.Core/System.ClientModel versions and adds CleanRoom ARM package version. |
| .vscode/cspell.json | Adds “cleanroom” spelling exceptions. |
| .github/CODEOWNERS | Adds code owners for the new Managed Cleanroom tool directory. |
Comments suppressed due to low confidence (10)
tools/Azure.Mcp.Tools.ManagedCleanroom/src/ManagedCleanroomSetup.cs:1
- Only
CollaborationsListCommandandCollaborationCreateCommandare registered and added to command groups, but the PR adds many additional commands (analytics/oidc/datasets/queries/invitations/auditevents and multiplecollaborationARM commands). As-is, those commands won't be resolvable from DI and/or won't appear in the command tree at runtime. Register the missing command types inConfigureServicesand add them under the appropriateCommandGrouphierarchy inRegisterCommands(e.g.,analytics,oidc,datasets,queries,invitations,auditevents, plus the remainingcollaborationsubcommands).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 - This consolidated tool is marked
readOnly: trueand described as 'read-only details', butmappedToolListincludes write operations likemanagedcleanroom_invitations_acceptandmanagedcleanroom_oidc_set-issuer-url(and potentially others depending on intent). This mismatch can lead to tooling/agent policy violations (e.g., a 'read-only' tool performing state changes). Remove non-read-only commands from this grouping, or split into separate group(s) with correct metadata (readOnly=false/idempotent=false where appropriate).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 - This consolidated tool is marked
readOnly: trueand described as 'read-only details', butmappedToolListincludes write operations likemanagedcleanroom_invitations_acceptandmanagedcleanroom_oidc_set-issuer-url(and potentially others depending on intent). This mismatch can lead to tooling/agent policy violations (e.g., a 'read-only' tool performing state changes). Remove non-read-only commands from this grouping, or split into separate group(s) with correct metadata (readOnly=false/idempotent=false where appropriate).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 - This consolidated tool is marked
readOnly: trueand described as 'read-only details', butmappedToolListincludes write operations likemanagedcleanroom_invitations_acceptandmanagedcleanroom_oidc_set-issuer-url(and potentially others depending on intent). This mismatch can lead to tooling/agent policy violations (e.g., a 'read-only' tool performing state changes). Remove non-read-only commands from this grouping, or split into separate group(s) with correct metadata (readOnly=false/idempotent=false where appropriate).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 - This consolidated tool is marked
readOnly: trueand described as 'read-only details', butmappedToolListincludes write operations likemanagedcleanroom_invitations_acceptandmanagedcleanroom_oidc_set-issuer-url(and potentially others depending on intent). This mismatch can lead to tooling/agent policy violations (e.g., a 'read-only' tool performing state changes). Remove non-read-only commands from this grouping, or split into separate group(s) with correct metadata (readOnly=false/idempotent=false where appropriate).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 - This consolidated tool is marked
readOnly: trueand described as 'read-only details', butmappedToolListincludes write operations likemanagedcleanroom_invitations_acceptandmanagedcleanroom_oidc_set-issuer-url(and potentially others depending on intent). This mismatch can lead to tooling/agent policy violations (e.g., a 'read-only' tool performing state changes). Remove non-read-only commands from this grouping, or split into separate group(s) with correct metadata (readOnly=false/idempotent=false where appropriate).
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1 managedcleanroom_collaboration_createis a create/provision operation, but this consolidated tool marks it asdestructive: trueand describes deletion/modification of existing resources. If the repository usesdestructiveto mean delete/irreversible mutation, this metadata is likely incorrect and can cause risk-based routing/policy decisions to behave incorrectly. Update the metadata to reflect the actual behavior (create/updates vs delete), aligning with the command’s own metadata.
servers/Azure.Mcp.Server/src/Resources/consolidated-tools.json:1managedcleanroom_collaboration_createis a create/provision operation, but this consolidated tool marks it asdestructive: trueand describes deletion/modification of existing resources. If the repository usesdestructiveto mean delete/irreversible mutation, this metadata is likely incorrect and can cause risk-based routing/policy decisions to behave incorrectly. Update the metadata to reflect the actual behavior (create/updates vs delete), aligning with the command’s own metadata.
tools/Azure.Mcp.Tools.ManagedCleanroom/tests/test-resources.bicep:1baseNamedefaults toresourceGroup().namebut is constrained to@maxLength(24). Resource group names commonly exceed 24 chars, so deployments can fail when the default is used. Consider generating a compliant default (e.g.,take(resourceGroup().name, 24)or auniqueString(...)-based name) or removing/tightening constraints only where they’re actually required.
tools/Azure.Mcp.Tools.ManagedCleanroom/src/Options/ManagedCleanroomOptionDescriptions.cs:1DocumentIdis a shared constant name but the description is specific to 'dataset document to publish'. This constant is used by multiple dataset commands (publish/get), and may be reused by non-publish contexts later; the wording will then be misleading. Consider making the description neutral (e.g., 'dataset document to retrieve/publish') or splitting into separate constants if you want context-specific help text.
…borations list and collaboration create
| │ ├── Options/ | ||
| │ │ ├── ManagedCleanroomOptionDefinitions.cs | ||
| │ │ ├── Collaboration/ | ||
| │ │ │ └── [Options classes - mixed status] | ||
| │ │ └── [Options for all command groups] |
| var result = await _service.ListCollaborationsAsync( | ||
| options.Endpoint, | ||
| options.ActiveOnly, | ||
| options.AllowUntrustedCert, | ||
| options.TokenScope, | ||
| options.Tenant, | ||
| cancellationToken).ConfigureAwait(false); |
…RM control-plane operations
What does this PR do?
Introduces the initial Azure ManagedCleanroom implementation in Azure MCP with two commands.
Commands added:
Implemented in this PR:
Validation performed:
Pre-merge Checklist
servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentationREADME.mdchanges running the script./eng/scripts/Process-PackageReadMe.ps1. See Package READMEToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test promptsconsolidated-tools.jsonbreaking-changelabelservers/Azure.Mcp.Server/docs/azmcp-commands.md./eng/scripts/Update-AzCommandsMetadata.ps1to update tool metadata inazmcp-commands.md(required for CI)servers/Azure.Mcp.Server/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline