MCP Catalogs
Home

mcp-redis

by redis·510·Score 54

Official Redis MCP Server providing natural language interface for AI agents to manage Redis data efficiently.

databaseai-llmdeveloper-tools
96
Forks
12
Open issues
this month
Last commit
2d ago
Indexed

Overview

The Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently. It integrates seamlessly with MCP clients, enabling AI-driven workflows to interact with structured and unstructured data in Redis. The server provides comprehensive tools for managing strings, hashes, lists, sets, sorted sets, streams, pub/sub, JSON documents, and supports vector search operations.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:AI assistants storing and retrieving session data in Redis
you:Vector search applications with Redis as the backend
you:Chat applications using Redis pub/sub for real-time messaging
you:Caching AI model responses and queries
you:What Redis data types are supported by this MCP server?
you:How do I authenticate with Redis using this MCP server?

When to choose this

Choose this when you need an official, production-ready MCP interface for Redis with comprehensive data structure support and natural language capabilities.

When NOT to choose this

Avoid if you're not already using Redis or if you need specialized database features not supported by Redis like complex joins or multi-document transactions.

Tools this server exposes

11 tools extracted from the README
  • string

    Set, get strings with expiration

  • hash

    Store field-value pairs within a single key

  • list

    Append and pop items from lists

  • set

    Add, remove and list set members

  • sorted set

    Manage data with score-based ordering

  • pub/sub

    Publish and subscribe to channels

  • streams

    Manage data streams and consumer groups

  • JSON

    Store and manipulate JSON documents

  • docs

    Search Redis documentation

  • query engine

    Manage vector indexes and perform vector search

  • server management

    Retrieve information about the database

Comparable tools

mongodb-mcppostgresql-mcpsupabase-mcpredis-cli

Installation

Installation

From PyPI (recommended)

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

From GitHub

uvx --from git+https://github.com/redis/mcp-redis.git redis-mcp-server --url redis://localhost:6379/0

Docker

docker run -d --name redis-mcp-server -e REDIS_HOST=<redis_hostname> -e REDIS_PORT=<redis_port> -e REDIS_USERNAME=<redis_username> mcp/redis

FAQ

What Redis data types are supported by this MCP server?
The server supports all major Redis data types including strings, hashes, lists, sets, sorted sets, streams, JSON documents, and provides tools for pub/sub functionality and vector search.
How do I authenticate with Redis using this MCP server?
The server supports multiple authentication methods including username/password, Redis ACL, and EntraID authentication for Azure Managed Redis. Configuration can be done via command line arguments, environment variables, or URI parameters.

Compare mcp-redis with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.