Skip to main content
Glama

LaunchDarkly MCP Server

Official
by launchdarkly
defaults.md2.54 kB
# Defaults ## Example Usage ```typescript import { Defaults } from "@launchdarkly/mcp-server/models/components"; let value: Defaults = { onVariation: 0, offVariation: 1, }; ``` ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | `onVariation` | *number* | :heavy_check_mark: | The index, from the array of variations for this flag, of the variation to serve by default when targeting is on. | 0 | | `offVariation` | *number* | :heavy_check_mark: | The index, from the array of variations for this flag, of the variation to serve by default when targeting is off. | 1 |

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