Skip to main content
Glama
liliangshan

mcp-server-redis

by liliangshan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoRedis host addresslocalhost
PORTNoRedis port6379
PASSWORDNoRedis password
ALLOW_DROPNoWhether to allow drop/delete key operations. Set to 'false' to disabletrue
MCP_LOG_DIRNoLog directory./logs
ALLOW_CREATENoWhether to allow create key operations. Set to 'false' to disabletrue
ALLOW_DELETENoWhether to allow delete operations. Set to 'false' to disabletrue
ALLOW_INSERTNoWhether to allow insert operations. Set to 'false' to disabletrue
ALLOW_UPDATENoWhether to allow update operations. Set to 'false' to disabletrue
MCP_LOG_FILENoLog filenamemcp-redis.log

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_dataB

Get data by key from Redis

list_keysB

List Redis keys with optional pattern matching

exists_keyA

Check if a key exists in Redis

get_key_infoC

Get detailed information about a key

get_redis_infoB

Get Redis server information

get_database_statsB

Get Redis database statistics

get_memory_infoA

Get Redis memory usage information

test_connectionA

Test Redis connection

get_operation_logsC

Get operation logs

check_permissionsA

Check Redis permissions for insert, update, delete, create and drop operations

set_dataC

Set/insert data for a key in Redis

update_dataC

Update existing data for a key in Redis

delete_dataC

Delete data by key from Redis

create_keyC

Create a new key in Redis

drop_keyB

Delete a key from Redis

rename_keyB

Rename a key in Redis

set_ttlB

Set time to live for a key

remove_ttlB

Remove time to live from a key

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

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