Skip to main content
Glama

Unleash MCP (Feature Toggle)

patchFlag

Modify properties of a feature flag in an Unleash project using JSON Patch operations to add, remove, replace, or test specific configurations.

Instructions

Modify specific properties of an existing feature flag in an Unleash project using JSON Patch operations

Input Schema

NameRequiredDescriptionDefault
featureNameYes
patchesYes
projectIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "featureName": { "maxLength": 100, "minLength": 1, "pattern": "^[a-z0-9-_.]+$", "type": "string" }, "patches": { "items": { "additionalProperties": false, "properties": { "from": { "type": "string" }, "op": { "enum": [ "add", "remove", "replace", "move", "copy", "test" ], "type": "string" }, "path": { "type": "string" }, "value": {} }, "required": [ "op", "path" ], "type": "object" }, "type": "array" }, "projectId": { "minLength": 1, "type": "string" } }, "required": [ "projectId", "featureName", "patches" ], "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