Redis MCP Server logo

Redis MCP Server

by gongrzhe

A Redis Model Context Protocol (MCP) server implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.

View on GitHub

Last updated: N/A

What is Redis MCP Server?

The Redis MCP Server is a server that allows Large Language Models (LLMs) to interact with Redis key-value stores using the Model Context Protocol (MCP). It provides a standardized interface for LLMs to perform operations like setting, getting, deleting, and listing keys in a Redis database.

How to use Redis MCP Server?

The server can be installed via Smithery or manually using npm or npx. After installation, it can be configured to run with Claude Desktop by adding the server configuration to the claude_desktop_config.json file. The server requires a Redis connection string as an argument.

Key features of Redis MCP Server

  • Provides a set of tools (set, get, delete, list) for interacting with Redis.

  • Supports setting key-value pairs with optional expiration.

  • Allows deleting one or more keys.

  • Enables listing Redis keys matching a pattern.

Use cases of Redis MCP Server

  • Enabling LLMs to store and retrieve information from Redis.

  • Using Redis as a knowledge base for LLMs.

  • Implementing caching mechanisms for LLMs.

  • Building applications that require LLMs to interact with Redis data.

FAQ from Redis MCP Server

What is MCP?

Model Context Protocol (MCP) is a standardized protocol for LLMs to interact with external tools and services.

How do I install the server?

You can install it via Smithery or manually using npm or npx.

How do I configure the server for Claude Desktop?

Add the server configuration to the claude_desktop_config.json file.

What is the default Redis URL?

The default Redis URL is redis://localhost:6379.

What license is the server under?

The server is licensed under the ISC License.