Skip to main content
Glama
Redis Cloud API MCP Server

Redis Cloud API MCP Server

Official
by redis

Redis Cloud API MCP-Server

Model Context Protocol (MCP) ist ein standardisiertes Protokoll zur Kontextverwaltung zwischen großen Sprachmodellen (LLMs) und externen Systemen. Dieses Repository bietet einen MCP-Server für die API von Redis Cloud, sodass Sie Ihre Redis Cloud-Ressourcen in natürlicher Sprache verwalten können.

Auf diese Weise können Sie Claude Desktop oder einen beliebigen MCP-Client verwenden, um mithilfe natürlicher Sprache Dinge auf Ihrem Redis Cloud-Konto zu erledigen, z. B.:

  • „Erstellen Sie eine neue Redis-Datenbank in AWS“

  • „Was sind meine aktuellen Abonnements?“

  • „Helfen Sie mir, die richtige Redis-Datenbank für meine E-Commerce-Anwendung auszuwählen.“

Merkmale

Kontoverwaltung

  • get_current_account : Erhalten Sie Details zu Ihrem aktuellen Redis Cloud-Konto

  • get_current_payment_methods : Listet alle für Ihr Konto konfigurierten Zahlungsmethoden auf

Abonnementverwaltung

Pro-Abonnements

  • get_pro_subscriptions : Listet alle Pro-Abonnements in Ihrem Konto auf

  • create_pro_subscription : Erstellen Sie ein neues Pro-Abonnement mit erweiterten Konfigurationsoptionen

    • Unterstützt Multi-Cloud-Bereitstellung

    • Konfigurieren von Speicher, Persistenz und Modulen

    • Einrichten von Active-Active-Bereitstellungen

    • Benutzerdefinierte Netzwerkkonfiguration

Wichtige Abonnements

  • get_essential_subscriptions : Listet alle Essential-Abonnements auf (paginiert)

  • get_essential_subscription_by_id : Erhalten Sie detaillierte Informationen zu einem bestimmten Essential-Abonnement

  • create_essential_subscription : Erstellen Sie ein neues Essential-Abonnement

  • delete_essential_subscription : Löschen Sie ein Essential-Abonnement

Datenbankfunktionen

  • get_database_modules : Listet alle verfügbaren Datenbankmodule (Funktionen) auf, die in Ihrem Konto unterstützt werden

    • Redis-Module

    • Datenbankfunktionen

    • Leistungsoptionen

Cloud-Anbieter-Management

  • get_pro_plans_regions : Verfügbare Regionen bei allen Cloud-Anbietern abrufen

    • AWS-Regionen

    • GCP-Regionen

    • Netzwerkoptionen

    • Verfügbarkeitszonen

Pläne und Preise

  • get_essentials_plans : Liste der verfügbaren Essential-Abonnementpläne (paginiert)

    • Unterstützt AWS, GCP und Azure

    • Redis Flex-Optionen

    • Feste Pläne

Aufgabenverwaltung

  • get_tasks : Listet alle aktuellen Aufgaben in Ihrem Konto auf

  • get_task_by_id : Erhalten Sie detaillierte Informationen zu einer bestimmten Aufgabe

    • Verfolgen des Bereitstellungsstatus

    • Abonnementänderungen überwachen

    • Aufgabenfortschritt anzeigen

Related MCP server: Redis MCP Server

Verwendung

Voraussetzungen

  • Gültige Redis Cloud API-Anmeldeinformationen (API-Schlüssel und geheimer Schlüssel)

  • Task-IDs werden für lang andauernde Vorgänge zurückgegeben und können überwacht werden

  • Paginierte Antworten erfordern mehrere Aufrufe, um alle Daten abzurufen

Claude Desktop

Um den MCP-Server mit Claude Desktop auszuführen, führen Sie die folgenden Schritte aus:

  1. Erstellen Sie das Paket:

    npm run build
  2. Fügen Sie den Server zu Claude Desktop hinzu:

    • Öffnen Sie die Claude Desktop-Einstellungen

    • Navigieren Sie zur Registerkarte „Entwickler“ (stellen Sie sicher, dass Sie den Entwicklermodus aktiviert haben).

    • Klicken Sie auf „Konfiguration bearbeiten“

    • Öffnen Sie die Datei claude_desktop_config.json in Ihrem Texteditor und fügen Sie die folgende Konfiguration hinzu: GXP2

  3. Schließen Sie Claude Desktop und starten Sie es neu. Der Server sollte nun im Bereich „MCP-Server“ verfügbar sein.

Cursor-IDE

Um den MCP-Server mit Cursor IDE auszuführen, führen Sie die folgenden Schritte aus:

  1. Erstellen Sie das Paket:

    npm run build
  2. Fügen Sie den Server zum Cursor hinzu:

    • Cursoreinstellungen öffnen

    • Navigieren Sie zur Registerkarte MCP

    • Klicken Sie auf „Neuen globalen MCP-Server hinzufügen“

    • Aktualisieren Sie die automatisch geöffnete Datei mcp.json mit der folgenden Konfiguration: GXP4

  3. Starten Sie Cursor neu. Der Server sollte jetzt im Abschnitt MCP-Server verfügbar sein.

Entwicklung

Voraussetzungen

  1. nvm (Knotenversionsmanager)

  2. Knoten v22.14.0

  3. npm 10.9.2

Erste Schritte

  1. Installieren Sie Abhängigkeiten:

    nvm use v22.14.0
    npm install
  2. Erstellen Sie das Projekt:

    npm run build
  3. Testen Sie es mit dem MCP Inspector:

    npx @modelcontextprotocol/inspector node dist/index.js --api-key=<api_key> --secret-key=<secret_key>

Projektstruktur

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

Hinweis: Wenn Sie Änderungen an Ihrem Code vornehmen, denken Sie daran, Claude Desktop/Cursor neu zu erstellen und neu zu starten:

npm run build

Docker-Nutzung

Erstellen des Docker-Images

Um das Docker-Image für den MCP-Server zu erstellen, führen Sie den folgenden Befehl aus:

docker build -t mcp/redis-cloud .

Ausführen des Docker-Containers

Um den Container auszuführen, verwenden Sie den folgenden Befehl:

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-Integration mit Claude Desktop

Um den Dockerized MCP-Server in Claude Desktop zu integrieren, führen Sie die folgenden Schritte aus:

  1. Erstellen Sie das Docker-Image (falls Sie dies noch nicht getan haben):

    docker build -t mcp/redis-cloud .
  2. Fügen Sie den Server zu Claude Desktop hinzu:

    • Öffnen Sie die Claude Desktop-Einstellungen

    • Navigieren Sie zur Registerkarte „Entwickler“ (stellen Sie sicher, dass der Entwicklermodus aktiviert ist).

    • Klicken Sie auf „Konfiguration bearbeiten“

    • Öffnen Sie die Datei claude_desktop_config.json in Ihrem Texteditor

    • Fügen Sie die folgende Konfiguration hinzu:

    {
      "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. Ersetzen Sie die Platzhalterwerte durch Ihre tatsächlichen API-Anmeldeinformationen.

  4. Speichern Sie die Konfigurationsdatei und starten Sie Claude Desktop neu.

Hinweise

  • Stellen Sie sicher, dass die erforderlichen Umgebungsvariablen ( API_KEY , SECRET_KEY ) richtig eingestellt sind.

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