Redis MCP Server
@yyue9527
About Redis MCP Server
A Redis Management and Control Protocol (MCP) server implementation using Spring Boot and Spring AI
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
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
FAQ from Redis MCP Server
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.
What are the prerequisites for running it?
JDK 17 or higher, Maven 3.6 or higher, and an accessible Redis server are required.
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.
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.
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).
Frequently asked questions
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.
What are the prerequisites for running it?
JDK 17 or higher, Maven 3.6 or higher, and an accessible Redis server are required.
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`.
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`.
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).
Basic information
More Databases MCP servers
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
mcp_mysql_server
xwb602625136Model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展

PostgreSQL
modelcontextprotocolModel Context Protocol Servers
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Comments