Loading...

The Redis MCP Server provides a natural language interface for AI agents to manage and search data within a Redis database, supporting various data structures.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
The Redis MCP Server provides a natural language interface for AI agents to manage and search data within a Redis database, supporting various data structures.
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.
Performance is heavily dependent on the underlying Redis instance and network latency. Consider using Redis Cluster for scalability.
Cost is primarily determined by the resources consumed by the Redis instance (memory, CPU, network).
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
}
}
}
}MCP_DOCS_SEARCH_URLREDIS_PORTREDIS_ENTRAID_CLIENT_IDREDIS_ENTRAID_CLIENT_SECRETREDIS_ENTRAID_TENANT_IDREDIS_ENTRAID_USER_ASSIGNED_CLIENT_IDREDIS_URLOPENAI_API_KEYstringSets 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.
Environment Variable
hybrid
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.
Autonomy is highly dependent on the configured tools and Redis ACL. Exercise caution when enabling destructive tools.
Production Tip
Monitor Redis performance and resource usage to ensure optimal operation.
Use Redis ACL to restrict access to specific commands and keys. Configure SSL for encrypted connections. Secure environment variables.
The server supports strings, hashes, lists, sets, sorted sets, streams, and JSON.
Configuration can be done via command line arguments or environment variables.
Yes, the server supports Redis Cluster mode.
Use the `rediss` scheme in the URL and configure the `ssl_cert_reqs` and `ssl_ca_certs` parameters.
Yes, the server supports EntraID authentication for Azure Managed Redis.
Configure logging and monitor Redis performance metrics.