create_feature_flag
Generate and manage feature flags using a defined schema in the GrowthBook MCP Server. Specify ID, value type, default value, and file extension to create flags for controlled feature rollouts.
Instructions
Create, add, or wrap an element with a feature flag.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
archived | No | Whether the feature flag is archived | |
defaultValue | Yes | The default value of the feature flag | |
description | No | A description of the feature flag | |
fileExtension | Yes | The extension of the current file. If it's unclear, ask the user. | |
id | Yes | A unique key name for the feature | |
project | No | The project the feature flag belongs to | |
tags | No | Tags for the feature flag | |
valueType | Yes | The value type the feature flag will return |