feat: add MCP server for AI integration#524
Closed
joshrotenberg wants to merge 1 commit intomainfrom
Closed
Conversation
Add a new redisctl-mcp crate that provides a Model Context Protocol (MCP) server enabling AI assistants like Claude to manage Redis deployments. Phase 1 implements 18 tools: Cloud Tools (7 read-only): - cloud_account_get, cloud_subscriptions_list, cloud_subscription_get - cloud_databases_list, cloud_database_get - cloud_tasks_list, cloud_task_get Enterprise Tools (10 read-only + 1 write): - enterprise_cluster_get, enterprise_nodes_list, enterprise_node_get - enterprise_databases_list, enterprise_database_get, enterprise_database_stats - enterprise_shards_list, enterprise_alerts_list, enterprise_logs_get - enterprise_license_get - enterprise_database_create (write, requires --allow-writes) Usage: redisctl -p my-profile mcp serve # read-only mode redisctl -p my-profile mcp serve --allow-writes # enable writes redisctl mcp tools # list available tools Also includes: - Documentation for MCP integration (docs/src/integrations/mcp.md) - Fix for search/timeseries field types in redis-enterprise crate
This was referenced Jan 12, 2026
Collaborator
Author
|
Superseded by #531 which includes all MCP functionality |
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.
Summary
Add a new
redisctl-mcpcrate that provides a Model Context Protocol (MCP) server enabling AI assistants like Claude to manage Redis deployments.Closes #475
What's Included
Phase 1: Read-Only Tools + Database Create
Cloud Tools (7 read-only):
cloud_account_get- Get account informationcloud_subscriptions_list- List all subscriptionscloud_subscription_get- Get subscription detailscloud_databases_list- List databases in a subscriptioncloud_database_get- Get database detailscloud_tasks_list- List recent async taskscloud_task_get- Get task statusEnterprise Tools (10 read-only + 1 write):
enterprise_cluster_get- Get cluster informationenterprise_nodes_list- List all cluster nodesenterprise_node_get- Get node detailsenterprise_databases_list- List all databasesenterprise_database_get- Get database detailsenterprise_database_stats- Get database statisticsenterprise_shards_list- List all shardsenterprise_alerts_list- List active alertsenterprise_logs_get- Get cluster event logsenterprise_license_get- Get license informationenterprise_database_create- Create a new database (write)Usage
Claude Desktop Configuration
{ "mcpServers": { "redisctl": { "command": "/path/to/redisctl", "args": ["-p", "my-profile", "mcp", "serve"] } } }Other Changes
docs/src/integrations/mcp.mdwith full usage guidesearchandtimeseriesfields inredis-enterprisecrate fromOption<bool>toOption<Value>to handle API responses that return objectsTesting
Tested with live Redis Enterprise cluster:
Next Steps (Future PRs)