Redis
OFFICIAL · Model Context ProtocolNO AUTHMITConnect your AI agent to Redis for real-time key-value storage, caching, pub/sub messaging, and data structure management.
Setup Guide
{
"mcpServers": {
"redis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-redis",
"redis://localhost:6379"
]
}
}
}Tools
set
Set a key-value pair in Redis with optional expiry (TTL).
get
Retrieve the value associated with a key from Redis.
delete
Remove one or more keys from the Redis store.
list
List all keys matching a pattern (using Redis KEYS or SCAN).
hset
Set one or more fields in a Redis hash.
hget
Get the value of a specific field in a Redis hash.
lpush
Prepend one or more values to a Redis list.
lrange
Get a range of elements from a Redis list.
Compatibility
About
Overview
The Redis MCP server turns your AI assistant into a capable Redis client. It can read and write keys, manage hashes and lists, inspect cache state, and help you understand your data in real time — without requiring you to switch to a separate Redis CLI or GUI tool.
This is especially valuable for backend developers building applications that rely on Redis for caching, session management, rate limiting, or pub/sub messaging. Your AI can inspect live data, suggest TTL strategies, and help debug cache-miss issues directly in your workflow.
Quick Start with Docker
If you don't have Redis installed locally, you can start an instance with Docker:
bashdocker run -d -p 6379:6379 --name mcp-redis redis:latest
Then use redis://localhost:6379 as your connection URL.
Connecting to Redis Cloud
For Redis Cloud or other managed Redis services:
- Log in to app.redislabs.com (or your Redis provider).
- Navigate to your database and copy the Public Endpoint and Password.
- Build the connection URL:
redis://:yourpassword@your-endpoint.redislabs.com:12345 - Use that URL in the
argsarray of your MCP config.
Install and Troubleshooting Intent Coverage
Developer-install and troubleshooting intent for community MCP server listings.
install mcp server / mcp server setup guide
mcp json config example / vscode mcp setup
mcp server not working / mcp tools not showing
mcp server compatibility matrix / cursor vs vscode mcp compatibility
mcp server monetization options / convert community mcp server to paid listing
Related Setup, Debug, and Learning Links
Database MCP troubleshooting
Connection and env-path failures are common in DB tools.
Authentication guide
Most database listings require secure credential flow.
CLI installation guide
Install baseline for all IDEs before listing-specific setup.
Using servers guide
Covers runtime usage patterns and auth flow.
Cursor setup walkthrough
High-intent setup path for developer troubleshooting journeys.
Troubleshooting: tools not showing
Covers discovery/listing failures across major IDEs.
Registry listing: postgres
Maps this community reference to install-ready hosted listing.
Related explore entry: Notion
Keeps same-intent users on matched category and tool shape.
Related explore entry: PostgreSQL
Keeps same-intent users on matched category and tool shape.
Related explore entry: SQLite
Keeps same-intent users on matched category and tool shape.
Related explore entry: Supabase
Keeps same-intent users on matched category and tool shape.
Install this server instantly with the AgenticMarket CLI — zero config, auto-detects your IDE.
$npx agenticmarket install redisNotion
Connect your AI agent to Notion workspaces to read pages, create documents, update databases, search content, and manage your team's knowledge system.
PostgreSQL
Inspect schema structures, list tables, and execute read-only queries against your PostgreSQL databases from your AI assistant.
SQLite
Give your AI agent direct read and write access to SQLite databases — query tables, run analysis, insert records, and explore schemas conversationally.
Supabase
Connect your AI coding assistant to Supabase. Query databases, run migrations, deploy Edge Functions, and manage projects — all through natural language in VS Code, Cursor, Claude Desktop, and more.
AgenticMarket