Skip to main content
Glama
Redis Cloud API MCP Server

Redis Cloud API MCP Server

Official
by redis

Redis 云 API MCP 服务器

模型上下文协议 (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 订阅

    • 支持多云部署

    • 配置内存、持久性和模块

    • 设置主动-主动部署

    • 自定义网络配置

基本订阅

  • get_essential_subscriptions :列出所有基本订阅(分页)

  • get_essential_subscription_by_id :获取有关特定 Essential 订阅的详细信息

  • create_essential_subscription :创建一个新的基本订阅

  • delete_essential_subscription :删除基本订阅

数据库功能

  • get_database_modules :列出您的帐户支持的所有可用数据库模块(功能)

    • Redis 模块

    • 数据库功能

    • 性能选项

云提供商管理

  • get_pro_plans_regions :获取跨云提供商的可用区域

    • AWS 区域

    • GCP 区域

    • 网络选项

    • 可用区域

计划和定价

  • get_essentials_plans :列出可用的基本订阅计划(分页)

    • 支持 AWS、GCP 和 Azure

    • Redis Flex 选项

    • 固定计划

任务管理

  • get_tasks :列出您帐户中所有当前任务

  • get_task_by_id :获取特定任务的详细信息

    • 跟踪部署状态

    • 监控订阅变化

    • 查看任务进度

Related MCP server: Redis MCP Server

用法

先决条件

  • 有效的 Redis Cloud API 凭据(API 密钥和密钥)

  • 长时间运行的操作会返回任务 ID,并且可以进行监控

  • 分页响应需要多次调用才能检索所有数据

克劳德桌面

要使用 Claude Desktop 运行 MCP 服务器,请按照以下步骤操作:

  1. 构建包:

    npm run build
  2. 将服务器添加到 Claude Desktop:

    • 打开 Claude 桌面设置

    • 导航到“开发者”选项卡(确保已启用开发者模式)

    • 点击“编辑配置”

    • 在文本编辑器中打开claude_desktop_config.json文件并添加以下配置:GXP2

  3. 关闭 Claude Desktop 并重新启动。服务器现在应该可以在 MCP 服务器部分中使用。

游标 IDE

要使用 Cursor IDE 运行 MCP 服务器,请按照以下步骤操作:

  1. 构建包:

    npm run build
  2. 将服务器添加到 Cursor:

    • 打开游标设置

    • 导航至 MCP 选项卡

    • 点击“添加新的全局 MCP 服务器”

    • 使用以下配置更新自动打开的mcp.json文件:GXP4

  3. 重启 Cursor。服务器现在应该可以在 MCP 服务器部分中访问了。

发展

先决条件

  1. nvm(节点版本管理器)

  2. 节点 v22.14.0

  3. npm 10.9.2

入门

  1. 安装依赖项:

    nvm use v22.14.0
    npm install
  2. 构建项目:

    npm run build
  3. 使用 MCP 检查器进行测试:

    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

注意:如果您更改了代码,请记住重建并重新启动 Claude Desktop/Cursor:

npm run build

Available Tools

16 tools
create-essential-subscriptionB

Create a new essential subscription. Returns a TASK ID that can be used to track the status of the subscription creation

Inputs: name (required), planId (required), paymentMethod, paymentMethodId.

create-pro-databaseA

Create a new database inside the specified subscription ID. Returns a TASK ID that can be used to track the status of the database creationPrerequisites: 1) For database modules, validate against get-database-modules list. 2) Validate regions using get-pro-plans-regions. The payload must match the input schema.

Inputs: name (required), subscriptionId (required), averageItemSizeInBytes, dataEvictionPolicy, +17 more.

create-pro-subscriptionA

Create a new pro subscription. Returns a TASK ID that can be used to track the status of the subscription creation. Prerequisites: 1) Verify payment method by checking get-current-payment-methods. 2) For database modules, validate against get-database-modules list. 3) Validate regions using get-pro-plans-regions. The payload must match the input schema.

Inputs: cloudProviders (required), databases (required), deploymentType, dryRun, +5 more.

delete-essential-subscriptionC

Delete an essential subscription by ID

Inputs: subscriptionId (required).

get-current-accountB

Get the current Cloud Redis account

Inputs: no named parameters.

get-current-payment-methodsB

Get the current payment methods for the current Cloud Redis account

Inputs: no named parameters.

get-database-modulesB

Lookup list of database modules supported in current account (support may differ based on subscription and database settings). These modules are also called capabilities.

Inputs: no named parameters.

get-essentials-plansB

Get the available plans for essential subscriptions. Always ask for which provider the plans are want to be retrieved. A paginated response is returned, and to get all the plans, the page and size parameters must be used until all the plans are retrieved.

Inputs: provider (required), page, redisFlex, size.

get-essential-subscription-by-idB

Get an essential subscription by ID for the current Cloud Redis account

Inputs: subscriptionId (required).

get-essential-subscriptionsA

Get the essential subscriptions for the current Cloud Redis account. A paginated response is returned, and to get all the essential subscriptions, the page and size parameters must be used until all the essential subscriptions are retrieved.

Inputs: page, size.

get-pro-databasesC

Get the pro databases for the provided subscription Id

Inputs: subscriptionId (required), limit, offset.

get-pro-plans-regionsB

Lookup list of regions for cloud provider. These regions include the providers too.

Inputs: no named parameters.

get-pro-subscriptionC

Get pro subscription by ID. The payload must match the input schema.

Inputs: subscriptionId (required).

get-pro-subscriptionsB

Get the pro subscriptions for the current Cloud Redis account

Inputs: no named parameters.

get-task-by-idB

Get a task by ID for the current Cloud Redis account

Inputs: taskId (required).

get-tasksB

Get the current tasks for the current Cloud Redis account

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources (subscriptions, databases, tasks, etc.), but there's some potential confusion between get-essential-subscription-by-id and get-essential-subscriptions, and between get-pro-subscription and get-pro-subscriptions, as the singular/plural versions could be misselected for the wrong granularity. Overall, the resource-action combinations are mostly clear.

    Naming Consistency5/5

    Tool names follow a highly consistent verb-noun pattern with hyphens (e.g., create-essential-subscription, get-pro-databases). All tools use lowercase with hyphens, and verbs like 'create', 'get', and 'delete' are applied consistently across resources, making the naming predictable and readable.

    Tool Count4/5

    With 16 tools, the count is slightly high but reasonable for managing Redis Cloud subscriptions, databases, and related tasks. It covers essential and pro tiers comprehensively, though it might feel a bit heavy for a single domain. The tools are well-scoped without obvious bloat.

    Completeness4/5

    The toolset provides good coverage for managing Redis Cloud resources, including CRUD operations for subscriptions and databases, plus supporting tools for tasks, payment methods, and plans. Minor gaps exist, such as no update or delete tools for pro databases or payment methods, but agents can likely work around these with the available creation and retrieval tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      A
      maintenance
      The official Redis MCP Server is a natural language interface designed for agentic applications to efficiently manage and search data in Redis.
      53
      2,610 PyPI
      645
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for the Spot.io API that enables management of AWS and Azure Ocean clusters across multiple accounts. It provides tools for cluster inventory, node management, cost analysis, and scaling operations through natural language.
      39
      23 PyPI
      1
      MIT