Featureflip

السجل الرسمي الذكاء الاصطناعي والوكلاء

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @featureflip/mcp
Claude Code
claude mcp add featureflip -e 'FEATUREFLIP_TOKEN=<your featureflip_token>' -e 'FEATUREFLIP_API_URL=https://api.featureflip.io' -e 'FEATUREFLIP_ORG=<FEATUREFLIP_ORG>' -- npx -y @featureflip/mcp@0.4.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "featureflip": {
            "command": "npx",
            "args": [
                "-y",
                "@featureflip/mcp@0.4.0"
            ],
            "env": {
                "FEATUREFLIP_TOKEN": "<your featureflip_token>",
                "FEATUREFLIP_API_URL": "https://api.featureflip.io",
                "FEATUREFLIP_ORG": "<FEATUREFLIP_ORG>"
            }
        }
    }
}

متغيرات البيئة

  • FEATUREFLIP_TOKEN إلزامي سري Featureflip API token. A personal token (ffp_) acts as you; a service token (ffs_) is a scoped machine identity for CI and agents.
  • FEATUREFLIP_API_URL Management API base URL. Defaults to https://api.featureflip.io.
  • FEATUREFLIP_ORG Organization slug. Only needed for a personal token that can reach more than one organization.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @featureflip/mcp
  2. Setup
  3. Configuration
  4. Tools
  5. Notes
  6. License

@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
claude mcp add featureflip -e FEATUREFLIP_TOKEN=ffp_your_token -- npx -y @featureflip/mcp
Cursor / Cline / generic JSON config
{
  "mcpServers": {
    "featureflip": {
      "command": "npx",
      "args": ["-y", "@featureflip/mcp"],
      "env": { "FEATUREFLIP_TOKEN": "ffp_your_token" }
    }
  }
}

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, 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

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

Workflows: flag_status (cross-environment view), 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

الأسئلة الشائعة

ما هو Featureflip؟

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

كيف أثبّت Featureflip؟

يعمل على جهازك. في Claude Code: claude mcp add featureflip -e 'FEATUREFLIP_TOKEN=<your featureflip_token>' -e 'FEATUREFLIP_API_URL=https://api.featureflip.io' -e 'FEATUREFLIP_ORG=<FEATUREFLIP_ORG>' -- npx -y @featureflip/mcp@0.4.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Featureflip إلى مفتاح API؟

نعم. يتطلب FEATUREFLIP_TOKEN، وتضبطها في إعداداته.

هل Featureflip مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون Featureflip؟

ينشره canopy-labs. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.