Featureflip

io.github.canopy-labs由 GitHub 账号 canopy-labs 发布v0.9.0更新于 Nov 7, 2026

Manage Featureflip feature flags, targeting and rollouts from AI agents and editors.

已验证STDIO仅桌面效率与工作流开发者工具

概览

AI 生成的概览

让 AI 助手在编辑器或代理中管理 Featureflip 功能开关、定向规则、细分群组与灰度发布。

可以做什么
  • 列出并管理项目、环境、开关、细分群组与 SDK 密钥
  • 创建、更新、切换、归档、恢复和删除开关,并设置负责人、过期时间与永久状态
  • 读取和修改定向规则、变体以及各环境的开关配置
  • 管理 Webhook 并查看投递记录
  • 查看跨环境状态、评估次数、环境差异、陈旧开关与可移除候选
  • 创建开关并获取对应语言的 SDK 代码片段
适用场景
当你使用 Featureflip 功能开关,希望助手无需切换到控制台就能查看、修改或清理开关、定向与灰度发布时使用。适合用个人令牌进行编辑器内交互,也适合用受限服务令牌做 CI 或代理自动化。
运行要求
需要本地 Node.js 运行环境,通过 npx 从 npm 包启动。必须提供 FEATUREFLIP_TOKEN 中的 Featureflip API 令牌;FEATUREFLIP_API_URL 与 FEATUREFLIP_ORG 可选。需要能访问 Featureflip API 的网络。
安装前请注意
令牌属于凭据:个人令牌以你的身份行事,带有你的权限。许多工具会创建、更新、切换、归档或删除开关、定向、细分群组、环境、SDK 密钥与 Webhook,且每次变更都会记入审计日志并归属到该令牌。Webhook 工具需要管理员令牌。不提供开关评估功能,运行时投放需使用各语言 SDK。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Featureflip,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@featureflip/mcp

MCP (Model Context Protocol) server for Featureflip — manage feature flags from AI coding assistants (Claude Code, Cursor, Copilot, Cline) and autonomous agents.

Setup

  1. Create an API token in the Featureflip dashboard:
    • Personal token (ffp_...): Settings → API Tokens — acts as you, for interactive editor use.
    • Service token (ffs_...): Organization Settings → Service Tokens — scoped machine identity for CI/agents.
  2. Add the server to your MCP client:

Claude Code

bash
claude mcp add featureflip -e FEATUREFLIP_TOKEN=ffp_your_token -- npx -y @featureflip/mcp@latest

Cursor / Cline / generic JSON config

json
{  "mcpServers": {    "featureflip": {      "command": "npx",      "args": ["-y", "@featureflip/mcp@latest"],      "env": { "FEATUREFLIP_TOKEN": "ffp_your_token" }    }  }}

Keep the @latest. Without a version, npx reuses the copy it downloaded the first time and never checks npm again, so tools added in later releases would never show up in your client.

Configuration

Env varRequiredDefaultPurpose
FEATUREFLIP_TOKENyes—ffp_/ffs_ API token
FEATUREFLIP_API_URLnohttps://api.featureflip.ioAPI base URL
FEATUREFLIP_ORGnoautoOrg slug (needed only for multi-org personal tokens)

Tools

CRUD: list_projects, list_environments, list_flags, get_flag, create_flag, update_flag, delete_flag, archive_flag, restore_flag, set_flag_expiry, set_flag_owner, set_flag_permanent, toggle_flag, update_flag_environment_config, copy_flag_config, get_targeting, update_targeting, manage_targeting_rule, manage_variation, list_segments, get_segment, manage_segment, manage_project, set_default_flag_lifetime, manage_environment, list_sdk_keys, manage_sdk_key, list_flag_triggers, manage_flag_trigger

Webhooks (Admin token required): list_webhooks, list_webhook_deliveries, manage_webhook, deliver_webhook

Workflows: flag_status (cross-environment view), flag_evaluations (what a flag served in one environment: evaluation counts by variation and rule), compare_environments (which flags differ between two environments), find_stale_flags (cleanup candidates), list_removal_candidates (flags safe to remove, with the prerequisite dependents to remove first), wrap_feature (create flag + get the SDK snippet for your language)

Full reference: https://featureflip.io/docs/integrations/mcp/

Notes

  • Flag evaluation is not exposed over MCP — use the language SDKs in application code.
  • Every mutation is audit-logged and attributed to the token.

License

Apache-2.0

来源:README.md,提交 7123eff

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

15
  1. v0.9.0最新Nov 7, 2026
  2. v0.7.0Nov 5, 2026
  3. v0.6.0Nov 3, 2026
  4. v0.5.0Oct 30, 2026
  5. v0.4.0Oct 29, 2026
  6. v0.3.0Oct 16, 2026
  7. v0.2.0Oct 15, 2026
  8. v0.1.13Oct 13, 2026
  9. v0.1.12Oct 12, 2026
  10. v0.1.11Oct 11, 2026
  11. v0.1.10Oct 3, 2026
  12. v0.1.9Oct 1, 2026
  13. v0.1.8Sep 25, 2026
  14. v0.1.7Sep 18, 2026
  15. v0.1.6Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分