Skip to main content
Glama
minivv

Redis MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDIS_DBNoDatabase number (0-15)0
REDIS_TLSNoUse TLS connectionfalse
REDIS_HOSTNoRedis hostlocalhost
REDIS_PORTNoRedis port6379
MCP_WEB_PORTNoWeb UI port3457
REDIS_PASSWORDNoRedis password
REDIS_USERNAMENoRedis username (for ACL)
MCP_OPEN_BROWSERNoAuto-open browser on starttrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_commandB

Execute any Redis command. For dangerous commands (FLUSHALL, SHUTDOWN, etc.), the command blacklist will be checked.

run_redis_queryA

Execute read-only Redis commands (GET, HGET, LRANGE, SMEMBERS, etc.). Returns the result.

list_keysA

List keys matching a pattern. Use '*' for all keys. Be careful with large databases.

get_key_infoB

Get information about a key: type, TTL, encoding, and value.

get_stringC

Get the value of a string key.

set_stringA

Set the value of a string key. Optionally set expiration.

get_hashC

Get all fields and values of a hash, or specific fields.

set_hashC

Set fields in a hash.

get_listC

Get elements from a list by range.

push_listB

Push elements to a list (left or right).

get_setB

Get all members of a set.

add_setC

Add members to a set.

get_sorted_setC

Get members from a sorted set by score range or rank.

add_sorted_setB

Add members with scores to a sorted set.

delete_keyC

Delete one or more keys.

rename_keyD

Rename a key.

set_ttlC

Set expiration time for a key.

get_ttlC

Get remaining TTL for a key.

select_databaseB

Select a Redis database (0-15).

get_database_sizeB

Get the number of keys in the current database.

get_server_infoA

Get Redis server information (memory, clients, stats, etc.).

get_connection_infoA

Get current Redis connection details.

list_saved_connectionsA

List all saved Redis connections.

save_connectionB

Save a Redis connection configuration.

use_connectionC

Switch to a saved Redis connection.

delete_connectionC

Delete a saved Redis connection.

test_connectionC

Test a Redis connection by sending PING.

get_command_blacklistA

Get the current command blacklist configuration.

update_command_blacklistC

Update the command blacklist configuration.

reset_command_blacklistA

Reset command blacklist to default patterns.

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/minivv/redis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server