Redis MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REDIS_DB | No | Database number (0-15) | 0 |
| REDIS_TLS | No | Use TLS connection | false |
| REDIS_HOST | No | Redis host | localhost |
| REDIS_PORT | No | Redis port | 6379 |
| MCP_WEB_PORT | No | Web UI port | 3457 |
| REDIS_PASSWORD | No | Redis password | |
| REDIS_USERNAME | No | Redis username (for ACL) | |
| MCP_OPEN_BROWSER | No | Auto-open browser on start | true |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_commandB | Execute any Redis command. For dangerous commands (FLUSHALL, SHUTDOWN, etc.), the command blacklist will be checked. |
| run_redis_queryA | Execute read-only Redis commands (GET, HGET, LRANGE, SMEMBERS, etc.). Returns the result. |
| list_keysA | List keys matching a pattern. Use '*' for all keys. Be careful with large databases. |
| get_key_infoB | Get information about a key: type, TTL, encoding, and value. |
| get_stringC | Get the value of a string key. |
| set_stringA | Set the value of a string key. Optionally set expiration. |
| get_hashC | Get all fields and values of a hash, or specific fields. |
| set_hashC | Set fields in a hash. |
| get_listC | Get elements from a list by range. |
| push_listB | Push elements to a list (left or right). |
| get_setB | Get all members of a set. |
| add_setC | Add members to a set. |
| get_sorted_setC | Get members from a sorted set by score range or rank. |
| add_sorted_setB | Add members with scores to a sorted set. |
| delete_keyC | Delete one or more keys. |
| rename_keyD | Rename a key. |
| set_ttlC | Set expiration time for a key. |
| get_ttlC | Get remaining TTL for a key. |
| select_databaseB | Select a Redis database (0-15). |
| get_database_sizeB | Get the number of keys in the current database. |
| get_server_infoA | Get Redis server information (memory, clients, stats, etc.). |
| get_connection_infoA | Get current Redis connection details. |
| list_saved_connectionsA | List all saved Redis connections. |
| save_connectionB | Save a Redis connection configuration. |
| use_connectionC | Switch to a saved Redis connection. |
| delete_connectionC | Delete a saved Redis connection. |
| test_connectionC | Test a Redis connection by sending PING. |
| get_command_blacklistA | Get the current command blacklist configuration. |
| update_command_blacklistC | Update the command blacklist configuration. |
| reset_command_blacklistA | Reset command blacklist to default patterns. |
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/minivv/redis-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server