Overview
Redis MCP Server is an implementation of the Redis Model Context Protocol (MCP) that allows large language models (LLMs) to interact with Redis key-value stores through standardized tools.
To use Redis MCP Server, you can install it via Smithery or manually using npx. After installation, configure it in your application to connect to your Redis database.
- Set, get, delete, and list Redis keys with ease. - Supports configuration for various environments including Docker and local setups. - Provides a standardized interface for LLMs to interact with Redis.
- Integrating LLMs with Redis for enhanced data retrieval.
- Managing key-value pairs in Redis for applications requiring fast data access.
- Utilizing Redis as a backend for AI applications that require context management.
Add to your AI client
Use these steps to connect Redis MCP Server (@gongrzhe/server-redis-mcp@1.0.0) in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"gongrzhe-redis-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gongrzhe-redis-mcp-server-mcp-mirror"
]
}
}
}FAQ
Can Redis MCP Server be used with any Redis version?
Yes! It is compatible with standard Redis installations.
Is there a Docker version available?
Yes! You can run Redis MCP Server in a Docker container.
How do I configure it for my application?
You can add the configuration to your application's JSON config file as specified in the documentation.