# @featureflip/mcp

MCP server for managing Featureflip feature flags from AI agents and editors

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.1.4
- **Author:** Unknown
- **License:** Apache-2.0
- **npm:** @featureflip/mcp
- **Source:** https://github.com/canopy-labs/featureflip-mcp
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-08-29T18:26:20.575Z
- **Version scanned:** 0.1.4
- **CVEs:** none found by OSV at scan time

## Tools

19 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `list_projects` — List projects in the Featureflip organization. Paginated: pass cursor from next_cursor to continue.
- `list_environments` — List the environments of a project (e.g. development, staging, production).
- `list_segments` — List reusable user segments in a project. Segments are referenced from targeting rules via userSegmentId.
- `get_segment` — Get one user segment (its conditions, id, and metadata) by key or id.
- `list_flags` — List feature flags in a project. Filter with search (key/name substring), tag, type, archived. Paginated via cursor.
- `get_flag` — Get one feature flag with its variations and metadata. Address by flag key or id.
- `create_flag` — Create a feature flag. type is one of Boolean|String|Number|Json. Boolean flags get true/false variations automatically; for other types pass initialVariations.
- `update_flag` — Update flag name/description/tags/clientSideVisible. Key and type are immutable. Use toggle_flag / update_targeting for behavior changes.
- `delete_flag` — PERMANENTLY delete a flag across all environments. Fails with FLAG_HAS_DEPENDENTS if other flags use it as a prerequisite. Prefer archive_flag unless the flag m
- `archive_flag` — Archive a flag (soft-hide, evaluation stops serving it). Reversible with restore_flag.
- `restore_flag` — Restore a previously archived flag.
- `toggle_flag` — Enable or disable a flag in ONE environment. Affects live evaluation immediately — double-check the environment.
- `update_flag_environment_config` — Update a flag's per-environment serving config: defaultVariationId (served on fallthrough, required), strategy (SingleVariation | PercentageRollout | TargetedRo
- `flag_status` — Compact cross-environment view of one flag: enabled state, strategy, default variation, and prerequisites per environment.
- `get_targeting` — Get a flag's current targeting configuration (enabled flag + ordered rules) in one environment.
- `update_targeting` — REPLACE all targeting rules of a flag in one environment (full PUT — rules not included are removed). Rules are evaluated in order. Get the current rules first 
- `manage_variation` — Manage a flag's variations. action=add requires key + value; action=update/remove require variationId (get ids via get_flag). Removing a variation fails with VA
- `find_stale_flags`
- `wrap_feature` — Create a Boolean feature flag and get back the SDK code snippet to guard the new code path with it. Returns the snippet only — apply the edit yourself. The flag

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@featureflip/mcp\"\n      ],\n      \"env\": {\n        \"FEATUREFLIP_TOKEN\": \"<YOUR_FEATUREFLIP_TOKEN>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `FEATUREFLIP_TOKEN` — Featureflip Token (required)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (1 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Extensive blast radius — deletes data; holds an api key.
- Floor 51, ceiling 51 (tier: extensive)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40featureflip%2Fmcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40featureflip%2Fmcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40featureflip%2Fmcp
- HTML page: https://forgeregistry.com/registry/%40featureflip%2Fmcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
