Basic information
About Redis MCP Server
Redis database management. Key-value operations, caching, pub/sub, and data structure commands.
Redis is a MCP server in the Databases category listed in the AddMCP.net directory, published by modelcontextprotocol. It exposes 13 tools, including hmset, hget, hgetall, scan and more. Supported transport: stdio. Runtime: node. The repository has 88,240 GitHub stars. Source code is hosted on github.com. Related topics: database, key-value-store, redis.
Setup
{
"mcpServers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
{
"mcpServers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
{
"servers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
Redis MCP Server — by modelcontextprotocol config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"redis": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/redis",
"redis://host.docker.internal:6379"
]
}
}
}
Redis MCP Server — by modelcontextprotocol tools
-
hmset
— Set multiple hash fields to multiple values
fields:object*, key:string* -
hget
— Get the value of a hash field
field:string*, key:string* -
hgetall
— Get all the fields and values in a hash
key:string* -
scan
— Scan Redis keys matching a pattern
count:number, pattern:string* -
set
— Set string value with optional NX (only if not exists) and PX (expiry in milliseconds) options
key:string*, nx:boolean, px:number, value:string* -
get
— Get string value
key:string* -
del
— Delete a key
key:string* -
zadd
— Add one or more members to a sorted set
key:string*, members:array* -
zrange
— Return a range of members from a sorted set by index
key:string*, start:number*, stop:number*, withScores:boolean -
zrangebyscore
— Return members from a sorted set with scores between min and max
key:string*, max:number*, min:number*, withScores:boolean -
zrem
— Remove one or more members from a sorted set
key:string*, members:array* -
sadd
— Add one or more members to a set
key:string*, members:array* -
smembers
— Get all members in a set
key:string*
Overview
What is Redis?
Model Context Protocol Servers
Redis tools
hmset: Set multiple hash fields to multiple valueshget: Get the value of a hash fieldhgetall: Get all the fields and values in a hashscan: Scan Redis keys matching a patternset: Set string value with optional NX (only if not exists) and PX (expiry in milliseconds) optionsget: Get string valuedel: Delete a keyzadd: Add one or more members to a sorted setzrange: Return a range of members from a sorted set by indexzrangebyscore: Return members from a sorted set with scores between min and maxzrem: Remove one or more members from a sorted setsadd: Add one or more members to a setsmembers: Get all members in a set
Videos
Tutorials, guides, and showcases related to Redis MCP Server — by modelcontextprotocol. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In