Skip to main content
Glama
Redis Cloud API MCP Server

Redis Cloud API MCP Server

Official
by redis

Redis Cloud API MCP-сервер

Model Context Protocol (MCP) — это стандартизированный протокол для управления контекстом между большими языковыми моделями (LLM) и внешними системами. Этот репозиторий предоставляет сервер MCP для API Redis Cloud, позволяя вам управлять ресурсами Redis Cloud с помощью естественного языка.

Это позволяет вам использовать Claude Desktop или любой клиент MCP для использования естественного языка для выполнения задач в вашей учетной записи Redis Cloud, например:

  • «Создать новую базу данных Redis в AWS»

  • «Каковы мои текущие подписки?»

  • «Помогите мне выбрать правильную базу данных Redis для моего приложения электронной коммерции»

Функции

Управление счетом

  • get_current_account : Получить сведения о вашей текущей учетной записи Redis Cloud

  • get_current_payment_methods : список всех способов оплаты, настроенных для вашего аккаунта

Управление подпиской

Профессиональные подписки

  • get_pro_subscriptions : список всех подписок Pro в вашей учетной записи

  • create_pro_subscription : создать новую подписку Pro с расширенными параметрами конфигурации

    • Поддерживает развертывание в нескольких облаках

    • Настройте память, сохранение и модули

    • Настройка развертываний «активный-активный»

    • Индивидуальная конфигурация сети

Основные подписки

  • get_essential_subscriptions : список всех подписок Essential (с разбивкой на страницы)

  • get_essential_subscription_by_id : Получить подробную информацию о конкретной подписке Essential

  • create_essential_subscription : создать новую подписку Essential

  • delete_essential_subscription : Удалить подписку Essential

Возможности базы данных

  • get_database_modules : список всех доступных модулей базы данных (возможностей), поддерживаемых в вашей учетной записи

    • Модули Redis

    • Возможности базы данных

    • Параметры производительности

Управление поставщиком облачных услуг

  • get_pro_plans_regions : Получить доступные регионы от облачных провайдеров

    • Регионы AWS

    • GCP-регионы

    • Сетевые возможности

    • Зоны доступности

Планы и цены

  • get_essentials_plans : Список доступных планов подписки Essential (с разбивкой на страницы)

    • Поддерживает AWS, GCP и Azure

    • Параметры Redis Flex

    • Фиксированные планы

Управление задачами

  • get_tasks : Список всех текущих задач в вашей учетной записи

  • get_task_by_id : Получить подробную информацию о конкретной задаче

    • Отслеживать статус развертывания

    • Мониторинг изменений подписки

    • Посмотреть ход выполнения задачи

Related MCP server: Redis MCP Server

Использование

Предпосылки

  • Действительные учетные данные Redis Cloud API (ключ API и секретный ключ)

  • Для длительных операций возвращаются идентификаторы задач, которые можно отслеживать.

  • Для получения всех данных в ответах с разбивкой на страницы требуется несколько вызовов

Клод Десктоп

Чтобы запустить сервер MCP с помощью Claude Desktop, выполните следующие действия:

  1. Соберите пакет:

    npm run build
  2. Добавьте сервер в Claude Desktop:

    • Откройте настройки Claude Desktop

    • Перейдите на вкладку «Разработчик» (убедитесь, что у вас включен режим разработчика).

    • Нажмите «Изменить конфигурацию».

    • Откройте файл claude_desktop_config.json в текстовом редакторе и добавьте следующую конфигурацию: GXP2

  3. Закройте Claude Desktop и перезапустите его. Теперь сервер должен быть доступен в разделе MCP Servers.

Курсор IDE

Чтобы запустить сервер MCP с Cursor IDE, выполните следующие действия:

  1. Соберите пакет:

    npm run build
  2. Добавьте сервер в курсор:

    • Открыть настройки курсора

    • Перейдите на вкладку MCP.

    • Нажмите «Добавить новый глобальный сервер MCP».

    • Обновите автоматически открытый файл mcp.json , используя следующую конфигурацию: GXP4

  3. Перезапустите курсор. Теперь сервер должен быть доступен в разделе MCP Servers.

Разработка

Предпосылки

  1. nvm (менеджер версий узлов)

  2. Узел v22.14.0

  3. нпм 10.9.2

Начиная

  1. Установить зависимости:

    nvm use v22.14.0
    npm install
  2. Создайте проект:

    npm run build
  3. Проверьте это с помощью 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

Примечание: Если вы вносите изменения в свой код, не забудьте пересобрать и перезапустить Claude Desktop / Cursor:

npm run build

Использование Докера

Создание образа Docker

Чтобы создать образ Docker для сервера MCP, выполните следующую команду:

docker build -t mcp/redis-cloud .

Запуск Docker-контейнера

Для запуска контейнера используйте следующую команду:

docker run -i --rm \
  -e API_KEY=<your_redis_cloud_api_key> \
  -e SECRET_KEY=<your_redis_cloud_api_secret_key> \
  mcp/redis-cloud

Интеграция Docker с Claude Desktop

Чтобы интегрировать Dockerized MCP-сервер с Claude Desktop, выполните следующие действия:

  1. Создайте образ Docker (если вы еще этого не сделали):

    docker build -t mcp/redis-cloud .
  2. Добавьте сервер в Claude Desktop:

    • Откройте настройки Claude Desktop

    • Перейдите на вкладку «Разработчик» (убедитесь, что режим разработчика включен).

    • Нажмите «Изменить конфигурацию».

    • Откройте файл claude_desktop_config.json в текстовом редакторе.

    • Добавьте следующую конфигурацию:

    {
      "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"
          ]
        }
      }
    }
  3. Замените значения заполнителей фактическими учетными данными API.

  4. Сохраните файл конфигурации и перезапустите Claude Desktop.

Примечания

  • Убедитесь, что требуемые переменные среды ( API_KEY , SECRET_KEY ) установлены правильно.

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