Skip to main content
Glama

Redis MCP サーバー (@gongrzhe/server-redis-mcp@1.0.0)

Redisデータベースとやり取りするためのRedis Model Context Protocol(MCP)サーバー実装。このサーバーにより、LLMは標準化されたツールセットを介してRedisキーバリューストアとやり取りできるようになります。

アップデート

https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plusにある 62 個の Redis MCP ツール

インストールと使用方法

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Redis MCP サーバーを自動的にインストールするには:

npx -y @smithery/cli install @gongrzhe/server-redis-mcp --client claude

手動でインストールする

# Using npx with specific version (recommended) npx @gongrzhe/server-redis-mcp@1.0.0 redis://your-redis-host:port # Example: npx @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379

またはグローバルにインストールします:

# Install specific version globally npm install -g @gongrzhe/server-redis-mcp@1.0.0 # Run after global installation @gongrzhe/server-redis-mcp redis://your-redis-host:port

コンポーネント

ツール

  • セット
    • オプションの有効期限付きRedisキーと値のペアを設定する
    • 入力:
      • key (文字列): Redisキー
      • value (文字列): 保存する値
      • expireSeconds (秒)
  • 得る
    • Redisからキーで値を取得する
    • 入力: key (文字列): 取得するRedisキー
  • 消去
    • Redisから1つ以上のキーを削除する
    • 入力: key (string | string[]): 削除するキーまたはキーの配列
  • リスト
    • パターンに一致するRedisキーを一覧表示する
    • 入力: pattern (文字列、オプション): キーに一致するパターン (デフォルト: *)

構成

Claude Desktopでの使用

このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。

{ "mcpServers": { "redis": { "command": "npx", "args": [ "@gongrzhe/server-redis-mcp@1.0.0", "redis://localhost:6379" ] } } }

あるいは、パッケージがインストールされている場合は、node コマンドを直接使用することもできます。

{ "mcpServers": { "redis": { "command": "node", "args": [ "path/to/build/index.js", "redis://10.1.210.223:6379" ] } } }

Dockerの使用

Docker を使用する場合:

  • macOSの場合、Redisサーバーがホストネットワーク上で実行されている場合はhost.docker.internalを使用します。
  • Redis URL を引数として指定できます。デフォルトは "redis://localhost:6379" です。
{ "mcpServers": { "redis": { "command": "docker", "args": [ "run", "-i", "--rm", "mcp/redis", "redis://host.docker.internal:6379" ] } } }

発達

ソースから構築

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトをビルドします。
    npm run build

Dockerビルド

docker build -t mcp/redis .

ライセンス

このMCPサーバーはISCライセンスに基づいてライセンスされています。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Redisデータベースへのアクセスを提供します。このサーバーにより、LLMは標準化されたツールセットを介してRedisキーバリューストアとやり取りできるようになります。

  1. アップデート
    1. インストールと使用方法
      1. Smithery経由でインストール
      2. 手動でインストールする
    2. コンポーネント
      1. ツール
    3. 構成
      1. Claude Desktopでの使用
      2. Dockerの使用
    4. 発達
      1. ソースから構築
      2. Dockerビルド
    5. ライセンス

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Enables users to perform Redis database operations using the Model Context Protocol (MCP) tools, allowing for efficient data management through commands like setting, getting, and scanning hash fields.
        Last updated -
        13
        29
        5
        TypeScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server for interacting with Redmine using its REST API, enabling the management of tickets, projects, and user data through integration with LLMs.
        Last updated -
        23
        32
        TypeScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
        Last updated -
        10
        77
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        A server that provides Claude with Redis database access and operations through a set of tools for basic operations, lists, hashes, sets, and pub/sub functionality.
        Last updated -
        19
        Python
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/GongRzhe/REDIS-MCP-Server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server