Redis CRUD MCP Server
Provides comprehensive CRUD operations for Redis database, supporting all major data types including strings, lists, sets, hashes, and sorted sets with operations like get/set, push/pop, add/remove members, and range queries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Redis CRUD MCP Serveradd 'user:123' to the session cache with value 'active'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Redis CRUD MCP Server
This is an MCP (Model Context Protocol) server plugin for Redis database operations, providing a full suite of CRUD tools.
⨠Features
đ Automatic Project Configuration Detection - Automatically searches upwards for
.envfiles to locate the project root directoryđ Multi-Project Support - Automatically uses different Redis connections for different projects
âąī¸ Connection Timeout Protection - 10-second default timeout, configurable via environment variables
đ Multiple Configuration Formats - Supports both INI section and KEY=VALUE formats
đ ī¸ Multi-Tool Compatibility - Supports Claude Code, Cline, Codex, etc.
Related MCP server: MCP Server Redis
đ Quick Start
Global Installation (Recommended)
npm install -g redis-crud-serverMCP Configuration
Create a .mcp.json file in your project root:
{
"mcpServers": {
"redis-crud": {
"command": "redis-crud-server"
}
}
}âī¸ Configuration Guide
Configuration Format 1: INI Section Format
[REDIS]
REDIS_HOSTNAME = 127.0.0.1
PORT = 6379
REDIS_PASSWORD = your_password
SELECT = 0Configuration Format 2: KEY=VALUE Format
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=your_passwordSupported Configuration Names
Configuration Item | Supported Names |
Host |
|
Port |
|
Password |
|
Database |
|
đ§ Tool List
String Operations
redis_set - Set string key-value
redis_get - Get string key-value
redis_del - Delete key
redis_exists - Check if key exists
Hash Operations
redis_hset - Set hash field
redis_hget - Get hash field
redis_hgetall - Get all hash fields
redis_hdel - Delete hash field
Information
redis_info - Get connection information
âąī¸ Timeout Configuration
The default connection timeout is 10 seconds, which can be configured via environment variables:
{
"mcpServers": {
"redis-crud": {
"command": "redis-crud-server",
"env": {
"REDIS_TIMEOUT": "30000"
}
}
}
}đ Usage Examples
Set Key-Value
redis_set: key=test_key, value=hello_worldGet Key-Value
redis_get: key=test_keyHash Operations
redis_hset: key=user:1, field=name, value=åŧ ä¸
redis_hget: key=user:1, field=name
redis_hgetall: key=user:1đ Troubleshooting
Connection Timeout
Check network connection and firewall settings
Confirm the Redis server is accessible
Adjust the
REDIS_TIMEOUTenvironment variable
Configuration File Not Found
Ensure the
.envfile is in the project root directoryMCP will automatically search upwards for the
.envfile
INI Format Parsing Failure
Ensure the correct section name
[REDIS]is usedSupports Windows (
\r\n), Unix (\n), and legacy Mac (\r) line endings
đ License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceProvides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.11230MIT
- Alicense-qualityDmaintenanceA server that provides Claude with Redis database access and operations through a set of tools for basic operations, lists, hashes, sets, and pub/sub functionality.24MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to perform comprehensive Redis database operations including managing strings, hashes, lists, sets, sorted sets, TTL management, and data backup/restore. Supports secure connections and provides batch operations for efficient Redis interaction through natural language.34112MIT
- AlicenseAqualityDmaintenanceEnables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.11MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
JSON/YAML, regex, diff, JWT, SQL dialects â the keyless millisecond ops an agent needs mid-task.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Nicolas-One/redis-crud-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server