You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #2822 changed DesignCommand from extending GlobalCommand<ArchitectureDesignToolOptions> to BaseCommand<ArchitectureDesignToolOptions>. This is a breaking change that removed the following options from cloudarchitect_design:
These options were never used by the tool and are no longer accepted.
Gaps Found
azmcp-commands.md global options table still states "The following options are available for all commands" — but cloudarchitect design is now an exception and does not accept subscription, tenant-id, auth-method, or any retry-* options.
azmcp-commands.md Cloud Architect command signature shows --architecture-component as a valid option, but the code (DesignCommand.RegisterOptions) never registers that option. The actual 7th parameter registered is --state (for passing the serialized architecture state JSON). The docs should show --state instead of --architecture-component.
Files to Update
servers/Azure.Mcp.Server/docs/azmcp-commands.md
Context
Changelog entry added by the PR:
changes:
- section: "Breaking Changes"description: "Removed resource group, tenant, auth method, and retry options from cloudarchitect_design tool as they aren't used."
Current (incorrect) Cloud Architect section in azmcp-commands.md:
Actual registered options in DesignCommand.RegisterOptions:
command.Options.Add(CloudArchitectOptionDefinitions.Question);command.Options.Add(CloudArchitectOptionDefinitions.QuestionNumber);command.Options.Add(CloudArchitectOptionDefinitions.TotalQuestions);command.Options.Add(CloudArchitectOptionDefinitions.Answer);command.Options.Add(CloudArchitectOptionDefinitions.NextQuestionNeeded);command.Options.Add(CloudArchitectOptionDefinitions.ConfidenceScore);command.Options.Add(CloudArchitectOptionDefinitions.State);// ← --state, not --architecture-component
📐 Implementation Guide
This section contains step-by-step instructions for a coding agent to implement the changes described above.
Edit 2 — Update the Global Options table intro to note that cloudarchitect design does not accept global options:
In the Global Options section, add a note after the table (or as a note before/after the table) similar to:
Note: The cloudarchitect design command is a local, stateless tool and does not support --subscription, --tenant-id, --auth-method, or any --retry-* options.
Step 2: Verify documentation structure
servers/Azure.Mcp.Server/docs/azmcp-commands.md — confirm the Cloud Architect section:
Shows the corrected command signature with --state
Global options section has a note or qualifier indicating that cloudarchitect design is exempt from global options
Step 3: Validate
Run these commands in order:
dotnet build tools/Azure.Mcp.Tools.CloudArchitect/src/ — confirms the toolset compiles cleanly
.\eng\common\spelling\Invoke-Cspell.ps1 — checks spelling in modified documentation
Next Steps
Tip
Ready for automated implementation? Assign this issue to @copilot to have Copilot coding agent implement the changes described in the Implementation Guide above
Documentation Gap
Server:
Azure.Mcp.ServerTool directory:
tools/Azure.Mcp.Tools.CloudArchitectTriggered by: commit 7eec066 / PR #2822 by
@alzimmermsftChanged files:
tools/Azure.Mcp.Tools.CloudArchitect/src/Commands/Design/DesignCommand.cstools/Azure.Mcp.Tools.CloudArchitect/src/Options/ArchitectureDesignToolOptions.csWhat Changed
PR #2822 changed
DesignCommandfrom extendingGlobalCommand<ArchitectureDesignToolOptions>toBaseCommand<ArchitectureDesignToolOptions>. This is a breaking change that removed the following options fromcloudarchitect_design:--subscription--resource-group--tenant-id--auth-method--retry-max-retries,--retry-delay,--retry-max-delay,--retry-mode,--retry-network-timeoutThese options were never used by the tool and are no longer accepted.
Gaps Found
azmcp-commands.mdglobal options table still states "The following options are available for all commands" — butcloudarchitect designis now an exception and does not accept subscription, tenant-id, auth-method, or any retry-* options.azmcp-commands.mdCloud Architect command signature shows--architecture-componentas a valid option, but the code (DesignCommand.RegisterOptions) never registers that option. The actual 7th parameter registered is--state(for passing the serialized architecture state JSON). The docs should show--stateinstead of--architecture-component.Files to Update
servers/Azure.Mcp.Server/docs/azmcp-commands.mdContext
Changelog entry added by the PR:
Current (incorrect) Cloud Architect section in
azmcp-commands.md:Actual registered options in
DesignCommand.RegisterOptions:📐 Implementation Guide
This section contains step-by-step instructions for a coding agent to implement the changes described above.
Step 1: Modify files
File:
servers/Azure.Mcp.Server/docs/azmcp-commands.mdTwo edits are needed:
Edit 1 — Fix the Cloud Architect command signature (replace
--architecture-componentwith--state):Find:
Replace with:
Edit 2 — Update the Global Options table intro to note that
cloudarchitect designdoes not accept global options:In the Global Options section, add a note after the table (or as a note before/after the table) similar to:
Step 2: Verify documentation structure
servers/Azure.Mcp.Server/docs/azmcp-commands.md— confirm the Cloud Architect section:--statecloudarchitect designis exempt from global optionsStep 3: Validate
Run these commands in order:
dotnet build tools/Azure.Mcp.Tools.CloudArchitect/src/— confirms the toolset compiles cleanly.\eng\common\spelling\Invoke-Cspell.ps1— checks spelling in modified documentationNext Steps
Tip
Ready for automated implementation? Assign this issue to
@copilotto have Copilot coding agent implement the changes described in the Implementation Guide above