MCP.so
登录

Redis MCP Server

@yyue9527

基本信息

分类

数据库

传输方式

stdio

作者

yyue9527

关于 Redis MCP Server

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

Redis MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Redis MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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).

评论

数据库 分类下的更多 MCP 服务器