使用说明
Flipper Cloud MCP服务器
A. 模型上下文协议 服务器 Flipper Cloud 特征标志。让像克劳德这样的人工智能助手读取和管理你的功能标志。
设置
1.获取您的代币
进入您的环境 Flipper Cloud那么 设置>凭据 创建令牌。
- 只读令牌 可以列出功能、查看详细信息和检查遥测
- 读写令牌 还可以启用/禁用功能,管理参与者、组和表达式
2.连接到您的AI工具
克劳德代码
claude mcp add flipper-cloud -e FLIPPER_CLOUD_TOKEN=<your-token> -- npx -y @flippercloud/mcp
可用工具
阅读
| 工具 | 说明 |
|---|---|
list_features |
列出所有功能标志 |
get_feature |
获取特定功能的详细信息 |
get_audits |
查看最近更改的审核日志 |
get_telemetry_summary |
跨功能的遥测概述 |
get_feature_telemetry |
单个功能的详细遥测 |
写入(需要读写令牌)
| 工具 | 说明 |
|---|---|
create_feature |
创建新功能标志 |
delete_feature |
永久删除功能标志 |
enable_feature / disable_feature |
全局切换功能 |
enable_actor / disable_actor |
为特定参与者启用/禁用 |
enable_group / disable_group |
为组启用/禁用 |
enable_percentage_of_actors / disable_percentage_of_actors |
推出百分比 |
enable_expression / disable_expression |
基于表达的靶向 |
例子
问克劳德这样的问题:
- “列出我的所有功能标志”
- “为用户123启用new_checkout功能”
- “向25%的用户推出dark_mode”
- “为计划等于‘专业’的用户启用premium_feature”
- “上周搜索的遥测数据是什么?”
- “显示dark_mode的最近审核历史记录”
发展
npm install
npm run dev # run with tsx
npm run build # compile typescript
npm start # run compiled
许可证
麻省理工学院
