A Model Context Protocol server that provides read-only access to Redis databases. This server enables LLMs to inspect Redis and execute Redis commands.
To learn more about MCP Servers see:
This Redis MCP Server was designed for seamless integration with skeet.build
- query
- Execute Redis commands against the connected database
- Input:
command(string): The Redis command to execute - Supported commands include:
- Read-only commands (GET, KEYS, SCAN, HGETALL, etc.)
- SET read operations: SINTER, SUNION, SDIFF, SRANDMEMBER
- SET write operations: SADD, SREM, SPOP, SMOVE, SINTERSTORE, SUNIONSTORE, SDIFFSTORE
The server provides information about Redis keys:
-
Redis Keys (
redis://<host>/keys)- List of all keys in the Redis database with their types
-
Key Schemas (
redis://<host>/<key>/schema)- JSON schema information for each key
- Includes key type and type-specific metadata
- For strings: the value
- For lists/sets/sorted sets: length, members (for smaller sets)
- For hashes: fields and values
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@skeetbuild/redis",
"redis://localhost:6379/0"
]
}
}
}Replace redis://localhost:6379/0 with your Redis connection string.
To use this server with Cursor, add the following configuration to your global (~/.cursor/mcp.json) or project-specific (.cursor/mcp.json) configuration file:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@skeetbuild/redis",
"redis://localhost:6379/0"
]
}
}
}For more details on setting up MCP with Cursor, see the Cursor MCP documentation.
To use this server with GitHub Copilot in VS Code, add a new MCP server using the VS Code command palette:
- Press
Cmd+Shift+Pand search for "Add MCP Server" - Select "SSE MCP Server" and use the following configuration:
{
"mcp": {
"servers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@skeetbuild/redis",
"redis://localhost:6379/0"
]
}
}
}
}For detailed setup instructions, see the GitHub Copilot MCP documentation.
To use this server with Windsurf, add the following configuration to your Windsurf MCP settings:
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@skeetbuild/redis",
"redis://localhost:6379/0"
]
}
}
}For more information on configuring MCP with Windsurf, refer to the Windsurf MCP documentation.
This server is inspired by the PostgreSQL MCP server from the modelcontextprotocol project.
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.