Skip to main content
Glama
Featureflow MCP Server

Featureflow MCP Server

Official
by featureflow

Featureflow MCP Server

npm version License: MIT

An MCP (Model Context Protocol) server for Featureflow feature flag management. This enables AI assistants like Claude to interact with your Featureflow instance to manage feature flags, projects, environments, and more.

Quick Start

1. Create a Personal Access Token

  1. Log into Featureflow as an administrator

  2. Navigate to Administration → API Tokens

  3. Click Create Token and copy the token (starts with api-)

2. Configure in Cursor

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "featureflow": {
      "command": "npx",
      "args": ["-y", "featureflow-mcp"],
      "env": {
        "FEATUREFLOW_API_TOKEN": "api-your-token-here"
      }
    }
  }
}

3. Restart Cursor

Press Cmd+Shift+P → "MCP: Restart Servers" or restart Cursor.

That's it! You can now ask Claude to manage your feature flags.

Related MCP server: Unleash MCP Server

Configuration

Environment Variable

Description

Default

FEATUREFLOW_API_TOKEN

Personal Access Token (required)

-

FEATUREFLOW_API_URL

API base URL (optional)

https://beta.featureflow.io/api

Self-Hosted Featureflow

If you're running a self-hosted Featureflow instance:

{
  "mcpServers": {
    "featureflow": {
      "command": "npx",
      "args": ["-y", "featureflow-mcp"],
      "env": {
        "FEATUREFLOW_API_URL": "https://your-instance.com/api",
        "FEATUREFLOW_API_TOKEN": "api-your-token-here"
      }
    }
  }
}

Available Tools

Account

Tool

Description

get_current_user

Get the currently authenticated user and organization

Projects

Tool

Description

list_projects

List all projects, optionally filtered by query

get_project

Get a specific project by ID or key

create_project

Create a new project

update_project

Update an existing project

delete_project

Delete a project

Features

Tool

Description

list_features

List features with optional filters

get_feature

Get a specific feature by ID or unified key

create_feature

Create a new feature flag

update_feature

Update an existing feature

clone_feature

Clone a feature with a new key

archive_feature

Archive or unarchive a feature

delete_feature

Delete a feature

Feature Controls

Tool

Description

get_feature_control

Get feature control settings for an environment

update_feature_control

Enable/disable features, modify rules

Environments

Tool

Description

list_environments

List environments for a project

get_environment

Get a specific environment

create_environment

Create a new environment

update_environment

Update an existing environment

delete_environment

Delete an environment

Targets & API Keys

Tool

Description

list_targets

List targeting attributes for a project

get_target

Get a specific target by key

list_api_keys

List SDK API keys for an environment

Example Usage

Once configured, you can ask Claude things like:

  • "Who am I logged in as in Featureflow?"

  • "List all my Featureflow projects"

  • "Create a feature called 'new-checkout' in the 'webapp' project"

  • "Enable the 'dark-mode' feature in production"

  • "What features are currently enabled in staging?"

  • "Disable 'beta-feature' in all environments"

Development

# Clone the repository
git clone https://github.com/featureflow/featureflow-mcp.git
cd featureflow-mcp

# Install dependencies
npm install

# Build
npm run build

# Run locally
FEATUREFLOW_API_TOKEN=api-xxx npm start

License

MIT - see LICENSE for details.

Available Tools

22 tools
archive_featureC

Archive or unarchive a feature flag.

Inputs: idOrUnifiedKey (required), archived (required).

clone_featureC

Clone an existing feature with a new key and name.

Inputs: idOrUnifiedKey (required), newKey (required), name (required).

create_environmentB

Create a new environment for a project. Optionally clone settings from an existing environment.

Inputs: projectKey (required), key (required), name (required), color, +2 more.

create_featureC

Create a new feature flag in a project.

Inputs: projectKey (required), key (required), name (required), description.

create_projectC

Create a new project in the organization.

Inputs: key (required), name (required).

delete_environmentB

Delete an environment. Cannot delete the last environment in a project.

Inputs: idOrUnifiedKey (required).

delete_featureA

Delete a feature flag. Requires production editor or admin permissions.

Inputs: idOrUnifiedKey (required).

delete_projectB

Delete a project. This will also delete all features and environments in the project.

Inputs: idOrKey (required).

get_environmentC

Get detailed information about a specific environment by ID or unified key (projectKey:environmentKey).

Inputs: idOrUnifiedKey (required).

get_featureB

Get detailed information about a specific feature by ID or unified key (projectKey:featureKey).

Inputs: idOrUnifiedKey (required).

get_feature_controlB

Get the feature control configuration for a specific feature and environment. Shows enabled state, rules, and variant assignments.

Inputs: idOrUnifiedKey (required), environmentKey (required).

get_projectC

Get detailed information about a specific project by its ID or key.

Inputs: idOrKey (required).

get_targetC

Get a specific target by its key.

Inputs: projectKey (required), targetKey (required).

list_api_keysC

List API keys for a specific environment.

Inputs: environmentKey (required), type.

list_environmentsB

List all environments for a project or the entire organization.

Inputs: projectKey.

list_featuresB

List all features. Can filter by project key, search query, or predefined filters (maintaining, bookmarked, recent).

Inputs: projectKey, query, filter, archived.

list_projectsB

List all projects in the organization. Optionally filter by a search query that matches project name or key.

Inputs: query.

list_targetsC

Get all targets (user attributes) for a project. Targets are used in targeting rules for A/B testing.

Inputs: projectKey (required).

update_environmentC

Update an existing environment's properties.

Inputs: idOrUnifiedKey (required), name, color, url, +1 more.

update_featureC

Update an existing feature's properties like name, description, or variants.

Inputs: idOrUnifiedKey (required), name, description.

update_feature_controlC

Update feature control settings for a specific environment. Can enable/disable the feature, change the off variant, and modify rules.

Inputs: idOrUnifiedKey (required), environmentKey (required), enabled, offVariantKey.

update_projectC

Update an existing project's name.

Inputs: idOrKey (required), name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 22 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity, as they target specific resources (feature, environment, project, target, API key) and actions (create, get, list, update, delete, clone, archive). Overlap is minimal, such as 'get_feature' and 'get_feature_control' which serve different levels of detail, and descriptions clarify boundaries effectively.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, using snake_case uniformly (e.g., create_feature, list_environments, update_project). The naming convention is predictable, making it easy for agents to infer functionality and maintain readability across all 22 tools.

    Tool Count4/5

    With 22 tools, the count is slightly high but reasonable for a feature flag management system, covering CRUD operations for multiple resources (features, environments, projects, targets, API keys). It feels comprehensive rather than bloated, though it borders on the upper limit of typical scoping (3-15 tools).

    Completeness5/5

    The tool surface provides complete CRUD/lifecycle coverage for the feature flag management domain, including creation, retrieval, listing, updating, deletion, and specialized operations like cloning and archiving. No obvious gaps exist; agents can perform all core workflows without dead ends, from project setup to feature control updates.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables interaction with LaunchDarkly's feature flag platform through AI clients. Supports managing feature flags, AI configs, and their variations with operations like create, update, delete, and targeting configuration.
      72,236 npm
      27
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding assistants to manage Unleash feature flags, including creation, detection, evaluation, and best practices.
      11
      30,377 npm
      21
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables interaction with PostHog's product analytics platform through natural language, allowing users to manage feature flags, view errors, and access other platform features.
      112 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding assistants like Cursor and Claude to manage DevCycle feature flags directly from the development environment.
      15,615 npm
      20
      MIT