mcp-redis
by redis·★ 510·Score 54
Official Redis MCP Server providing natural language interface for AI agents to manage Redis data efficiently.
Overview
The Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently. It integrates seamlessly with MCP clients, enabling AI-driven workflows to interact with structured and unstructured data in Redis. The server provides comprehensive tools for managing strings, hashes, lists, sets, sorted sets, streams, pub/sub, JSON documents, and supports vector search operations.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this when you need an official, production-ready MCP interface for Redis with comprehensive data structure support and natural language capabilities.
When NOT to choose this
Avoid if you're not already using Redis or if you need specialized database features not supported by Redis like complex joins or multi-document transactions.
Tools this server exposes
11 tools extracted from the READMEstringSet, get strings with expiration
hashStore field-value pairs within a single key
listAppend and pop items from lists
setAdd, remove and list set members
sorted setManage data with score-based ordering
pub/subPublish and subscribe to channels
streamsManage data streams and consumer groups
JSONStore and manipulate JSON documents
docsSearch Redis documentation
query engineManage vector indexes and perform vector search
server managementRetrieve information about the database
Comparable tools
Installation
Installation
From PyPI (recommended)
{
"mcpServers": {
"RedisMCPServer": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}From GitHub
uvx --from git+https://github.com/redis/mcp-redis.git redis-mcp-server --url redis://localhost:6379/0Docker
docker run -d --name redis-mcp-server -e REDIS_HOST=<redis_hostname> -e REDIS_PORT=<redis_port> -e REDIS_USERNAME=<redis_username> mcp/redisFAQ
- What Redis data types are supported by this MCP server?
- The server supports all major Redis data types including strings, hashes, lists, sets, sorted sets, streams, JSON documents, and provides tools for pub/sub functionality and vector search.
- How do I authenticate with Redis using this MCP server?
- The server supports multiple authentication methods including username/password, Redis ACL, and EntraID authentication for Azure Managed Redis. Configuration can be done via command line arguments, environment variables, or URI parameters.
Compare mcp-redis with
Last updated · Auto-generated from public README + GitHub signals.