Skip to main content
Glama
daedalus

mcp-redis-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDIS_DBNoRedis database number0
REDIS_SSLNoEnable SSLfalse
REDIS_HOSTNoRedis hostlocalhost
REDIS_PORTNoRedis port6379
REDIS_PASSWORDNoRedis password (optional)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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