Unleash MCP (Feature Toggle)

by cuongtl1992
Verified

addStrategy

Define and apply a feature flag strategy for a specific environment within the Unleash MCP server, enabling controlled feature rollouts with constraints and parameters.

Instructions

Add a strategy to a feature flag in a specific environment

Input Schema

NameRequiredDescriptionDefault
constraintsNo
environmentYes
featureNameYes
parametersNo
projectIdYes
strategyNameYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "constraints": { "items": { "additionalProperties": false, "properties": { "contextName": { "type": "string" }, "operator": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "required": [ "contextName", "operator", "values" ], "type": "object" }, "type": "array" }, "environment": { "minLength": 1, "type": "string" }, "featureName": { "minLength": 1, "type": "string" }, "parameters": { "additionalProperties": { "type": "string" }, "type": "object" }, "projectId": { "minLength": 1, "type": "string" }, "strategyName": { "minLength": 1, "type": "string" } }, "required": [ "projectId", "featureName", "environment", "strategyName" ], "type": "object" }
ID: u6de78ibn8