Redis
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 ツール
Related MCP server: 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"
]
}
}
}発達
ソースから構築
リポジトリをクローンする
依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build
Dockerビルド
docker build -t mcp/redis .ライセンス
このMCPサーバーはISCライセンスに基づいてライセンスされています。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
This server cannot be deployed
Maintenance
Related MCP Connectors
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server exposing the Backtest360 engine API as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.25MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to perform comprehensive Redis database operations including managing strings, hashes, lists, sets, sorted sets, TTL management, and data backup/restore. Supports secure connections and provides batch operations for efficient Redis interaction through natural language.349 npm2MIT
- AlicenseAqualityDmaintenanceEnables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.11MIT
- AlicenseAqualityDmaintenanceEnables AI agents to manage and search data in Redis using natural language. Supports hashes, lists, sets, sorted sets, streams, JSON, and vector search.44MIT
Appeared in Searches
- Methods for Saving, Reading, and Querying Data
- A server for data engineering tasks, GPU clustering, nomad setup, and data pipeline management
- Methods for Context and Data Analysis
- Attribution and Contribution Analysis in Data Science and Economics
- An in-memory data store for caching and message brokering