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 #3065 migrated Redis tools to the new two-generic command design (SubscriptionCommand<TOptions, TResult> with [Option] attributes on flat POCOs). The old RedisOptionDefinitions.cs was removed and options are now declared directly on ResourceCreateOptions. This changed the CLI parameter name for the resource name from --name to --resource, and added two new parameters (--access-keys-authentication, --public-network-access) that don't appear in the docs.
Gaps Found
azmcp redis create docs show --name <name> but the actual CLI parameter is now --resource <resource> (derived from the Resource property name in ResourceCreateOptions)
New --access-keys-authentication option (bool, default: false) is missing from azmcp-commands.md
New --public-network-access option (bool, default: false) is missing from azmcp-commands.md
Current ResourceCreateOptions.cs (source of truth):
publicsealedclassResourceCreateOptions:ISubscriptionOption{[Option(Description="The name of the Redis resource (e.g., my-redis).")]publicrequiredstringResource{get;set;}// maps to --resource[Option(Description="The location for the Redis resource (e.g. eastus).")]publicrequiredstringLocation{get;set;}[Option(Description="The SKU for the Redis resource. (Default: Balanced_B0)")]publicstring?Sku{get;set;}[Option(Description="Whether to enable access keys for authentication for the Redis resource. (Default: false)")]publicbool?AccessKeysAuthentication{get;set;}// new, missing from docs[Option(Description="Whether to enable public network access for the Redis resource. (Default: false)")]publicbool?PublicNetworkAccess{get;set;}// new, missing from docs[Option(Description="A list of modules to enable on the Azure Managed Redis resource (e.g., RedisBloom, RedisJSON).")]publicstring[]?Modules{get;set;}[Option(Description=OptionDescriptions.ResourceGroup)]publicrequiredstringResourceGroup{get;set;}[Option(Description=OptionDescriptions.Subscription)]publicstring?Subscription{get;set;}[Option(Description=OptionDescriptions.Tenant)]publicstring?Tenant{get;set;}}
📐 Implementation Guide
This section contains step-by-step instructions for a coding agent to implement the changes described above
servers/Azure.Mcp.Server/docs/azmcp-commands.md — one ## azmcp <service> <resource> <operation> section per command with a parameters table and example usage block.
Step 3: Validate
dotnet build servers/Azure.Mcp.Server/ — confirms the server project compiles cleanly
dotnet build tools/Azure.Mcp.Tools.Redis/src/ — confirms the Redis toolset compiles
.\eng\common\spelling\Invoke-Cspell.ps1 — checks spelling in modified docs
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.RedisTriggered by: commit
3d216b022957f26ec31bec5535346b998ff45047(PR #3065) by@alzimmermsftChanged files:
tools/Azure.Mcp.Tools.Redis/src/Options/ResourceCreateOptions.cs,tools/Azure.Mcp.Tools.Redis/src/Options/ResourceListOptions.cs,tools/Azure.Mcp.Tools.Redis/src/Commands/ResourceCreateCommand.csWhat Changed
PR #3065 migrated Redis tools to the new two-generic command design (
SubscriptionCommand<TOptions, TResult>with[Option]attributes on flat POCOs). The oldRedisOptionDefinitions.cswas removed and options are now declared directly onResourceCreateOptions. This changed the CLI parameter name for the resource name from--nameto--resource, and added two new parameters (--access-keys-authentication,--public-network-access) that don't appear in the docs.Gaps Found
azmcp redis createdocs show--name <name>but the actual CLI parameter is now--resource <resource>(derived from theResourceproperty name inResourceCreateOptions)--access-keys-authenticationoption (bool, default: false) is missing fromazmcp-commands.md--public-network-accessoption (bool, default: false) is missing fromazmcp-commands.mdFiles to Update
servers/Azure.Mcp.Server/docs/azmcp-commands.mdContext
Current docs (incorrect):
Current
ResourceCreateOptions.cs(source of truth):📐 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.mdLocate the
### Azure Redis Operationssection and replace theazmcp redis createusage block with:Step 2: Verify documentation structure
servers/Azure.Mcp.Server/docs/azmcp-commands.md— one## azmcp <service> <resource> <operation>section per command with a parameters table and example usage block.Step 3: Validate
dotnet build servers/Azure.Mcp.Server/— confirms the server project compiles cleanlydotnet build tools/Azure.Mcp.Tools.Redis/src/— confirms the Redis toolset compiles.\eng\common\spelling\Invoke-Cspell.ps1— checks spelling in modified docsNext Steps
Tip
Ready for automated implementation? Assign this issue to
@copilotto have Copilot coding agent implement the changes described in the Implementation Guide above