redis-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REDIS_MCP_HOST | No | Redis server host (default: localhost) | |
| REDIS_MCP_PORT | No | Redis server port (default: 6379) | |
| REDIS_MCP_PASSWORD | No | Redis password (optional) | |
| REDIS_MCP_READ_ONLY | No | Enable read-only mode (default: 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 | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | 测试Redis连接是否正常 |
| server_infoB | 获取Redis服务器信息 |
| db_sizeA | 获取当前数据库的键数量 |
| scan_keysC | 扫描匹配的键 |
| get_key_typeB | 获取键的类型和TTL |
| get_key_valueB | 自动识别键类型并获取值(支持string/list/set/hash/zset) |
| get_hashB | 获取哈希类型的所有字段和值 |
| get_memory_usageC | 获取键的内存使用量 |
| set_stringA | 设置字符串值(需要关闭只读模式) |
| delete_keysC | 删除键(需要关闭只读模式) |
| set_expireA | 设置键的过期时间(需要关闭只读模式) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_redis | 生成Redis分析提示词 |
| find_keys_by_pattern | 生成键搜索提示词 |
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/lm203688/redis-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server