Logo Redis Cloud API MCP 服务器

Redis Cloud API MCP 服务器

Tổ chức
redis

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,…

Nhà phát hànhredis
Kho mãmcp-redis-cloud
Ngôn ngữTypeScript
Bản fork
24
Sao
41
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Redis Cloud API MCP 服务器 cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    41 sao và 24 bản fork từ kho mã được liên kết.

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:

    bash
    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:
    json
    {
      "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>"
          }
        }
      }
    }
  3. Close Claude Desktop and restart it. The server should now be available in the MCP Servers section.

Cursor IDE

To run the MCP server with Cursor IDE, follow these steps:

  1. Build the package:

    bash
    npm run build
  2. 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:
    json
    {
      "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>"
          }
        }
      }
    }
  3. Restart Cursor. The server should now be available in the MCP Servers section.

Development

Prerequisites

  1. nvm (Node Version Manager)
  2. Node v22.14.0
  3. npm 10.9.2

Getting Started

  1. Install dependencies:

    bash
    nvm use v22.14.0
    npm install
  2. Build the project:

    bash
    npm run build
  3. Test it by using the MCP Inspector:

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

Project Structure

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:

bash
npm run build

Docker Usage

Building the Docker Image

To build the Docker image for the MCP server, run the following command:

bash
docker build -t mcp/redis-cloud .

Running the Docker Container

To run the container, use the following command:

bash
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 with Claude Desktop

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

  1. Build the Docker image (if you haven't already):

    bash
    docker build -t mcp/redis-cloud .
  2. 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:
    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. Replace the placeholder values with your actual API credentials.

  4. Save the configuration file and restart Claude Desktop.

Notes

  • Ensure that the required environment variables (API_KEY, SECRET_KEY) are set correctly.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "redis-mcp-redis-cloud": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-redis-cloud"
      ]
    }
  }
}

Dùng MCP Redis Cloud API MCP 服务器 với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Redis Cloud API MCP 服务器, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Redis Cloud API MCP 服务器 làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Redis Cloud API MCP 服务器.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "redis-mcp-redis-cloud": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-redis-cloud"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Redis Cloud API MCP 服务器, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Redis Cloud API MCP 服务器.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Redis Cloud API MCP 服务器 giúp tôi làm việc này không?
Redis Cloud API MCP 服务器
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Redis Cloud API MCP 服务器.

Câu hỏi thường gặp

Máy chủ MCP Redis Cloud API MCP 服务器 dùng để làm gì?

Redis Cloud API MCP 服务器 là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Redis Cloud API MCP 服务器 với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Redis Cloud API MCP 服务器 với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Redis Cloud API MCP 服务器 với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Redis Cloud API MCP 服务器, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Redis Cloud API MCP 服务器 với TypingMind?

Redis Cloud API MCP 服务器 hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Redis Cloud API MCP 服务器 cung cấp những công cụ nào trong TypingMind?

Redis Cloud API MCP 服务器 cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Redis Cloud API MCP 服务器 không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Redis Cloud API MCP 服务器 yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇