easy-redis-mcp

v1.1.4
easy-redis-mcp Checked 9 hours ago Published 2 months ago

High performance Redis MCP Server using node-redis

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

redis_manual

Return the Redis MCP manual. Use this first when you are unsure how to use redis_command, typed Redis tools, or when an operation fails and you need the safe usage rules, key-type rules, or command composition guidance.

redis_command

Execute a Redis command with arguments. In REDIS_MODE=read, only read-only commands are allowed. REDIS_MODEL is accepted as a backward-compatible alias.

ParameterTypeDescription
command *stringRedis command name, such as GET, SET, HGETALL, or INFO.
argsarrayCommand arguments in order.

redis_ping

Ping Redis and optionally echo a message.

ParameterTypeDescription
messagestring

redis_info

Return Redis INFO output, optionally for a specific section.

ParameterTypeDescription
sectionstring

redis_dbsize

Return the number of keys in the selected Redis database.

redis_time

Return Redis server time.

redis_client_list

Return CLIENT LIST output.

redis_config_get

Read Redis configuration values with CONFIG GET.

ParameterTypeDescription
parameter *stringConfig parameter pattern, for example maxmemory or *.

redis_command_list

List Redis commands supported by the server.

redis_get

Get a string value by key.

ParameterTypeDescription
key *string

redis_mget

Get multiple string values by key.

ParameterTypeDescription
keys *array

redis_exists

Check how many keys exist.

ParameterTypeDescription
keys *array

redis_ttl

Return key TTL in seconds.

ParameterTypeDescription
key *string

redis_type

Return key type.

ParameterTypeDescription
key *string

redis_scan

Run SCAN with optional MATCH, COUNT, and TYPE.

ParameterTypeDescription
countinteger
cursorstring
patternstring
typestring

redis_keys

Run KEYS for a pattern. Prefer redis_scan for large databases.

ParameterTypeDescription
pattern *string

redis_hget

Get a hash field value.

ParameterTypeDescription
field *string
key *string

redis_hgetall

Get all fields and values in a hash.

ParameterTypeDescription
key *string

redis_lrange

Return list elements in a range.

ParameterTypeDescription
key *string
start *integer
stop *integer

redis_smembers

Return all members of a set.

ParameterTypeDescription
key *string

redis_zrange

Return sorted set members by index range.

ParameterTypeDescription
key *string
start *integer
stop *integer
withScoresboolean

redis_xrange

Return stream entries by id range.

ParameterTypeDescription
key *string
countinteger
endstring
startstring

redis_set

Set a string key value with optional EX/PX/NX/XX modifiers.

ParameterTypeDescription
key *string
value *string | number | boolean
expireMillisecondsinteger
expireSecondsinteger
nxboolean
xxboolean

redis_mset

Set multiple string key-value pairs.

ParameterTypeDescription
entries *object

redis_del

Delete one or more keys.

ParameterTypeDescription
keys *array

redis_expire

Set key expiration in seconds.

ParameterTypeDescription
key *string
seconds *integer

redis_rename

Rename a key.

ParameterTypeDescription
key *string
newKey *string

redis_incrby

Increment an integer key by a value.

ParameterTypeDescription
increment *integer
key *string

redis_hset

Set one or more hash fields.

ParameterTypeDescription
fields *object
key *string

redis_hdel

Delete one or more hash fields.

ParameterTypeDescription
fields *array
key *string

redis_lpush

Push values to the head of a list.

ParameterTypeDescription
key *string
values *array

redis_rpush

Push values to the tail of a list.

ParameterTypeDescription
key *string
values *array

redis_lpop

Pop one or more values from the head of a list.

ParameterTypeDescription
key *string
countinteger

redis_rpop

Pop one or more values from the tail of a list.

ParameterTypeDescription
key *string
countinteger

redis_sadd

Add members to a set.

ParameterTypeDescription
key *string
members *array

redis_srem

Remove members from a set.

ParameterTypeDescription
key *string
members *array

redis_zadd

Add scored members to a sorted set.

ParameterTypeDescription
key *string
members *array

redis_zrem

Remove members from a sorted set.

ParameterTypeDescription
key *string
members *array

redis_xadd

Append an entry to a stream.

ParameterTypeDescription
fields *object
key *string
idstring

redis_publish

Publish a message to a Redis channel.

ParameterTypeDescription
channel *string
message *string | number | boolean