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
Overview
Mcp Server Redis is a server designed to interact with Redis Server and AWS Memory DB for caching and other use cases that require in-memory and key-value based storage.
To use Mcp Server Redis, install the required dependencies, configure your Redis connection in the .env.example file, and run the server using the command python src/server.py.
- Connection management to Redis and AWS Memory DB. - Basic, list, hash, and set operations for data manipulation. - Pub/Sub capabilities for message publishing. - Automatic reconnection to Redis if the connection is lost.
- Caching data for web applications.
- Storing session information for user authentication.
- Implementing real-time messaging systems using Pub/Sub.
Add to your AI client
Use these steps to connect Mcp Server Redis 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": {
"mcp-server-redis-prajwalnayak7": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}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": {
"mcp-server-redis-prajwalnayak7": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-redis-prajwalnayak7": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-redis-prajwalnayak7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-redis-prajwalnayak7": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-redis-prajwalnayak7": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-redis-prajwalnayak7"
]
}
}
}FAQ
Can Mcp Server Redis connect to multiple Redis instances?
Yes! You can configure multiple Redis connections in the .env file.
Is Mcp Server Redis suitable for production use?
Yes! It is designed to be robust and can handle production workloads with proper configuration.
How do I test the server?
You can test it using the MCP Inspector or by installing it in Claude Desktop.