mcp-redis-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REDIS_DB | No | Redis database number | 0 |
| REDIS_SSL | No | Enable SSL | false |
| REDIS_HOST | No | Redis host | localhost |
| REDIS_PORT | No | Redis port | 6379 |
| REDIS_PASSWORD | No | Redis password (optional) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| redis_connectB | Connect to a Redis server. |
| redis_disconnectA | Disconnect from the Redis server. Returns: Disconnection status message. Example: >>> redis_disconnect() "Disconnected from Redis" |
| redis_pingA | Ping the Redis server. Returns: PONG response if connected. Example: >>> redis_ping() "PONG" |
| redis_getB | Get the value of a key. |
| redis_setC | Set the value of a key. |
| redis_mgetB | Get the values of multiple keys. |
| redis_msetC | Set multiple key-value pairs. |
| redis_delC | Delete one or more keys. |
| redis_incrB | Increment the value of a key. |
| redis_decrB | Decrement the value of a key. |
| redis_lpushB | Push values to the left of a list. |
| redis_rpushC | Push values to the right of a list. |
| redis_lrangeA | Get a range of elements from a list. |
| redis_llenB | Get the length of a list. |
| redis_saddB | Add members to a set. |
| redis_sremA | Remove members from a set. |
| redis_smembersB | Get all members of a set. |
| redis_sismemberB | Check if a member exists in a set. |
| redis_scardB | Get the size of a set. |
| redis_hsetC | Set a field in a hash. |
| redis_hgetB | Get a field from a hash. |
| redis_hmsetB | Set multiple fields in a hash. |
| redis_hmgetB | Get multiple fields from a hash. |
| redis_hgetallA | Get all fields and values from a hash. |
| redis_hkeysB | Get all field names from a hash. |
| redis_hvalsB | Get all field values from a hash. |
| redis_hdelC | Delete fields from a hash. |
| redis_hlenB | Get the number of fields in a hash. |
| redis_zaddA | Add members with scores to a sorted set. |
| redis_zscoreC | Get the score of a member in a sorted set. |
| redis_zrangeC | Get a range of members from a sorted set. |
| redis_zrevrangeB | Get a range of members from a sorted set in reverse order. |
| redis_zcardB | Get the size of a sorted set. |
| redis_existsC | Check if keys exist. |
| redis_expireB | Set expiration time on a key. |
| redis_ttlA | Get the time to live for a key. |
| redis_typeB | Get the type of a key. |
| redis_scanC | Scan keys matching a pattern. |
| redis_dbsizeA | Get the number of keys in the current database. Returns: Number of keys. Example: >>> redis_dbsize() 42 |
| redis_flushdbA | Flush all keys in the current database. Returns: OK status. Example: >>> redis_flushdb() "OK" |
| redis_flushallA | Flush all keys in all databases. Returns: OK status. Example: >>> redis_flushall() "OK" |
| redis_infoB | Get Redis server information. |
| redis_config_getC | Get Redis configuration. |
| redis_config_setC | Set Redis configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-redis-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server