mcp-redis
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
claude mcp add --transport stdio redis-mcp-redis uvx --from redis-mcp-server@latest redis-mcp-server --url "redis://localhost:6379/0" \ --env MCP_DOCS_SEARCH_URL="URL for Redis docs search (optional)"
How to use
The Redis MCP Server exposes a natural language interface for querying and manipulating Redis data via the MCP protocol. It supports a broad set of Redis data types (strings, hashes, lists, sets, sorted sets, streams) and provides tools to perform common data operations in a conversational way. You can issue natural language requests like storing configuration in a string, indexing or caching vector data, managing sessions with expirations, or performing vector search via the built-in query engine. In addition, there are auxiliary tools for documentation lookup and server management, allowing you to search Redis docs, manage vector indexes, and retrieve database information directly through MCP-enabled clients. The server is designed to work with standard MCP clients over stdio transport, enabling easy integration with AI agents and orchestration frameworks.
To use it, run the server (via uvx from PyPI) and connect your MCP client. The included tools map to Redis operations such as string manipulation, hash operations (including embedding storage), lists for queues, sets for unique value tracking, and streams for event logging. You can also leverage the docs search tool to ask questions about Redis best practices or specific commands, and the query engine to manage and search vector indexes. When querying, frame requests in natural language and rely on the MCP layer to translate them into the appropriate Redis commands and return structured results.
How to install
Prerequisites:
- Python 3.14+ installed on your system
- Internet access to install PyPI packages
- Create and activate a Python environment (optional but recommended)
- On macOS/Linux:
- python3 -m venv venv
- source venv/bin/activate
- On Windows:
- python -m venv venv
- venv\Scripts\activate
- Install the Redis MCP Server from PyPI
pip install redis-mcp-server
- Start the MCP server using uvx (the recommended workflow from PyPI)
uv run redis-mcp-redis
Note: The exact command may vary depending on your setup. The README example demonstrates using uvx with a Redis MCP server image; in practice, you would start the installed package and ensure your Redis instance is reachable at the configured URL.
- Connect an MCP client
- Use any MCP-compatible client to connect via stdio and start issuing natural language requests to Redis through the MCP server.
Optional (Docker):
- If you prefer Docker, you can build or pull a container image that bundles the Redis MCP Server and a Redis instance, then run it with appropriate environment variables for URL, authentication, and ACLs.
Additional notes
Tips and common issues:
- Ensure Redis is reachable at the configured URL (default redis://localhost:6379/0). If you use authentication, update the URL or provide credentials via environment/config.
- The server supports a wide range of Redis data types; when asking for complex operations (like indexing or embeddings), ensure your data is stored in a compatible format (e.g., hashes with embedding fields or vectors in a suitable structure).
- If you enable EntraID/AAD authentication, configure the necessary Azure credentials in environment variables or the Redis ACLs to avoid access issues.
- The MCP stdio transport is the default; if you plan to use HTTP-based or streaming transports in the future, monitor the project for updates on transport support.
- For debugging, check the server logs for command translations and Redis responses to fine-tune your natural language prompts.
Related MCP Servers
AgentChat
AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
mcp-aktools
📈 提供股票、加密货币的数据查询和分析功能MCP服务器
mcp -odoo
A Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
mem0
✨ mem0 MCP Server: A memory system using mem0 for AI applications with model context protocl (MCP) integration. Enables long-term memory for AI agents as a drop-in MCP server.
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
the -company
TheMCPCompany: Creating General-purpose Agents with Task-specific Tools