mcp-server-redis
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Redis host address | localhost |
| PORT | No | Redis port | 6379 |
| PASSWORD | No | Redis password | |
| ALLOW_DROP | No | Whether to allow drop/delete key operations. Set to 'false' to disable | true |
| MCP_LOG_DIR | No | Log directory | ./logs |
| ALLOW_CREATE | No | Whether to allow create key operations. Set to 'false' to disable | true |
| ALLOW_DELETE | No | Whether to allow delete operations. Set to 'false' to disable | true |
| ALLOW_INSERT | No | Whether to allow insert operations. Set to 'false' to disable | true |
| ALLOW_UPDATE | No | Whether to allow update operations. Set to 'false' to disable | true |
| MCP_LOG_FILE | No | Log filename | mcp-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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/liliangshan/mcp-server-redis'
If you have feedback or need assistance with the MCP directory API, please join our Discord server