Redis MCP Server

By thumbsupordown

MCP server for interacting with a Redis key-value store: set and get values, delete keys, and list keys matching a pattern.

Install Redis

Published by
Official (vendor)
Transport
Local process (stdio)
Authentication
None
Package
redis-mcp-server

Claude Desktop, Claude Code and Cursor

Add this to the mcpServers object in your client's config file, then restart the client.

{
  "mcpServers": {
    "redis": {
      "command": "uvx",
      "args": [
        "--from",
        "redis-mcp-server@latest",
        "redis-mcp-server",
        "--url",
        "redis://localhost:6379/0"
      ]
    }
  }
}
VS Code uses a different key — show that config

Identical entry, filed under servers rather than mcpServers. Put it in .vscode/mcp.json for one workspace.

{
  "servers": {
    "redis": {
      "command": "uvx",
      "args": [
        "--from",
        "redis-mcp-server@latest",
        "redis-mcp-server",
        "--url",
        "redis://localhost:6379/0"
      ]
    }
  }
}

Before it will answer

The server itself takes no credential — it opens a Redis connection on your behalf, so anything it needs travels in the --url. A local unprotected instance needs nothing; a managed one takes its password in the URI (redis://user:password@host:6379/0, or rediss:// for TLS). Azure Managed Redis with EntraID is configured through REDIS_ENTRAID_AUTH_FLOW instead.

Documentation ↗ Source ↗ Config checked against vendor docs August 25, 2026 · how we verify

Tools

delete

Delete one or more keys and their values from the Redis database.

get

Get the value stored at a given key in the Redis database.

list

List the Redis keys that match a given glob-style pattern.

set

Set a Redis key to a value, with an optional expiration time in seconds.

Want to create your own MCP server?

Create an account to add and manage your own MCP servers.