Skip to directory

About Flipt v2 MCP

Local stdio MCP server for managing and evaluating Flipt v2 Git-native feature flags and environments.

What you can use it for

  • List, create, update, and delete feature-flag resources
  • Evaluate feature flags for entities
  • Toggle flags on or off
Connection and setup
Hosting
local
Transport
stdio
Endpoint
Local process; no hosted endpoint documented
Authentication
Optional Flipt API key through FLIPT_API_KEY. Configure FLIPT_URL for the Flipt API; the documented default is http://localhost:8080. Optional FLIPT_ENVIRONMENT sets the default environment when a call does not specify one.

Requirements

  • Node.js runtime for the npm/npx method, or Docker for container setup
  • A reachable Flipt server; default API URL is http://localhost:8080
  • Flipt API key is optional and should be provided through FLIPT_API_KEY when auth is configured

Setup steps

  1. Choose the package matching the target Flipt major version. Flipt v1 uses @flipt-io/mcp-server-flipt; Flipt v2 uses @flipt-io/mcp-server-flipt-v2. A v2 server with environments and Git-backed storage uses the v2 package.
  2. Add the selected npm command as a local stdio server: npx -y @flipt-io/mcp-server-flipt-v2. Alternatively, use the corresponding Docker image documented in the repository.
  3. Set FLIPT_URL to the target Flipt API URL and, if required, provide FLIPT_API_KEY through a local secret environment variable. For v2, optionally set FLIPT_ENVIRONMENT.
  4. Restart the MCP client, inspect the returned tool list, and begin with a read-only list or flag evaluation. Ask for explicit approval before create/update/delete/toggle operations.
Tools 36

Current Flipt v2 package README confirms all 36 stored tool names. Writes apply revision checks to prevent silent concurrent overwrites; tools manage environments, flags, rules, segments, rollouts and constraints. Evaluation calls are read/evaluation operations.

  • list_environments
    01
  • list_branches
    02
  • create_branch
    03
  • delete_branch
    04
  • propose_branch
    05
  • list_branch_changes
    06
  • list_namespaces
    07
  • get_namespace
    08
  • create_namespace
    09
  • update_namespace
    10
  • delete_namespace
    11
  • list_flags
    12
  • get_flag
    13
  • create_flag
    14
  • update_flag
    15
  • delete_flag
    16
  • toggle_flag
    17
  • create_variant
    18
  • update_variant
    19
  • delete_variant
    20
  • create_rule
    21
  • delete_rule
    22
  • create_distribution
    23
  • delete_distribution
    24
  • create_rollout
    25
  • delete_rollout
    26
  • list_segments
    27
  • get_segment
    28
  • create_segment
    29
  • update_segment
    30
  • delete_segment
    31
  • create_constraint
    32
  • delete_constraint
    33
  • evaluate_boolean_flag
    34
  • evaluate_variant_flag
    35
  • evaluate_batch
    36
Limitations and notes
  • The v1 and v2 packages have different tool surfaces and data models; do not interchange package instructions.
  • Feature flag writes can affect live application behavior; review scope/environment and approve each write.
  • v2 uses revision checks for concurrent changes; on conflict, reread and retry rather than overwriting.
Original sources
  • Source

    Recorded fields: identity, install, configuration, capabilities, tools, license.

  • Source

    Recorded fields: identity, install, configuration, capabilities, tools, license.

  • official package tool reference

    Current Flipt v2 package README enumerates all 36 exact tools, config variables, feature groups, and revision-guarded write behavior.

Documentation checked 2026-10-28. Connection has not been runtime tested.