Mcp Server Redis
@prajwalnayak7
Mcp Server Redis について
MCP server to interact with Redis Server, AWS Memory DB, etc for caching or other use-cases where in-memory and key-value based storage is appropriate
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-redis": {
"command": "python",
"args": [
"src/server.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Mcp Server Redis?
Mcp Server Redis is an MCP server that provides Redis database integration, exposing Redis operations as resources and tools for MCP clients. It is built for developers using MCP-compatible applications (e.g., Claude Desktop) who need to interact with a Redis instance programmatically.
How to use Mcp Server Redis?
Install dependencies using uv (see pyproject.toml), configure the Redis connection via environment variables (refer to .env.example), and run the server with python src/server.py. The server can be tested with the MCP Inspector (mcp dev src/server.py) or installed in Claude Desktop (mcp install src/server.py).
Key features of Mcp Server Redis
- Exposes Redis connection status and server info as resources
- Provides tools for basic key-value operations (get, set, delete, increment)
- Supports list, hash, and set data structure operations
- Enables Pub/Sub messaging via publish_message tool
- Automatic reconnection on connection loss
- Error handling with meaningful responses
Use cases of Mcp Server Redis
- Retrieve and update key-value pairs in Redis from an MCP client
- Manipulate Redis lists, hashes, and sets using natural language commands
- Publish messages to Redis Pub/Sub channels and inspect connection status
- Automate Redis data management within Claude Desktop or other MCP hosts
FAQ from Mcp Server Redis
What Redis commands does Mcp Server Redis support?
It supports basic operations (get, set, delete, increment), list operations (push, range), hash operations (set, get), set operations (add, members), and Pub/Sub (publish). Additional Redis commands can be added by extending the server.
What are the runtime requirements?
Python 3.x and the uv package manager are required. Dependencies are managed via pyproject.toml and installed with uv sync.
How do I configure the Redis connection?
Copy .env.example to .env and set the appropriate environment variables (e.g., REDIS_URL). The exact variable names are not listed in the README; refer to the example file.
How do I test the server?
Run mcp dev src/server.py to test with the MCP Inspector, or install it in Claude Desktop with mcp install src/server.py.
How does the server handle connection loss?
The server automatically reconnects to Redis if the connection is lost, ensuring continuous operation.
「データベース」の他のコンテンツ
Neon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
Sail MCP Server for Spark SQL
lakehqDrop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
MongoDB Lens
furey🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
コメント