Redis 云 API MCP 服务器
模型上下文协议 (MCP) 是用于管理大型语言模型 (LLM) 与外部系统之间上下文的标准化协议。本代码库为 Redis Cloud 的 API 提供了一个 MCP 服务器,让您可以使用自然语言管理 Redis Cloud 资源。
这使您可以使用 Claude Desktop 或任何 MCP 客户端使用自然语言来完成 Redis Cloud 帐户上的事情,例如:
- “在 AWS 中创建一个新的 Redis 数据库”
- “我目前订阅了哪些内容?”
- “帮我为我的电子商务应用程序选择合适的 Redis 数据库”
特征
账户管理
get_current_account
:获取有关当前 Redis Cloud 帐户的详细信息get_current_payment_methods
:列出为您的帐户配置的所有付款方式
订阅管理
专业订阅
get_pro_subscriptions
:列出您帐户中的所有 Pro 订阅create_pro_subscription
:使用高级配置选项创建新的 Pro 订阅- 支持多云部署
- 配置内存、持久性和模块
- 设置主动-主动部署
- 自定义网络配置
基本订阅
get_essential_subscriptions
:列出所有基本订阅(分页)get_essential_subscription_by_id
:获取有关特定 Essential 订阅的详细信息create_essential_subscription
:创建一个新的基本订阅delete_essential_subscription
:删除基本订阅
数据库功能
get_database_modules
:列出您的帐户支持的所有可用数据库模块(功能)- Redis 模块
- 数据库功能
- 性能选项
云提供商管理
get_pro_plans_regions
:获取跨云提供商的可用区域- AWS 区域
- GCP 区域
- 网络选项
- 可用区域
计划和定价
get_essentials_plans
:列出可用的基本订阅计划(分页)- 支持 AWS、GCP 和 Azure
- Redis Flex 选项
- 固定计划
任务管理
get_tasks
:列出您帐户中所有当前任务get_task_by_id
:获取特定任务的详细信息- 跟踪部署状态
- 监控订阅变化
- 查看任务进度
用法
先决条件
- 有效的 Redis Cloud API 凭据(API 密钥和密钥)
- 长时间运行的操作会返回任务 ID,并且可以进行监控
- 分页响应需要多次调用才能检索所有数据
克劳德桌面
要使用 Claude Desktop 运行 MCP 服务器,请按照以下步骤操作:
- 构建包:
- 将服务器添加到 Claude Desktop:
- 打开 Claude 桌面设置
- 导航到“开发者”选项卡(确保已启用开发者模式)
- 点击“编辑配置”
- 在文本编辑器中打开
claude_desktop_config.json
文件并添加以下配置:GXP2
- 关闭 Claude Desktop 并重新启动。服务器现在应该可以在 MCP 服务器部分中使用。
游标 IDE
要使用 Cursor IDE 运行 MCP 服务器,请按照以下步骤操作:
- 构建包:
- 将服务器添加到 Cursor:
- 打开游标设置
- 导航至 MCP 选项卡
- 点击“添加新的全局 MCP 服务器”
- 使用以下配置更新自动打开的
mcp.json
文件:GXP4
- 重启 Cursor。服务器现在应该可以在 MCP 服务器部分中访问了。
发展
先决条件
- nvm(节点版本管理器)
- 节点 v22.14.0
- npm 10.9.2
入门
- 安装依赖项:
- 构建项目:
- 使用 MCP 检查器进行测试:
项目结构
注意:如果您更改了代码,请记住重建并重新启动 Claude Desktop/Cursor:
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Redis Cloud API MCP Server 为 Redis Cloud 的 API 提供了一个 MCP Server,让您可以使用自然语言管理您的 Redis Cloud 资源。
Related Resources
Related MCP Servers
- -securityAlicense-qualityProvides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.Last updated -7317JavaScriptMIT License
- 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
- -securityAlicense-qualityAn MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.Last updated -85TypeScriptApache 2.0
- AsecurityFlicenseAqualityModel Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.Last updated -105316JavaScript