RM

redis/mcp-redis-cloud

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

43 stars 25 forks 质量 69 趋势 0MIT

redis/mcp-redis-cloud 是从 https://github.com/redis/mcp-redis-cloud. 导入的 MCP 候选服务器

概览

redis/mcp-redis-cloud 是从 https://github.com/redis/mcp-redis-cloud. 导入的 MCP 候选服务器

概述(AI 翻译)

模型上下文协议(MCP)是一种用于管理大型语言模型(LLM)与外部系统之间上下文的标准化协议。该仓库为Redis Cloud API提供MCP服务器,允许您使用自然语言管理Redis Cloud资源。

这让你可以使用Claude Desktop或任何MCP客户端,在你的Redis Cloud账户上用自然语言完成任务,例如:

  • “在AWS中创建新的Redis数据库”
  • “我目前的订阅情况有哪些?”
  • “帮我为我的电子商务应用选择合适的 Redis 数据库”

特色

账户管理

  • get_current_account:获取您当前Redis Cloud账户的详细信息
  • get_current_payment_methods:列出账户中配置的所有支付方式

订阅管理

专业版订阅

  • get_pro_subscriptions:列出账户中的所有 Pro 订阅
  • create_pro_subscription:创建一个带有高级配置选项的新 Pro 订阅
  • 支持多云部署
  • 配置内存、持久性和模块
  • 建立主动-主动部署
  • 自定义网络配置

必备订阅

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Redis Cloud API MCP Server

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”

Features

Account Management

  • get_current_account: Get details about your current Redis Cloud account
  • get_current_payment_methods: List all payment methods configured for your account

Subscription Management

Pro Subscriptions

  • get_pro_subscriptions: List all Pro subscriptions in your account
  • create_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

Essential Subscriptions

  • get_essential_subscriptions: List all Essential subscriptions (paginated)
  • get_essential_subscription_by_id: Get detailed information about a specific Essential subscription
  • create_essential_subscription: Create a new Essential subscription
  • delete_essential_subscription: Delete an Essential subscription

Database Capabilities

  • get_database_modules: List all available database modules (capabilities) supported in your account
    • Redis modules
    • Database features
    • Performance options

Cloud Provider Management

  • get_pro_plans_regions: Get available regions across cloud providers
    • AWS regions
    • GCP regions
    • Networking options
    • Availability zones

Plans and Pricing

  • get_essentials_plans: List available Essential subscription plans (paginated)
    • Supports AWS, GCP, and Azure
    • Redis Flex options
    • Fixed plans

Task Management

  • get_tasks: List all current tasks in your account
  • get_task_by_id: Get detailed information about a specific task
    • Track deployment status
    • Monitor subscription changes
    • View task progress

Usage

Prerequisites

  • 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

Claude Desktop

To run the MCP server with Claude Desktop, follow these steps:

  1. Build the package:

    npm run build
    
  2. 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": {
在 GitHub 查看完整 README

安装

docker run -i --rm -e API_KEY=<your_redis_cloud_api_key> -e SECRET_KEY=<your_redis_cloud_api_secret_key> mcp/redis-cloud
新手?先看 mcpskill.org 教程 →

配置

{ "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>" } } } }