# MCP Redis (MCP server)

> MCP Redis is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in… It has 631 GitHub stars, is released under the MIT license and runs locally with uvx redis-mcp-server.

This MCP Server provides tools to manage the data stored in Redis. The Redis MCP Server is available as a PyPI package and as direct installation from the GitHub repository.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/redis/mcp-redis |
| GitHub stars | 631 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | pypi: redis-mcp-server |
| Remote URL | none |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Databases |
| Latest release | 0.5.1 (Aug 5, 2026) |
| Last commit | Oct 2, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-redis": {
      "command": "uvx",
      "args": [
        "redis-mcp-server"
      ],
      "env": {
        "REDIS_ENTRAID_AUTH_FLOW": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env REDIS_ENTRAID_AUTH_FLOW=your-value --transport stdio mcp-redis -- uvx redis-mcp-server
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-redis": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "redis-mcp-server"
      ],
      "env": {
        "REDIS_ENTRAID_AUTH_FLOW": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "redis_entraid_auth_flow",
      "description": "REDIS_ENTRAID_AUTH_FLOW",
      "password": true
    }
  ],
  "servers": {
    "mcp-redis": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "redis-mcp-server"
      ],
      "env": {
        "REDIS_ENTRAID_AUTH_FLOW": "${input:redis_entraid_auth_flow}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `REDIS_HOST`: Shown in the README's example configuration.
- `REDIS_PORT`: Shown in the README's example configuration.
- `REDIS_PWD`: Shown in the README's example configuration.
- `REDIS_SSL`: Shown in the README's example configuration.
- `REDIS_SSL_CA_PATH`: Shown in the README's example configuration.
- `REDIS_CLUSTER_MODE`: Shown in the README's example configuration.
- `MCP_REDIS_LOG_LEVEL`: Shown in the README's example configuration.
- `REDIS_ENTRAID_AUTH_FLOW` (secret): Shown in the README's example configuration.
- `REDIS_ENTRAID_SCOPES`: Shown in the README's example configuration.
- `REDIS_USERNAME`: Shown in the README's example configuration.

## Tools

- `string`: tools to set, get strings with expiration. Useful for storing simple configuration values, session data, or caching…
- `hash`: tools to store field-value pairs within a single key. The hash can store vector embeddings.
- `list`: tools with common operations to append and pop items. Useful for queues, message brokers, or maintaining a list of…
- `streams`: tools to add, read, delete, create and destroy consumer groups, and acknowledge processed entries in data streams.
- `docs`: tool to search Redis documentation, tutorials, and best practices using natural language questions (backed by the…

## Similar MCP servers

- [Dbx](https://appsgit.com/mcp-servers/dbx): Query databases from AI agents using connections configured in DBX. (24,945 stars, Apache-2.0)
- [Butterbase AI MCP Server](https://appsgit.com/mcp-servers/butterbase-ai-mcp-server): Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys. (3,686 stars, Apache-2.0, needs API key)
- [DBHub](https://appsgit.com/mcp-servers/dbhub): Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite. (3,610 stars, MIT, needs API key)
- [LINQ to DB](https://appsgit.com/mcp-servers/linq-to-db): Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. (3,332 stars, MIT)
- [Mindwtr](https://appsgit.com/mcp-servers/mindwtr): Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default. (2,211 stars, AGPL-3.0, needs API key)
- [MCP Memory Service](https://appsgit.com/mcp-servers/mcp-memory-service): Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. (1,988 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/mcp-redis
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
