MCP.so
Sign In

Redis MCP Server

@yyue9527

Basic information

Category

Databases

Transports

stdio

Author

yyue9527

About Redis MCP Server

A Redis Management and Control Protocol (MCP) server implementation using Spring Boot and Spring AI

Redis MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Redis MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Redis MCP Server?

Redis MCP Server is a Model Context Protocol (MCP) server that exposes Redis operations as MCP tools. Built with Spring Boot and Spring AI, it uses SSE (Server-Sent Events) transport to allow AI assistants and MCP clients to interact with a Redis database through standard key-value commands.

How to use Redis MCP Server?

Prerequisites: JDK 17+, Maven 3.6+, and a running Redis server. Build with mvn clean package and run with java -jar target/redis-mcp-server-{version}.jar. Configure the Redis connection via the redis.url system property (default: redis://localhost:6379). The server exposes four MCP tools: set, get, delete, and list. For use in Cursor, add the tool configuration pointing to http://localhost:8080/sse.

Key features of Redis MCP Server

  • Redis key-value operations (set, get, delete)
  • Pattern-based key listing (list)
  • Optional key expiration time on set
  • SSE-based MCP implementation with Spring Boot and Spring AI
  • Lettuce Redis Client for non-blocking Redis access
  • Configurable Redis connection via system property

Use cases of Redis MCP Server

  • AI assistants reading or writing data to a Redis cache via MCP tools
  • Remote management of Redis keys using pattern matching and expiration
  • Integrating Redis operations into MCP‑enabled IDEs like Cursor
  • Prototyping Redis interactions through a tool‑based interface

Frequently asked questions

1

What transport does Redis MCP Server use?

It uses SSE (Server-Sent Events) via the `spring-ai-mcp-server-webmvc-spring-boot-starter` module, making it suitable for web‑based MCP clients.

2

What are the prerequisites for running it?

JDK 17 or higher, Maven 3.6 or higher, and an accessible Redis server are required.

3

How do I configure the Redis connection?

Set the `redis.url` system property to your Redis URI (e.g., `redis://your-host:6379`). The default value is `redis://localhost:6379`.

4

How can I use this with Cursor?

Add the following to your Cursor settings: a tool definition with `"url": "http://localhost:8080/sse"` and `"enabled": true`.

5

What MCP tools does it expose?

It provides four tools: `set` (key-value with optional expiry), `get`, `delete` (one or more keys), and `list` (pattern‑based key listing).

Comments

More Databases MCP servers