Skip to main content
Glama

LaunchDarkly MCP Server

Official
by launchdarkly
rule.md2.83 kB
# Rule ## Example Usage ```typescript import { Rule } from "@launchdarkly/mcp-server/models/components"; let value: Rule = { clauses: [], trackEvents: true, }; ``` ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `id` | *string* | :heavy_minus_sign: | The flag rule ID | | `variation` | *number* | :heavy_minus_sign: | The index of the variation, from the array of variations for this flag | | `rollout` | [components.Rollout](../../models/components/rollout.md) | :heavy_minus_sign: | N/A | | `clauses` | [components.Clause](../../models/components/clause.md)[] | :heavy_check_mark: | An array of clauses used for individual targeting based on attributes | | `trackEvents` | *boolean* | :heavy_check_mark: | Whether LaunchDarkly tracks events for this rule | | `description` | *string* | :heavy_minus_sign: | The rule description | | `ref` | *string* | :heavy_minus_sign: | N/A |

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/launchdarkly/mcp-server'

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