Redis CRUD MCP Server
Redis CRUD MCP サーバー
これは、Redisデータベース操作のためのMCP (Model Context Protocol) サーバープラグインであり、完全なCRUD操作ツールを提供します。
✨ 特徴
🔍 プロジェクト設定の自動検出 -
.envファイルを上位ディレクトリに向かって検索し、プロジェクトルートを特定します🔄 マルチプロジェクトサポート - プロジェクトごとに異なるRedis接続を自動的に使用します
⏱️ 接続タイムアウト保護 - デフォルトで10秒のタイムアウトを設定。環境変数で構成可能です
📝 多様な設定フォーマット - INIセクション形式とKEY=VALUE形式の両方をサポート
🛠️ マルチツール互換性 - Claude Code、Cline、Codexなどをサポート
Related MCP server: MCP Server Redis
🚀 クイックスタート
グローバルインストール(推奨)
npm install -g redis-crud-serverMCP設定
プロジェクトルートに .mcp.json を作成します:
{
"mcpServers": {
"redis-crud": {
"command": "redis-crud-server"
}
}
}⚙️ 設定説明
設定フォーマット1:INIセクション形式
[REDIS]
REDIS_HOSTNAME = 127.0.0.1
PORT = 6379
REDIS_PASSWORD = your_password
SELECT = 0設定フォーマット2:KEY=VALUE形式
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your_passwordサポートされている設定名
設定項目 | サポートされている名称 |
ホスト |
|
ポート |
|
パスワード |
|
データベース |
|
🔧 ツールリスト
文字列操作
redis_set - 文字列のキーと値を設定
redis_get - 文字列のキーと値を取得
redis_del - キーを削除
redis_exists - キーが存在するか確認
ハッシュ操作
redis_hset - ハッシュフィールドを設定
redis_hget - ハッシュフィールドを取得
redis_hgetall - ハッシュの全フィールドを取得
redis_hdel - ハッシュフィールドを削除
情報
redis_info - 接続情報を取得
⏱️ タイムアウト設定
デフォルトの接続タイムアウトは10秒です。環境変数で設定可能です:
{
"mcpServers": {
"redis-crud": {
"command": "redis-crud-server",
"env": {
"REDIS_TIMEOUT": "30000"
}
}
}
}📝 使用例
キーと値を設定
redis_set: key=test_key, value=hello_worldキーと値を取得
redis_get: key=test_keyハッシュ操作
redis_hset: key=user:1, field=name, value=张三
redis_hget: key=user:1, field=name
redis_hgetall: key=user:1🐛 トラブルシューティング
接続タイムアウト
ネットワーク接続とファイアウォールの設定を確認してください
Redisサーバーにアクセス可能であることを確認してください
REDIS_TIMEOUT環境変数を調整してください
設定ファイルが見つからない
.envファイルがプロジェクトルートにあることを確認してくださいMCPは自動的に上位ディレクトリに向かって
.envファイルを検索します
INI形式の解析失敗
正しいセクション名
[REDIS]を使用していることを確認してくださいWindows (
\r\n)、Unix (\n)、旧Mac (\r) の改行コードをサポートしています
📄 ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.11230MIT
- 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.24MIT
- 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.3472MIT
- AlicenseAqualityDmaintenanceEnables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.11MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Nicolas-One/redis-crud-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server