Model Context Protocol (MCP) is a standardized protocol for managing context between large language models (LLMs) and external systems. This repository provides an MCP Server for Redis Cloud's API, allowing you to manage your Redis Cloud resources using natural language.
This lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things on your Redis Cloud account, e.g.:
- "Create a new Redis database in AWS"
- "What are my current subscriptions?"
- "Help me choose the right Redis database for my e-commerce application"
get_current_account
: Get details about your current Redis Cloud accountget_current_payment_methods
: List all payment methods configured for your account
get_pro_subscriptions
: List all Pro subscriptions in your accountcreate_pro_subscription
: Create a new Pro subscription with advanced configuration options- Supports multi-cloud deployment
- Configure memory, persistence, and modules
- Set up Active-Active deployments
- Custom networking configuration
get_essential_subscriptions
: List all Essential subscriptions (paginated)get_essential_subscription_by_id
: Get detailed information about a specific Essential subscriptioncreate_essential_subscription
: Create a new Essential subscriptiondelete_essential_subscription
: Delete an Essential subscription
get_database_modules
: List all available database modules (capabilities) supported in your account- Redis modules
- Database features
- Performance options
get_pro_plans_regions
: Get available regions across cloud providers- AWS regions
- GCP regions
- Networking options
- Availability zones
get_essentials_plans
: List available Essential subscription plans (paginated)- Supports AWS, GCP, and Azure
- Redis Flex options
- Fixed plans
get_tasks
: List all current tasks in your accountget_task_by_id
: Get detailed information about a specific task- Track deployment status
- Monitor subscription changes
- View task progress
- Valid Redis Cloud API credentials (API Key and Secret Key)
- Task IDs are returned for long-running operations and can be monitored
- Paginated responses require multiple calls to retrieve all data
To run the MCP server with Claude Desktop, follow these steps:
-
Build the package:
npm run build
-
Add the server to Claude Desktop:
- Open Claude Desktop settings
- Navigate to the Developer tab (make sure you have enabled Developer Mode)
- Click on "Edit config"
- Open the
claude_desktop_config.json
file in your text editor and add the following configuration:
{ "mcpServers": { "mcp-redis-cloud": { "command": "node", "args": ["--experimental-fetch", "<absolute_path_to_project_root>/dist/index.js"], "env": { "API_KEY": "<redis_cloud_api_key>", "SECRET_KEY": "<redis_cloud_api_secret_key>" } } } }
-
Close Claude Desktop and restart it. The server should now be available in the MCP Servers section.
To run the MCP server with Cursor IDE, follow these steps:
-
Build the package:
npm run build
-
Add the server to Cursor:
- Open Cursor Settings
- Navigate to the MCP tab
- Click on "Add new global MCP Server"
- Update the automatically opened
mcp.json
file with the following configuration:
{ "mcpServers": { "mcp-redis-cloud": { "command": "node", "args": ["--experimental-fetch", "<absolute_path_to_project_root>/dist/index.js"], "env": { "API_KEY": "<redis_cloud_api_key>", "SECRET_KEY": "<redis_cloud_api_secret_key>" } } } }
-
Restart Cursor. The server should now be available in the MCP Servers section.
- nvm (Node Version Manager)
- Node v22.14.0
- npm 10.9.2
-
Install dependencies:
nvm use v22.14.0 npm install
-
Build the project:
npm run build
-
Test it by using the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js --api-key=<api_key> --secret-key=<secret_key>
src/
├── index.ts # Entry point
├── clients/ # API Clients for external services
│ └── generated # Generated Redis Cloud API client
└── tools/ # Tool implementations
└── accounts/ # Account tools
└── subscriptions/ # Subscription tools
└── tasks/ # Task tools
Note: If you make changes to your code, remember to rebuild and restart Claude Desktop / Cursor:
npm run build
To build the Docker image for the MCP server, run the following command:
docker build -t mcp/redis-cloud .
To run the container, use the following command:
docker run -i --rm \
-e API_KEY=<your_redis_cloud_api_key> \
-e SECRET_KEY=<your_redis_cloud_api_secret_key> \
mcp/redis-cloud
To integrate the Dockerized MCP server with Claude Desktop, follow these steps:
-
Build the Docker image (if you haven't already):
docker build -t mcp/redis-cloud .
-
Add the server to Claude Desktop:
- Open Claude Desktop settings
- Navigate to the Developer tab (ensure Developer Mode is enabled)
- Click on "Edit config"
- Open the
claude_desktop_config.json
file in your text editor - Add the following configuration:
{ "mcpServers": { "redis-cloud": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "API_KEY=<your_redis_cloud_api_key>", "-e", "SECRET_KEY=<your_redis_cloud_api_secret_key>", "mcp/redis-cloud" ] } } }
-
Replace the placeholder values with your actual API credentials.
-
Save the configuration file and restart Claude Desktop.
- Ensure that the required environment variables (
API_KEY
,SECRET_KEY
) are set correctly.