Redis Server
FreeNot checkedEnables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.
About
Enables AI to safely view and operate Redis databases with read-only mode by default and support for key operations.
README
让AI安全地查看和操作你的Redis
✨ 特性
- 🔒 安全优先 — 默认只读模式,写操作需显式开启
- 🔍 智能识别 — 自动识别键类型(string/list/set/hash/zset)
- 🇨🇳 中文优先 — 文档和提示全部中文化
- 🔌 即插即用 — 支持Claude Desktop、Cursor等MCP客户端
- 🛡️ 访问控制 — 键前缀过滤 + 黑名单模式
- 📊 内存分析 — 查看键的内存占用
🚀 快速开始
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 Redis Server in Claude Desktop, Claude Code & Cursor
unyly install redis-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add redis-mcp-server -- uvx redis-mcp-serverStep-by-step: how to install Redis Server
FAQ
Is Redis Server MCP free?
Yes, Redis Server MCP is free — one-click install via Unyly at no cost.
Does Redis Server need an API key?
No, Redis Server runs without API keys or environment variables.
Is Redis Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Redis Server in Claude Desktop, Claude Code or Cursor?
Open Redis Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare Redis Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
