Loading...
pip install redis-mcp-server{
"mcpServers": {
"redis": {
"command": "<full_path_uv_command>",
"args": [
"--directory",
"<your_mcp_server_directory>",
"run",
"src/main.py"
],
"env": {
"REDIS_HOST": "<your_redis_database_hostname>",
"REDIS_PORT": "<your_redis_database_port>",
"REDIS_PWD": "<your_redis_database_password>",
"REDIS_SSL": True|False,
"REDIS_SSL_CA_PATH": "<your_redis_ca_path>",
"REDIS_CLUSTER_MODE": True|False
}
}
}
}stringSets and retrieves strings with optional expiration, useful for caching and session management.
Allows writing and expiring data.
hashStores and retrieves field-value pairs within a single key, suitable for representing objects.
Allows writing and potentially overwriting data.
listAppends and pops items from lists, useful for queues and message brokers.
Allows modifying list contents.
setAdds, removes, and lists set members, useful for tracking unique values.
Allows modifying set contents.
sorted setManages data with score-based ordering, suitable for leaderboards and priority queues.
Allows modifying sorted set contents.
pub/subPublishes messages to channels and subscribes to receive them, enabling real-time notifications.
Allows publishing messages.
streamsAdds, reads, and deletes from data streams, useful for event sourcing and activity feeds.
Allows modifying stream contents.
JSONStores, retrieves, and manipulates JSON documents in Redis, useful for complex data structures.
Allows modifying JSON documents.
docsSearches Redis documentation using natural language queries.
Read-only access to documentation.
query engineManages vector indexes and performs vector search.
Allows creating and querying vector indexes.
server managementRetrieves information about the Redis database server.
Read-only access to server information.
The Redis MCP Server's safety depends on the configuration of Redis ACL and the appropriate use of tools. When ACL is properly configured and only safe tools are used, it can be considered relatively safe. However, if destructive tools are enabled without proper access controls, it poses a significant risk.