Skip to content

Commit 1e5a3ff

Browse files
committed
Add mcp_redis_list to return details on Redis cache resources
1 parent c49e621 commit 1e5a3ff

33 files changed

Lines changed: 685 additions & 1586 deletions

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
# ServiceOwners: @shankarsama @EldertGrootenboer
174174

175175
# PRLabel: %tools-Redis
176-
/tools/Azure.Mcp.Tools.Redis/ @philon-msft @xiangyan99 @microsoft/azure-mcp
176+
/tools/Azure.Mcp.Tools.Redis/ @philon-msft @sharedferret @xiangyan99 @microsoft/azure-mcp
177177

178178
# ServiceLabel: %tools-Redis
179179
# ServiceOwners: @philon-msft @carldc

servers/Azure.Mcp.Server/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ The Azure MCP Server updates automatically by default whenever a new release com
2424

2525
### Breaking Changes
2626

27-
- Unified required parameter validation: null or empty values now always throw `ArgumentException` with an improved message listing all invalid parameters. Previously this would throw either `ArgumentNullException` or `ArgumentException` only for the first invalid value. [[#718](https://github.com/microsoft/mcp/pull/718)]
27+
- Unified required parameter validation: null or empty values now always throw `ArgumentException` with an improved message listing all invalid parameters. Previously this would throw either `ArgumentNullException` or `ArgumentException` for only the first invalid value. [[#718](https://github.com/microsoft/mcp/pull/718)]
28+
- Replaced `azmcp_redis_cache_list` and `azmcp_redis_cluster_list` with a unified `azmcp_redis_list` command that lists all Redis resources in a subscription. [[#756](https://github.com/microsoft/mcp/issues/756)]
29+
- Flattened `azmcp_redis_cache_accesspolicy_list` and `azmcp_redis_cluster_database_list` into `azmcp_redis_list`. [[#757](https://github.com/microsoft/mcp/issues/757)]
2830

2931
### Other Changes
3032

servers/Azure.Mcp.Server/docs/azmcp-commands.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,26 +1404,9 @@ azmcp role assignment list --subscription <subscription> \
14041404
### Azure Redis Operations
14051405
14061406
```bash
1407-
1408-
# Lists Databases in an Azure Redis Cluster
1407+
# Lists all Redis resources
14091408
# ❌ Destructive | ✅ Idempotent | ❌ OpenWorld | ✅ ReadOnly | ❌ Secret | ❌ LocalRequired
1410-
azmcp redis cluster database list --subscription <subscription> \
1411-
--resource-group <resource-group> \
1412-
--cluster <cluster>
1413-
1414-
# Lists Redis Clusters in the Azure Managed Redis or Azure Redis Enterprise services
1415-
# ❌ Destructive | ✅ Idempotent | ❌ OpenWorld | ✅ ReadOnly | ❌ Secret | ❌ LocalRequired
1416-
azmcp redis cluster list --subscription <subscription>
1417-
1418-
# Lists Redis Caches in the Azure Cache for Redis service
1419-
# ❌ Destructive | ✅ Idempotent | ❌ OpenWorld | ✅ ReadOnly | ❌ Secret | ❌ LocalRequired
1420-
azmcp redis cache list --subscription <subscription>
1421-
1422-
# Lists Access Policy Assignments in an Azure Redis Cache
1423-
# ❌ Destructive | ✅ Idempotent | ❌ OpenWorld | ✅ ReadOnly | ❌ Secret | ❌ LocalRequired
1424-
azmcp redis cache list accesspolicy --subscription <subscription> \
1425-
--resource-group <resource-group> \
1426-
--cache <cache-name>
1409+
azmcp redis list --subscription <subscription>
14271410
```
14281411
14291412
### Azure Resource Group Operations

servers/Azure.Mcp.Server/docs/e2eTestPrompts.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -450,16 +450,11 @@ This file contains prompts used for end-to-end testing to ensure each tool is in
450450

451451
| Tool Name | Test Prompt |
452452
|:----------|:----------|
453-
| azmcp_redis_cache_accesspolicy_list | List all access policies in the Redis Cache <cache_name> |
454-
| azmcp_redis_cache_accesspolicy_list | Show me the access policies in the Redis Cache <cache_name> |
455-
| azmcp_redis_cache_list | List all Redis Caches in my subscription |
456-
| azmcp_redis_cache_list | Show me my Redis Caches |
457-
| azmcp_redis_cache_list | Show me the Redis Caches in my subscription |
458-
| azmcp_redis_cluster_database_list | List all databases in the Redis Cluster <cluster_name> |
459-
| azmcp_redis_cluster_database_list | Show me the databases in the Redis Cluster <cluster_name> |
460-
| azmcp_redis_cluster_list | List all Redis Clusters in my subscription |
461-
| azmcp_redis_cluster_list | Show me my Redis Clusters |
462-
| azmcp_redis_cluster_list | Show me the Redis Clusters in my subscription |
453+
| azmcp_redis_list | List all Redis resources in my subscription |
454+
| azmcp_redis_list | Show me my Redis resources |
455+
| azmcp_redis_list | Show me the Redis resources in my subscription |
456+
| azmcp_redis_list | Show me my Redis caches |
457+
| azmcp_redis_list | Get Redis clusters |
463458

464459
## Azure Resource Group
465460

tools/Azure.Mcp.Tools.Redis/src/Azure.Mcp.Tools.Redis.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<ItemGroup>
1010
<ProjectReference Include="..\..\..\core\Azure.Mcp.Core\src\Azure.Mcp.Core.csproj" />
1111
</ItemGroup>
12-
<ItemGroup />
1312
<ItemGroup>
1413
<PackageReference Include="Azure.ResourceManager" />
1514
<PackageReference Include="Azure.ResourceManager.Redis" />

tools/Azure.Mcp.Tools.Redis/src/Commands/CacheForRedis/AccessPolicyListCommand.cs

Lines changed: 0 additions & 71 deletions
This file was deleted.

tools/Azure.Mcp.Tools.Redis/src/Commands/CacheForRedis/BaseCacheCommand.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.

tools/Azure.Mcp.Tools.Redis/src/Commands/ManagedRedis/BaseClusterCommand.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

tools/Azure.Mcp.Tools.Redis/src/Commands/ManagedRedis/ClusterListCommand.cs

Lines changed: 0 additions & 69 deletions
This file was deleted.

tools/Azure.Mcp.Tools.Redis/src/Commands/ManagedRedis/DatabaseListCommand.cs

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)