Redis
Community
Redis database operations and caching microservice server with support for key-value operations, expiration management, and pattern-based key listing
About Redis MCP Server
The Redis MCP server provides a comprehensive interface for AI applications to interact with redis features. It enables AI assistants to help with various tasks related to data workflows.
Features
Tools
Resources
Category
Data
Getting Started
To use the Redis MCP server in your AI application, follow these steps:
- Install the MCP client SDK for your platform
- Connect to the Redis MCP server
- Authenticate with your Redis credentials
- Start using the tools, resources, and prompts provided by the server
Example Code
// Connect to the Redis MCP server
const server = await mcp.connect("redis");
// Authenticate
await server.authenticate();
// Use a tool
const result = await server.tools.listRepositories({
// Parameters
});
// Access a resource
const resource = await server.resources.repositoryContent({
// Parameters
});
// Use a prompt
const response = await server.prompts.summarizePR({
// Parameters
});
Installation
npm
npm install @mcp/server-redis
pip
pip install mcp-server-redis
Compatible With
Claude for Desktop
Perplexity
Cursor
MCP Agent Framework