Skip to main content
Glama
lm203688

redis-mcp-server

by lm203688

Redis MCP Server

让AI安全地查看和操作你的Redis

✨ 特性

  • 🔒 安全优先 — 默认只读模式,写操作需显式开启

  • 🔍 智能识别 — 自动识别键类型(string/list/set/hash/zset)

  • 🇨🇳 中文优先 — 文档和提示全部中文化

  • 🔌 即插即用 — 支持Claude Desktop、Cursor等MCP客户端

  • 🛡️ 访问控制 — 键前缀过滤 + 黑名单模式

  • 📊 内存分析 — 查看键的内存占用

Related MCP server: Redis CRUD MCP Server

🚀 快速开始

Claude Desktop配置

{
  "mcpServers": {
    "redis": {
      "command": "python",
      "args": ["-m", "redis_mcp_server"],
      "env": {
        "REDIS_MCP_HOST": "localhost",
        "REDIS_MCP_PORT": "6379",
        "REDIS_MCP_PASSWORD": "",
        "REDIS_MCP_READ_ONLY": "true"
      }
    }
  }
}

🛠️ 工具列表

工具

功能

安全级别

ping

测试连接

🟢 只读

server_info

服务器信息

🟢 只读

db_size

键数量

🟢 只读

scan_keys

扫描键

🟢 只读

get_key_type

键类型+TTL

🟢 只读

get_key_value

自动读取值

🟢 只读

get_hash

哈希详情

🟢 只读

get_memory_usage

内存占用

🟢 只读

set_string

设置字符串

🔴 需关闭只读

delete_keys

删除键

🔴 需关闭只读

set_expire

设置过期

🔴 需关闭只读

📄 License

MIT License

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    B
    quality
    D
    maintenance
    Enables 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.
    Last updated
    34
    11
    2
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides comprehensive Redis database operations supporting all major data types (strings, lists, sets, hashes, sorted sets) with full CRUD functionality through natural language commands.
    Last updated
    9
    9
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables exploring and diagnosing a Redis instance from MCP clients with read-only safety, using SCAN instead of KEYS for safe key enumeration.
    Last updated
    7
    120
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only China A-share data for AI agents: market, limit-up, capital flow and disclosures.

  • Read-only bank access for your AI agent. Connects Claude, ChatGPT, Cursor, Gemini, Codex.

  • Runtime permission, approval, and audit layer for AI agent tool execution.

View all MCP Connectors

Latest Blog Posts

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