Skip to main content
Glama

Unleash MCP (Feature Toggle)

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" }

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/cuongtl1992/unleash-mcp'

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