GrowthBook MCP Server

by growthbook
MIT License
111

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

NameRequiredDescriptionDefault
archivedNoWhether the feature flag is archived
defaultValueYesThe default value of the feature flag
descriptionNoA description of the feature flag
fileExtensionYesThe extension of the current file. If it's unclear, ask the user.
idYesA unique key name for the feature
projectNoThe project the feature flag belongs to
tagsNoTags for the feature flag
valueTypeYesThe value type the feature flag will return

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "archived": { "default": false, "description": "Whether the feature flag is archived", "type": "boolean" }, "defaultValue": { "description": "The default value of the feature flag", "type": "string" }, "description": { "default": "", "description": "A description of the feature flag", "type": "string" }, "fileExtension": { "description": "The extension of the current file. If it's unclear, ask the user.", "enum": [ ".tsx", ".jsx", ".ts", ".js", ".vue", ".py", ".go", ".php", ".rb", ".java", ".cs" ], "type": "string" }, "id": { "description": "A unique key name for the feature", "pattern": "^[a-zA-Z0-9_-]+$", "type": "string" }, "project": { "default": "", "description": "The project the feature flag belongs to", "type": "string" }, "tags": { "description": "Tags for the feature flag", "items": { "type": "string" }, "type": "array" }, "valueType": { "description": "The value type the feature flag will return", "enum": [ "string", "number", "boolean", "json" ], "type": "string" } }, "required": [ "id", "valueType", "defaultValue", "fileExtension" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/growthbook/growthbook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server