Redis MCP 服务器 (@gongrzhe/server-redis-mcp@1.0.0)
用于与 Redis 数据库交互的 Redis 模型上下文协议 (MCP) 服务器实现。该服务器使 LLM 能够通过一组标准化工具与 Redis 键值存储进行交互。
更新
62 个 Redis MCP 工具位于https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plus
安装和使用
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Redis MCP 服务器:
手动安装
或者全局安装:
成分
工具
- 放
- 设置具有可选到期日期的 Redis 键值对
- 输入:
key
(字符串):Redis 键value
(字符串):要存储的值expireSeconds
(数字,可选):以秒为单位的到期时间
- 得到
- 从 Redis 中根据 key 获取值
- 输入:
key
(字符串):要检索的 Redis 键
- 删除
- 从 Redis 中删除一个或多个键
- 输入:
key
(string | string[]):要删除的键或键数组
- 列表
- 列出与模式匹配的 Redis 键
- 输入:
pattern
(字符串,可选):匹配键的模式(默认值:*)
配置
与 Claude Desktop 一起使用
要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json
的“mcpServers”部分:
或者,如果您已经安装了该包,则可以直接使用 node 命令:
Docker 使用
使用 Docker 时:
- 对于 macOS,如果 Redis 服务器在主机网络上运行,请使用
host.docker.internal
- Redis URL 可以指定为参数,默认为“redis://localhost:6379”
发展
从源代码构建
- 克隆存储库
- 安装依赖项:
- 构建项目:
Docker 构建
执照
此 MCP 服务器采用 ISC 许可证。更多详情,请参阅项目仓库中的 LICENSE 文件。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
提供对 Redis 数据库的访问。此服务器使 LLM 能够通过一组标准化工具与 Redis 键值存储进行交互。
Related MCP Servers
- AsecurityAlicenseAqualityEnables users to perform Redis database operations using the Model Context Protocol (MCP) tools, allowing for efficient data management through commands like setting, getting, and scanning hash fields.Last updated -13295TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server for interacting with Redmine using its REST API, enabling the management of tickets, projects, and user data through integration with LLMs.Last updated -2332TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.Last updated -1077PythonMIT License
- -securityAlicense-qualityA server that provides Claude with Redis database access and operations through a set of tools for basic operations, lists, hashes, sets, and pub/sub functionality.Last updated -19PythonMIT License