The LaunchDarkly MCP connector routes your AI agent's tool calls to LaunchDarkly's own MCP server through Scalekit. Each user signs in to LaunchDarkly once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 186 tools.
- Tools
- 186
- What they doRead · write · destructive
- 92 · 62 · 3292 read62 write32 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the LaunchDarkly MCP connection
In AgentKit > Connections, create a LaunchDarkly MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for LaunchDarkly MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'launchdarklymcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize LaunchDarkly MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'launchdarklymcp_find_members',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "launchdarklymcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize LaunchDarkly MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="launchdarklymcp_find_members",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toollaunchdarklymcp_check_removal_readinessCheck whether a feature flag is ready to be permanently removed from code.Read-onlyCheckRemovalReadiness
Check whether a feature flag is ready to be permanently removed from code. Analyzes SDK evaluations to confirm the flag is no longer in use.
Inputs
envstringrequired- The environment key to check flag removal readiness in.
flagKeystringrequired- The key of the feature flag to check for removal readiness.
projectKeystringrequired- The project key where the flag resides.
launchdarklymcp_find_membersSearch for LaunchDarkly account members and return their IDs.Read-onlyFindMembers
Search for LaunchDarkly account members and return their IDs. Supports flexible matching:
Inputs
emailsarray- Emails for this operation.
limitnumber- Limit for this operation.
querystring- Query for this operation.
launchdarklymcp_find_stale_flagsFind feature flags that are candidates for cleanup.Read-onlyFindStaleFlags
Find feature flags that are candidates for cleanup. Returns a prioritized list of stale flags sorted by staleness (worst first). Categories: inactive_30d (no requests in period), launched_no_changes (fully rolled out, no recent changes), never_requested (created but never evaluated). Defaults to showing temporary flags inactive for 30+ days.
Inputs
projectKeystringrequired- Project Key for this operation.
envstring- Env for this operation.
evalWindownumber- Eval Window for this operation.
inactiveDaysnumber- Inactive Days for this operation.
includeEvalCountsboolean- Include Eval Counts for this operation.
includeOnlystring- Include Only for this operation.one of
temporarypermanentall maintainerIdstring- Maintainer Id for this operation.
maintainerTeamKeystring- Maintainer Team Key for this operation.
useCriticalEnvsboolean- Use Critical Envs for this operation.
viewstring- View for this operation.
launchdarklymcp_get_agent_graphGet a specific agent graph by key, including its full edge structure.Read-onlyGetAgentGraph
Get a specific agent graph by key, including its full edge structure. Each edge connects a source AgentControl Config to a target AgentControl Config with optional handoff data.
Inputs
graphKeystringrequired- Graph Key for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_get_agent_skillGet the latest version of an agent skill by key, including its full SKILL.md markdown, name, description, tags, and version number.Read-onlyGet Agent Skill
Get the latest version of an agent skill by key, including its full SKILL.md markdown, name, description, tags, and version number.
Inputs
projectKeystringrequired- No description.
skillKeystringrequired- No description.
launchdarklymcp_get_agentcontrol_configGet detailed configuration for a single AgentControl Config including all its variations.Read-onlyGetAgentcontrolConfig
Get detailed configuration for a single AgentControl Config including all its variations. Each variation includes its model, instructions or messages, parameters, attached tools, and judgeConfiguration (attached judges with judgeConfigKey and samplingRate). For judge-mode configs the response also includes evaluationMetricKey.
Inputs
configKeystringrequired- Config Key for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_get_agentcontrol_config_healthHealth check for an AgentControl Config.Read-onlyGetAgentcontrolConfigHealth
Health check for an AgentControl Config. Detects common issues: missing models (NO MODEL in UI), missing prompts, orphaned tool references, and empty configs with no variations. Returns a health verdict (healthy, warning, unhealthy) with specific issues and per-variation summaries. Run before updating or experimenting with a config.
Inputs
configKeystringrequired- Config Key for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_get_agentcontrol_config_status_envsCheck an AgentControl Config's lifecycle status across all environments.Read-onlyGet Agentcontrol Config Status Envs
Check an AgentControl Config's lifecycle status across all environments. Returns per-environment state (active, inactive, new, launched) and whether targeting is on, plus a summary of which environments the config is active, inactive, or launched in. Useful for understanding where a config is currently being served before making changes.
Inputs
configKeystringrequired- No description.
projectKeystringrequired- No description.
launchdarklymcp_get_agentcontrol_config_targetingRead the targeting configuration for an AgentControl Config in a specific environment.Read-onlyGetAgentcontrolConfigTargeting
Read the targeting configuration for an AgentControl Config in a specific environment. Returns variations (with their _id UUIDs and names), individual targets, custom rules, fallthrough (default rule), and off variation. The variation name returned here can be passed as 'variationKey' to update-agentcontrol-config-targeting, update-agentcontrol-config-rollout, and update-agentcontrol-config-targets. Alternatively, use get-agentcontrol-config to obtain the variation's slug key.
Inputs
configKeystringrequired- Config Key for this operation.
envstringrequired- Env for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_get_agentcontrol_model_configGet one AI model config.Read-onlyGet Agentcontrol Model Config
Get one AI model config. modelConfigKey is the key from list-agentcontrol-model-configs (for example OpenAI.gpt-4o), not the id. Optional version is an integer from an earlier read (for example 2). Omit it for the latest. Global models accept only version 0 or 1. On a 403, omit version.
Inputs
modelConfigKeystringrequired- No description.
projectKeystringrequired- No description.
versionnumber- No description.
launchdarklymcp_get_ai_configGet details about a specific AI Config including its variations and metadata.Read-onlyGetAiConfig
Get details about a specific AI Config including its variations and metadata.
Inputs
configKeystringrequired- The key of the AI Config to retrieve.
projectKeystringrequired- The project key where the AI Config resides.
launchdarklymcp_get_ai_config_healthGet the health status of an AI Config including latency, error rates, and evaluation metrics.Read-onlyGetAiConfigHealth
Get the health status of an AI Config including latency, error rates, and evaluation metrics.
Inputs
configKeystringrequired- The key of the AI Config to retrieve health status for.
environmentKeystringrequired- The environment key to retrieve health metrics from.
projectKeystringrequired- The project key identifying which project contains the AI Config.
launchdarklymcp_get_ai_config_status_across_envsGet the status of an AI Config across all environments in a project.Read-onlyGetAiConfigStatusAcrossEnvs
Get the status of an AI Config across all environments in a project.
Inputs
configKeystringrequired- The key of the AI Config to retrieve status across all environments.
projectKeystringrequired- The project key identifying which project contains the AI Config.
launchdarklymcp_get_ai_config_targetingGet the targeting rules and rollout configuration for an AI Config in a specific environment.Read-onlyGetAiConfigTargeting
Get the targeting rules and rollout configuration for an AI Config in a specific environment.
Inputs
configKeystringrequired- The key of the AI Config to retrieve targeting rules for.
envstringrequired- The environment key to retrieve targeting configuration from.
projectKeystringrequired- The project key identifying which project contains the AI Config.
launchdarklymcp_get_ai_toolGet a single AI tool definition including its full schema.Read-onlyGetAiTool
Get a single AI tool definition including its full schema. Use to inspect a tool's parameters before attaching it to an AgentControl Config variation.
Inputs
projectKeystringrequired- Project Key for this operation.
toolKeystringrequired- Tool Key for this operation.
launchdarklymcp_get_alertGet detailed information about a specific observability alert.Read-onlyGetAlert
Get detailed information about a specific observability alert.
Inputs
alertIdnumberrequired- The numeric ID of the alert (from list-alerts)
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
launchdarklymcp_get_alert_firing_historyShow when an alert actually fired, and what state it is in now.Read-onlyGet Alert Firing History
Show when an alert actually fired, and what state it is in now. This is the tool that answers "is this alert doing anything?". list-alerts cannot: disabled=false only means the alert is being evaluated, and updated_at is the last config edit, not the last firing. Use this to find stale alerts worth retiring, to check whether a threshold is reachable, and to confirm an alert still works after you retune it. INPUTS: - projectKey (required): The LaunchDarkly project key (e.g., "default"). - alertId (required): The numeric ID of the alert (from list-alerts) - lookbackDays (optional, default 30): How far back to count firings. Must be positive. - limit (optional, default 20, max 100): Max individual firing rows to return, newest first RETURNS: - firing_count: Total firings in the window. May exceed the rows returned — check truncated - last_fired_at: Timestamp of the most recent firing, or null if it never fired in the window - firings: Newest-first rows with timestamp, state, group_by_key, and investigation_conversation_id when an automatic investigation ran for that firing - current_state: Latest state per group (any state, unwindowed). This is how you tell an alert firing RIGHT NOW from one that fired and resolved. States: Normal, Pending, Alerting, AlertingSilently, NoData, Error Only Alerting transitions are counted, so firing_count is a count of real firings rather than of every state change. Retention is not a constraint: the backing table has no TTL, so 30-, 60-, and 90-day windows are all equally valid. Pick the one that fits the question. A current_state of NoData is a finding worth reporting — the alert's query matches nothing, so it can no longer fire regardless of threshold. That usually means the underlying service was renamed or stopped emitting. Example usage: {"projectKey": "default", "alertId": 42, "lookbackDays": 90}
Inputs
alertIdnumberrequired- No description.
projectKeystringrequired- No description.
limitnumber- No description.
lookbackDaysnumber- No description.
launchdarklymcp_get_context_instancesGet all stored instances of a specific context by kind and key.Read-onlyGetContextInstances
Get all stored instances of a specific context by kind and key. Returns every recorded occurrence of the context, including its full attribute set (e.g., merchantCountryCode, disbursementRail) and which SDK/application reported each instance.
Inputs
environmentKeystringrequired- Environment Key for this operation.
keystringrequired- Key for this operation.
kindstringrequired- Kind for this operation.
projectKeystringrequired- Project Key for this operation.
continuationTokenstring- Continuation Token for this operation.
limitnumber- Limit for this operation.
launchdarklymcp_get_docFetch the full markdown content of a LaunchDarkly documentation page.Read-onlyGetDoc
Fetch the full markdown content of a LaunchDarkly documentation page.
Inputs
urlstringrequired- Url for this operation.
launchdarklymcp_get_factory_repo_settingsDeprecated: use get-release-autopilot-repo-settings instead.Read-onlyGet Factory Repo Settings
Deprecated: use get-release-autopilot-repo-settings instead. Get Release Autopilot settings for one GitHub repository (effective auto-flagging / auto-releasing). Pass repo as owner/name, or githubRepoId. 404 means the repo is not mapped yet.
Inputs
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_get_factory_settingsDeprecated: use get-release-autopilot-settings instead.Read-onlyGet Factory Settings
Deprecated: use get-release-autopilot-settings instead. Get account-wide Release Autopilot settings: whether auto-flagging and auto-releasing are on, and whether auto-flagging pull requests need approval. These are the master gate — a mapped repository cannot enable a capability the account has off. Requires LD-API-Version beta (sent automatically). Do not use autoCleanup; it is not part of Release Autopilot settings yet.
Inputs
This tool takes no inputs.
launchdarklymcp_get_flagGet full details about a specific feature flag including all variations, targeting rules across environments, and metadata.Read-onlyGetFlag
Get full details about a specific feature flag including all variations, targeting rules across environments, and metadata.
Inputs
flagKeystringrequired- The feature flag key to retrieve full details for.
projectKeystringrequired- The project key identifying which project contains the flag.
envstring- Optional environment key to scope the flag details to a specific environment.
launchdarklymcp_get_flag_healthGet health indicators for a feature flag including evaluation counts, error rates, and usage patterns.Read-onlyGetFlagHealth
Get health indicators for a feature flag including evaluation counts, error rates, and usage patterns.
Inputs
envstringrequired- The environment key to check flag health in.
flagKeystringrequired- The feature flag key to retrieve health indicators for.
projectKeystringrequired- The project key identifying which project contains the flag.
launchdarklymcp_get_flag_status_across_envsGet the on/off status and targeting summary for a feature flag across all environments in a project.Read-onlyGetFlagStatusAcrossEnvs
Get the on/off status and targeting summary for a feature flag across all environments in a project.
Inputs
flagKeystringrequired- The feature flag key to get status for across all environments.
projectKeystringrequired- The project key identifying which project contains the flag.
launchdarklymcp_get_flag_unique_context_exposuresGet unique-context exposure counts (distinct-context cardinality) for a flag in an environment.Read-onlyGet Flag Unique Context Exposures
Get unique-context exposure counts (distinct-context cardinality) for a flag in an environment. Returns how many distinct users/accounts/etc. were actually exposed to the flag over a time window, broken down by context kind. CRITICAL DISTINCTION: unique exposures are NOT evaluation counts. One context evaluated 10,000 times counts as 1 exposure (not 10,000). This ~1000x difference is critical for guarded rollout sizing. The guarded-release UI gates on this figure. For total SDK call counts use get-flag-evaluation-summaries. from/to accept ISO 8601 strings or Unix millisecond timestamp strings (default: last 30 days).
Inputs
envKeystringrequired- No description.
flagKeystringrequired- No description.
projectKeystringrequired- No description.
fromstring- No description.
tostring- No description.
launchdarklymcp_get_member_selfGet the profile of the currently authenticated member, including their role and permissions.Read-onlyGetMemberSelf
Get the profile of the currently authenticated member, including their role and permissions.
Inputs
This tool takes no inputs.
launchdarklymcp_get_playgroundGet details about a specific LLM playground, including its variants (evaluation definitions and their positions).Read-onlyGetPlayground
Get details about a specific LLM playground, including its variants (evaluation definitions and their positions).
Inputs
playgroundIdstringrequired- Playground Id for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_get_prompt_snippetGet a specific prompt snippet by key.Read-onlyGetPromptSnippet
Get a specific prompt snippet by key. Returns the snippet's name, text content, tags, version, and creation time.
Inputs
projectKeystringrequired- Project Key for this operation.
snippetKeystringrequired- Snippet Key for this operation.
launchdarklymcp_get_release_autopilot_repo_settingsGet Release Autopilot settings for one GitHub repository (effective auto-flagging / auto-releasing).Read-onlyGet Release Autopilot Repo Settings
Get Release Autopilot settings for one GitHub repository (effective auto-flagging / auto-releasing). Pass repo as owner/name, or githubRepoId. 404 means the repo is not mapped yet.
Inputs
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_get_release_autopilot_settingsGet account-wide Release Autopilot settings: whether auto-flagging and auto-releasing are on, and whether auto-flagging pull requests need approval.Read-onlyGet Release Autopilot Settings
Get account-wide Release Autopilot settings: whether auto-flagging and auto-releasing are on, and whether auto-flagging pull requests need approval. These are the master gate — a mapped repository cannot enable a capability the account has off. Requires LD-API-Version beta (sent automatically). Do not use autoCleanup; it is not part of Release Autopilot settings yet.
Inputs
This tool takes no inputs.
launchdarklymcp_get_resource_viewsList the views a flag, segment, or AgentControl Config is linked to.Read-onlyGet Resource Views
List the views a flag, segment, or AgentControl Config is linked to. Views are an Enterprise feature. Flags and AgentControl Configs are identified by key; segments additionally require `environmentId` because segments are environment-scoped.
Inputs
projectKeystringrequired- No description.
resourceKeystringrequired- No description.
resourceTypestringrequired- No description.one of
flagssegmentsaiConfigs environmentIdstring- No description.
limitnumber- No description.
offsetnumber- No description.
launchdarklymcp_get_segmentGet detailed configuration for a single segment in an environment.Read-onlyGetSegment
Get detailed configuration for a single segment in an environment. Returns rules, included targets, excluded targets, tags, and creation date. Use to verify segment state after creation or updates.
Inputs
environmentKeystringrequired- Environment Key for this operation.
projectKeystringrequired- Project Key for this operation.
segmentKeystringrequired- Segment Key for this operation.
launchdarklymcp_get_service_connections_usageGet a time series of service connection minutes from your LaunchDarkly account.Read-onlyGetServiceConnectionsUsage
Get a time series of service connection minutes from your LaunchDarkly account. Use this for capacity planning, cost analysis, and before/after deploy comparisons (e.g. compare daily incremental minutes around a deploy date).
Inputs
aggregationTypestring- Aggregation Type for this operation.one of
month_to_dateincremental connectionTypearray- Connection Type for this operation.
environmentKeyarray- Environment Key for this operation.
fromstring- From for this operation.
granularitystring- Granularity for this operation.one of
dailyhourlymonthly groupByarray- Group By for this operation.
projectKeyarray- Project Key for this operation.
relayVersionarray- Relay Version for this operation.
sdkNamearray- Sdk Name for this operation.
sdkTypearray- Sdk Type for this operation.
sdkVersionarray- Sdk Version for this operation.
tostring- To for this operation.
launchdarklymcp_get_session_event_chunk_urlGet a signed download URL for one rrweb event chunk of a session.Read-onlyGet Session Event Chunk Url
Get a signed download URL for one rrweb event chunk of a session. The URL is valid for ~15 minutes and points to Brotli-compressed JSON — an array of raw rrweb events (DOM snapshots, mutations, interactions). Decompress with Brotli before parsing. REQUIRED INPUTS: - projectKey: The LaunchDarkly project key (e.g., "default"). - sessionSecureId: The secure ID of the session. REQUIRED. - index: The chunk_index of the chunk to download (from get-session-event-chunks). REQUIRED. Chunk payloads can be large; prefer query-timeline-events for a cheap chronological overview and only fetch raw chunks when you need actual DOM/interaction detail. Here's an example of a valid input: {"projectKey": "default", "sessionSecureId": "abc123def456", "index": 0}
Inputs
indexnumberrequired- No description.
projectKeystringrequired- No description.
sessionSecureIdstringrequired- No description.
launchdarklymcp_get_session_event_chunksList the rrweb event chunks recorded for a session.Read-onlyGet Session Event Chunks
List the rrweb event chunks recorded for a session. Session replay events are stored in chunks; this returns one entry per chunk with chunk_index and the chunk's start timestamp (epoch millis). Use it to see how a session's recording is segmented, then fetch a specific chunk's raw contents with get-session-event-chunk-url. REQUIRED INPUTS: - projectKey: The LaunchDarkly project key (e.g., "default"). - sessionSecureId: The secure ID of the session to list event chunks for. REQUIRED. The session's chunked field (from query-sessions) tells you whether chunks exist — unchunked (very short or old) sessions return an empty list. For a cheap chronological overview of a session prefer query-timeline-events; only fetch raw chunks when you need actual DOM/interaction detail. Here's an example of a valid input: {"projectKey": "default", "sessionSecureId": "abc123def456"}
Inputs
projectKeystringrequired- No description.
sessionSecureIdstringrequired- No description.
launchdarklymcp_get_session_timestamp_event_chunk_urlGet a signed download URL for the rrweb event chunk covering a specific timestamp within a session.Read-onlyGet Session Timestamp Event Chunk Url
Get a signed download URL for the rrweb event chunk covering a specific timestamp within a session. Picks the chunk whose start is at or before the timestamp — useful to jump straight to the moment an error or interaction happened without listing all chunks first. The URL is valid for ~15 minutes and points to Brotli-compressed rrweb events JSON. REQUIRED INPUTS: - projectKey: The LaunchDarkly project key (e.g., "default"). - sessionSecureId: The secure ID of the session. REQUIRED. - timestamp: Timestamp of interest in ISO format (e.g., "2024-01-15T10:00:00Z"). REQUIRED. Here's an example of a valid input: {"projectKey": "default", "sessionSecureId": "abc123def456", "timestamp": "2024-01-15T10:00:00Z"}
Inputs
projectKeystringrequired- No description.
sessionSecureIdstringrequired- No description.
timestampstringrequired- No description.
launchdarklymcp_get_viewGet a single view by key.Read-onlyGet View
Get a single view by key. Views are an Enterprise feature. Returns name, description, tags, maintainer, and linked-resource counts (flags, segments, AgentControl Configs). Use list-view-resources to enumerate the linked resources themselves.
Inputs
projectKeystringrequired- No description.
viewKeystringrequired- No description.
launchdarklymcp_getdashboardGet detailed information about a specific dashboard including all its graphs.Read-onlyGetDashboard
Get detailed information about a specific dashboard including all its graphs.
Inputs
dashboardIdnumberrequired- The numeric ID of the dashboard
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
launchdarklymcp_getdatasetGet details about a specific offline dataset by ID, including its processing status and row count.Read-onlyGetDataset
Get details about a specific offline dataset by ID, including its processing status and row count.
Inputs
datasetIdstringrequired- The unique identifier of the dataset to retrieve.
projectKeystringrequired- The project key identifying which project the dataset belongs to.
launchdarklymcp_getenvironmentGet details about a specific environment in a project, including its keys and settings.Read-onlyGetEnvironment
Get details about a specific environment in a project, including its keys and settings.
Inputs
environmentKeystringrequired- The key of the environment to retrieve.
projectKeystringrequired- The key of the project that contains the environment.
launchdarklymcp_getevaluationGet details about a specific evaluation definition, including its configuration and last run status.Read-onlyGetEvaluation
Get details about a specific evaluation definition, including its configuration and last run status.
Inputs
evaluationIdstringrequired- The unique identifier of the evaluation definition to retrieve.
projectKeystringrequired- The project key identifying which project the evaluation belongs to.
launchdarklymcp_getevaluationrunsummaryGet the summary results of a completed evaluation run, including pass/fail counts and aggregate scores.Read-onlyGetEvaluationRunSummary
Get the summary results of a completed evaluation run, including pass/fail counts and aggregate scores.
Inputs
evaluationIdstringrequired- The unique identifier of the evaluation definition.
projectKeystringrequired- The project key identifying which project the evaluation belongs to.
runIdstringrequired- The unique identifier of the evaluation run to retrieve the summary for.
launchdarklymcp_getexperimentGet details about a specific experiment including its configuration, current iteration status, and metric assignments.Read-onlyGetExperiment
Get details about a specific experiment including its configuration, current iteration status, and metric assignments.
Inputs
environmentKeystringrequired- The environment key where the experiment exists.
experimentKeystringrequired- The experiment key identifying the experiment to retrieve.
projectKeystringrequired- The project key identifying the project containing the experiment.
launchdarklymcp_getexperimentmetricresultsGet detailed statistical results for a single metric on an experiment iteration.Read-onlyGetExperimentMetricResults
Get detailed statistical results for a single metric on an experiment iteration. Returns, per treatment: sample sizes (analyzedUnitCount, trafficCount, conversionCount), the observed mean and standard deviation, and a `statistics` block with the lift versus control (relativeDifferences: estimate plus lower/upper interval bounds and, for frequentist experiments, a per-comparison pValue), the overall pValue, Bayesian probabilities (probabilityToBeBest, probabilityToBeatBaseline, expectedLoss), and an isSignificant flag. Reads from LaunchDarkly's internal analysis API. Defaults to the current iteration and the latest analysis; pass iterationId to target a previous iteration. Use disableMultipleComparisonCorrection / disableSequentialTesting to see uncorrected numbers. Use get-experiment-results for a cross-metric overview, or get-experiment to discover metric keys.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
metricKeystringrequired- Metric Key for this operation.
projectKeystringrequired- Project Key for this operation.
disableMultipleComparisonCorrectionboolean- Disable Multiple Comparison Correction for this operation.
disableSequentialTestingboolean- Disable Sequential Testing for this operation.
iterationIdstring- Iteration Id for this operation.
launchdarklymcp_getexperimentresultsGet an overall results summary for an experiment, across every metric on the current iteration.Read-onlyGetExperimentResults
Get an overall results summary for an experiment, across every metric on the current iteration. Discovers the iteration's metrics, then fetches each metric's analysis from LaunchDarkly's internal results API and returns a compact per-metric summary: which treatment is leading (isBest) — the arm with the highest probability to beat the baseline for Bayesian experiments, or the lowest p-value versus control for frequentist (note: not significance-gated, so a treatment can be flagged leading even when nothing is significant) — each treatment's lift versus control, whether it's statistically significant, and sample sizes. Pass iterationId to summarize a previous iteration. For the full per-treatment statistics (intervals, p-values, Bayesian probabilities) on one metric, use get-experiment-metric-results.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
projectKeystringrequired- Project Key for this operation.
disableMultipleComparisonCorrectionboolean- Disable Multiple Comparison Correction for this operation.
disableSequentialTestingboolean- Disable Sequential Testing for this operation.
iterationIdstring- Iteration Id for this operation.
launchdarklymcp_getkeysDiscover available data keys/dimensions for a product type.Read-onlyGetKeys
Discover available data keys/dimensions for a product type.
Inputs
productTypestringrequired- One of "logs", "traces", "sessions", "errors", "metrics", "events"
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
startDatestringrequired- ISO format start date (e.g., "2024-01-15T10:00:00Z")
endDatestring- ISO format end date (defaults to current time)
limitnumber- Maximum number of keys to return
searchstring- Filter keys by name
launchdarklymcp_getmetricGet details about a specific metric including its configuration and associated experiments.Read-onlyGetMetric
Get details about a specific metric including its configuration and associated experiments.
Inputs
metricKeystringrequired- The key of the metric to retrieve.
projectKeystringrequired- The key of the project that contains the metric.
launchdarklymcp_getprojectGet details about a specific LaunchDarkly project, including its environments and settings.Read-onlyGetProject
Get details about a specific LaunchDarkly project, including its environments and settings.
Inputs
projectKeystringrequired- The key of the project to retrieve.
launchdarklymcp_getsdkactiveCheck whether any SDKs have been active in a given environment.Read-onlyGetSdkActive
Check whether any SDKs have been active in a given environment. Returns true if any SDK has initialized or sent events in the environment. Use this to verify that an environment is actually in use before cleanup. Optionally filter by sdkName or sdkWrapperName to check a specific SDK.
Inputs
environmentKeystringrequired- Environment Key for this operation.
projectKeystringrequired- Project Key for this operation.
sdkNamestring- Sdk Name for this operation.
sdkWrapperNamestring- Sdk Wrapper Name for this operation.
launchdarklymcp_list_agent_graphsList all agent graph definitions in a project.Read-onlyListAgentGraphs
List all agent graph definitions in a project.
Inputs
projectKeystringrequired- The project key for the LaunchDarkly project.
limitnumber- Maximum number of agent graphs to return per page.
offsetnumber- Offset for pagination.
launchdarklymcp_list_agent_skill_referencesList the AgentControl Config variations that attach an agent skill, with the skill version each one is pinned to.Read-onlyList Agent Skill References
List the AgentControl Config variations that attach an agent skill, with the skill version each one is pinned to. Use before updating or deleting a skill.
Inputs
projectKeystringrequired- No description.
skillKeystringrequired- No description.
limitnumber- No description.
offsetnumber- No description.
launchdarklymcp_list_agent_skill_versionsList the versions of an agent skill, newest first.Read-onlyList Agent Skill Versions
List the versions of an agent skill, newest first. Returns each version's number, name, description, tags, and creation time.
Inputs
projectKeystringrequired- No description.
skillKeystringrequired- No description.
limitnumber- No description.
offsetnumber- No description.
launchdarklymcp_list_agent_skillsList agent skills in a project.Read-onlyList Agent Skills
List agent skills in a project. Agent skills are versioned SKILL.md documents that AgentControl Config variations attach by {key, version}. Returns key, name, description, latest version, and tags; use get-agent-skill to read a skill's markdown. Use query to search by key, name, or description.
Inputs
projectKeystringrequired- No description.
limitnumber- No description.
offsetnumber- No description.
querystring- No description.
launchdarklymcp_list_agentcontrol_config_approvalsList approval requests for an AgentControl Config.Read-onlyList Agentcontrol Config Approvals
List approval requests for an AgentControl Config. Shows status, review state, and who requested each change. Omit env (or pass '*') to list project-scoped variation approval requests; pass a specific env key to filter to targeting-change requests for that environment. Use to check on approval progress after creating a request.
Inputs
configKeystringrequired- No description.
projectKeystringrequired- No description.
envstring- No description.
launchdarklymcp_list_agentcontrol_configsSearch and browse AgentControl Configs in a project.Read-onlyListAgentcontrolConfigs
Search and browse AgentControl Configs in a project. Returns a paginated list with key, name, mode (agent, completion, or judge), tags, variation count, and a `usedInGraphs` array listing the agent graph keys that reference each config (as the graph root or as an edge source/target). An empty `usedInGraphs` means the config is not referenced by any graph (orphaned). If graph usage cannot be loaded, `usedInGraphs` is omitted entirely (rather than empty) so an absent field is never mistaken for orphaned. Use query to search by name or key, tags to filter by tag, or view to only include configs linked to a view (Views are an Enterprise feature).
Inputs
projectKeystringrequired- Project Key for this operation.
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
querystring- Query for this operation.
sortstring- Sort for this operation.one of
creationDate-creationDatename-name tagsarray- Tags for this operation.
viewstring- View for this operation.
launchdarklymcp_list_agentcontrol_model_configsList the AI model configs in a project: global catalog models (global=true) and custom models (global=false).Read-onlyList Agentcontrol Model Configs
List the AI model configs in a project: global catalog models (global=true) and custom models (global=false). Pass an item's key (for example OpenAI.gpt-4o) as modelConfigKey and its id (for example gpt-4o) as modelName to create-agentcontrol-config-variation. Optional restricted: true returns only restricted models, false returns only unrestricted models. Omit it for all. Costs are USD per token.
Inputs
projectKeystringrequired- No description.
restrictedboolean- No description.
launchdarklymcp_list_ai_configsList all AI Configs in a project with their current status and variation count.Read-onlyListAiConfigs
List all AI Configs in a project with their current status and variation count.
Inputs
projectKeystringrequired- The project key to list AI Configs from.
limitnumber- Maximum number of AI Configs to return per page.
offsetnumber- Offset for pagination.
querystring- Search query to filter AI Configs by name or key.
launchdarklymcp_list_ai_tool_versionsList the versions of one AI tool in a project, newest first.Read-onlyList Ai Tool Versions
List the versions of one AI tool in a project, newest first. Returns each version's key, description, schema, version, tags, and customParameters. Use to pick a specific version to pass in the tools array ({key, version}) with create-agentcontrol-config-variation or update-agentcontrol-config-variation. Pagination: responses include `totalCount`. To get the next page, set `offset` to the current offset + limit.
Inputs
projectKeystringrequired- No description.
toolKeystringrequired- No description.
limitnumber- No description.
offsetnumber- No description.
launchdarklymcp_list_ai_toolsList AI tool definitions in a project.Read-onlyListAiTools
List AI tool definitions in a project. Returns each tool's key, description, and schema. Tools are attached to AgentControl Config variations to give models function-calling capabilities.
Inputs
projectKeystringrequired- Project Key for this operation.
limitnumber- Limit for this operation.
launchdarklymcp_list_alertsList existing observability alerts for the project.Read-onlyListAlerts
List existing observability alerts for the project.
Inputs
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
searchstring- Filter alerts by name (case-insensitive substring match)
launchdarklymcp_list_approval_requestsList pending approval requests for a flag in an environment.Read-onlyListApprovalRequests
List pending approval requests for a flag in an environment. Shows status, review state, and who requested the change. Use to check on approval progress after creating a request.
Inputs
envstringrequired- No description.
flagKeystringrequired- No description.
projectKeystringrequired- No description.
segmentKeystring- No description.
launchdarklymcp_list_factory_github_reposDeprecated: use list-release-autopilot-github-repos instead.Read-onlyList Factory Github Repos
Deprecated: use list-release-autopilot-github-repos instead. List GitHub repositories on this account's LaunchDarkly GitHub App install, with display name (usually owner/name) and numeric githubRepoId. Use this before mapping a repo. This is not the list of already-mapped repos (that is list-release-autopilot-repo-settings). Optional projectKey: any project works; the install is account-wide (same as the settings UI). When githubConnectUrl is present, give that link to the user and retry after they finish. Requires Observability GraphQL (O11Y_GRAPHQL_ENDPOINT) like other Vega GitHub tools.
Inputs
projectKeystring- No description.
launchdarklymcp_list_factory_repo_settingsDeprecated: use list-release-autopilot-repo-settings instead.Read-onlyList Factory Repo Settings
Deprecated: use list-release-autopilot-repo-settings instead. List Release Autopilot settings for GitHub repositories already mapped to a LaunchDarkly project. Unmapped install repos are omitted — use list-release-autopilot-github-repos for those. Each automation is the effective value (account + repo override). githubRepoId is numeric.
Inputs
This tool takes no inputs.
launchdarklymcp_list_playgroundsList LLM playgrounds in a project.Read-onlyListPlaygrounds
List LLM playgrounds in a project. Returns playground names, variant counts, and timestamps. Supports search by name and pagination.
Inputs
projectKeystringrequired- Project Key for this operation.
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
searchstring- Search for this operation.
statusstring- Status for this operation.
launchdarklymcp_list_projectsList LaunchDarkly projects in the account.Read-onlyListProjects
List LaunchDarkly projects in the account. Use to discover project keys before calling project-scoped tools. Filtering: use `query` to search by project name or key (case-insensitive), `tags` to filter by tag (all must match). Sorting: use `sort` with `name` or `-name`. Pagination: responses include `totalCount` and `pageInfo.offset`. To get the next page, set `offset` to the current offset + limit.
Inputs
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
querystring- Query for this operation.
sortstring- Sort for this operation.one of
name-name tagsarray- Tags for this operation.
launchdarklymcp_list_prompt_snippetsList prompt snippets in a project.Read-onlyListPromptSnippets
List prompt snippets in a project. Prompt snippets are reusable text blocks that can be referenced inside AgentControl Config variation prompts to keep common instructions consistent. Returns key, name, text, version, and tags.
Inputs
projectKeystringrequired- Project Key for this operation.
filterstring- Filter for this operation.
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
launchdarklymcp_list_release_autopilot_github_reposList GitHub repositories on this account's LaunchDarkly GitHub App install, with display name (usually owner/name) and numeric githubRepoId.Read-onlyList Release Autopilot Github Repos
List GitHub repositories on this account's LaunchDarkly GitHub App install, with display name (usually owner/name) and numeric githubRepoId. Use this before mapping a repo. This is not the list of already-mapped repos (that is list-release-autopilot-repo-settings). Optional projectKey: any project works; the install is account-wide (same as the settings UI). When githubConnectUrl is present, give that link to the user and retry after they finish. Requires Observability GraphQL (O11Y_GRAPHQL_ENDPOINT) like other Vega GitHub tools.
Inputs
projectKeystring- No description.
launchdarklymcp_list_release_autopilot_repo_settingsList Release Autopilot settings for GitHub repositories already mapped to a LaunchDarkly project.Read-onlyList Release Autopilot Repo Settings
List Release Autopilot settings for GitHub repositories already mapped to a LaunchDarkly project. Unmapped install repos are omitted — use list-release-autopilot-github-repos for those. Each automation is the effective value (account + repo override). githubRepoId is numeric.
Inputs
This tool takes no inputs.
launchdarklymcp_list_segmentsList segments in a project environment.Read-onlyListSegments
List segments in a project environment. Returns a paginated list with rule counts and target counts. Use query to search by name or key, tags to filter by tag, or view to only include segments linked to a view (Views are an Enterprise feature). Always list first to avoid creating duplicates.
Inputs
environmentKeystringrequired- Environment Key for this operation.
projectKeystringrequired- Project Key for this operation.
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
querystring- Query for this operation.
sortstring- Sort for this operation.one of
creationDate-creationDatename-namelastModified-lastModified tagsarray- Tags for this operation.
viewstring- View for this operation.
launchdarklymcp_list_view_resourcesList the resources of one type linked to a view.Read-onlyList View Resources
List the resources of one type linked to a view. Views are an Enterprise feature. Returns resource keys with link timestamps (and environment info for segments). Use query for a case-insensitive search on resource keys. Sorting: use `sort` with `linkedAt` (default) or `name`. Pagination: responses include `totalCount` and `pageInfo.offset`. To get the next page, set `offset` to the current offset + limit.
Inputs
projectKeystringrequired- No description.
resourceTypestringrequired- No description.one of
flagssegmentsaiConfigs viewKeystringrequired- No description.
limitnumber- No description.
offsetnumber- No description.
querystring- No description.
sortstring- No description.one of
linkedAtname
launchdarklymcp_list_viewsList views in a project.Read-onlyList Views
List views in a project. Views are an Enterprise feature. Returns a paginated list with key, name, description, tags, maintainer, and (when includeResourceSummary is set) linked-resource counts. Use query to search by name, tags to filter by tag. Sorting: use `sort` with `key`, `name`, or `updatedAt` (default `updatedAt`, most recent first). Pagination: responses include `totalCount` and `pageInfo.offset`. To get the next page, set `offset` to the current offset + limit.
Inputs
projectKeystringrequired- No description.
includeResourceSummaryboolean- No description.
limitnumber- No description.
offsetnumber- No description.
querystring- No description.
sortstring- No description.one of
keynameupdatedAt tagsarray- No description.
launchdarklymcp_listdashboardsList existing dashboards (visualizations) for the project.Read-onlyListDashboards
List existing dashboards (visualizations) for the project.
Inputs
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
limitnumber- Maximum number of dashboards to return
searchstring- Filter dashboards by name
launchdarklymcp_listdatasetsList offline datasets for a project.Read-onlyListDatasets
List offline datasets for a project. Returns id, name, status, row count, and creation info for each dataset.
Inputs
projectKeystringrequired- The project key identifying which project to list datasets for.
limitnumber- Maximum number of datasets to return per page.
offsetnumber- Offset for pagination. Set to current offset + limit to get the next page.
launchdarklymcp_listevaluationsList AI Config evaluations in a project.Read-onlyListEvaluations
List AI Config evaluations in a project. Returns evaluation definitions with their names, associated config keys, and last run info.
Inputs
projectKeystringrequired- The project key identifying which project to list evaluations for.
limitnumber- Maximum number of evaluations to return per page.
offsetnumber- Offset for pagination. Set to current offset + limit to get the next page.
searchstring- Search term to filter evaluations by name.
launchdarklymcp_listexperimentsList experiments in a project, optionally filtered by environment.Read-onlyListExperiments
List experiments in a project, optionally filtered by environment. Returns key, name, description, and current iteration status for each experiment.
Inputs
projectKeystringrequired- Project Key for this operation.
environmentKeystring- Environment Key for this operation.
flagKeystring- Flag Key for this operation.
limitnumber- Limit for this operation.
offsetnumber- Offset for this operation.
statusstring- Status for this operation.
launchdarklymcp_listflagsSearch and browse feature flags in a project.Read-onlyListFlags
Search and browse feature flags in a project. Returns a paginated list scoped to a single environment.
Inputs
projectKeystringrequired- Project Key for this operation.
envstring- Env for this operation.
limitnumber- Limit for this operation.
maintainerIdstring- Maintainer Id for this operation.
maintainerTeamKeystring- Maintainer Team Key for this operation.
offsetnumber- Offset for this operation.
querystring- Query for this operation.
sdkAvailabilitystring- Sdk Availability for this operation.one of
clientmobileanyClientserver sortstring- Sort for this operation.one of
creationDate-creationDatename-name statestring- State for this operation.one of
livedeprecatedarchived tagsarray- Tags for this operation.
typestring- Type for this operation.one of
temporarypermanent viewstring- View for this operation.
launchdarklymcp_listmetriceventsList recent event keys received by a LaunchDarkly project — used to check which events are actively flowing before creating a metric.Read-onlyListMetricEvents
List recent event keys received by a LaunchDarkly project — used to check which events are actively flowing before creating a metric. Returns up to 50 event keys with last-seen timestamps. If the event key you need isn't here, it may not be instrumented yet.
Inputs
projectKeystringrequired- Project Key for this operation.
environmentKeystring- Environment Key for this operation.
querystring- Query for this operation.
launchdarklymcp_listmetricsList metrics in a LaunchDarkly project.Read-onlyListMetrics
List metrics in a LaunchDarkly project. Returns key, name, measureType (count/occurrence/value), eventKey, successCriteria, tags, and how many flags each metric is attached to.
Inputs
projectKeystringrequired- Project Key for this operation.
dataSourceKeysarray- Data Source Keys for this operation.
eventKindstring- Event Kind for this operation.
hasConnectionsboolean- Has Connections for this operation.
isNumericboolean- Is Numeric for this operation.
limitnumber- Limit for this operation.
maintainerIdsarray- Maintainer Ids for this operation.
maintainerTeamKeystring- Maintainer Team Key for this operation.
metricUsedInstring- Metric Used In for this operation.
offsetnumber- Offset for this operation.
querystring- Query for this operation.
sortstring- Sort for this operation.
tagsarray- Tags for this operation.
launchdarklymcp_listreleasepoliciesList release policies for a project.Read-onlyListReleasePolicies
List release policies for a project. Each policy defines preferred release methods and the metrics or metric groups that automatically attach to guarded rollouts when the policy's conditions match (e.g. specific environments or flag tags).
Inputs
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_match_release_policiesResolve which release policies would govern a flag in a given environment — a read-only dry-run of the server-side policy matching logic.Read-onlyMatchReleasePolicies
Resolve which release policies would govern a flag in a given environment — a read-only dry-run of the server-side policy matching logic. Does not create or modify anything.
Inputs
environmentKeystringrequired- Environment Key for this operation.
projectKeystringrequired- Project Key for this operation.
flagKeystring- Flag Key for this operation.
flagTagsarray- Flag Tags for this operation.
launchdarklymcp_previewgraphPreview a chart/graph inline WITHOUT saving it to a dashboard.Read-onlyPreviewGraph
Preview a chart/graph inline WITHOUT saving it to a dashboard. Always use this tool first when a user asks to create or visualize a chart. Returns both the graph configuration and the queried metrics data so the user can see the chart rendered inline. After showing the preview, ask the user if they want to save it to a dashboard (using create-graph).
Inputs
expressionsarrayrequired- Expressions for this operation.
productTypestringrequired- Product Type for this operation.
projectKeystringrequired- Project Key for this operation.
titlestringrequired- Title for this operation.
typestringrequired- Type for this operation.
bucketCountnumber- Bucket Count for this operation.
displaystring- Display for this operation.
endDatestring- End Date for this operation.
groupByarray- Group By for this operation.
querystring- Query for this operation.
startDatestring- Start Date for this operation.
launchdarklymcp_query_change_historyQuery the audit log to find what changed in a LaunchDarkly account.Read-onlyQueryChangeHistory
Query the audit log to find what changed in a LaunchDarkly account.
Inputs
endDatestring- End date for the audit log query (ISO 8601 format).
envstring- The environment key to scope the query to.
limitnumber- Maximum number of audit log entries to return.
projectKeystring- The project key to scope the audit log query to.
querystring- Free-text search query to filter audit log entries.
resourceKeystring- The key of the specific resource to filter audit log entries for.
resourceKindstring- The kind of resource to filter audit log entries for (e.g. flag, segment).
startDatestring- Start date for the audit log query (ISO 8601 format).
tagsarray- Array of tags to filter audit log entries by.
launchdarklymcp_query_service_mapQuery the service dependency map (service map) for a project.Read-onlyQuery Service Map
Query the service dependency map (service map) for a project. Returns the directed call graph between services, derived from trace data over the given time window. REQUIRED INPUTS: - projectKey: The LaunchDarkly project key (e.g., "default"). - startDate: Start date in ISO format (e.g., "2024-01-15T10:00:00Z"). REQUIRED. OPTIONAL INPUTS: - endDate: End date in ISO format (e.g., "2024-01-15T11:00:00Z"). If not provided, uses current time. DATE FORMAT: - Use ISO format: "2024-01-15T10:00:00Z" or "2024-01-15T10:00:00-08:00" - Dates should be reasonable and within your data retention period - Always specify timezone if not using Z (UTC) RETURNS: - services: Sorted list of every service name (graph nodes), including standalone services with no observed dependencies. - dependencies: Directed edges as { source, target } pairs, where `source` calls `target`. - service_count / dependency_count: Convenience counts. Examples: 1. Specific time window: {"projectKey": "default", "startDate": "2024-01-15T10:00:00Z", "endDate": "2024-01-15T11:00:00Z"} 2. From specific time to now: {"projectKey": "default", "startDate": "2024-01-15T10:00:00Z"}
Inputs
projectKeystringrequired- No description.
startDatestringrequired- No description.
endDatestring- No description.
launchdarklymcp_queryaggregationsRetrieve bucketed, aggregated values over time for a product type.Read-onlyQueryAggregations
Retrieve bucketed, aggregated values over time for a product type. Returns time-series buckets (not raw events) suitable for charting trends, comparing groups, and computing sums/averages/percentiles. Use this instead of query-logs/query-traces/query-sessions/query-error-groups when you want aggregated values over a window rather than individual records.
Inputs
productTypestringrequired- Product Type for this operation.one of
errorstracesrequestslogssessionsmetrics projectKeystringrequired- Project Key for this operation.
startDatestringrequired- Start Date for this operation.
endDatestring- End Date for this operation.
expressionsarray- Expressions for this operation.
groupBystring- Group By for this operation.
querystring- Query for this operation.
launchdarklymcp_queryerrorgroupsQuery project error groups.Read-onlyQueryErrorGroups
Query project error groups. Retrieve error groups for a given project with explicit date range parameters.
Inputs
projectKeystringrequired- Project Key for this operation.
startDatestringrequired- Start Date for this operation.
countnumber- Count for this operation.
endDatestring- End Date for this operation.
pagenumber- Page for this operation.
querystring- Query for this operation.
launchdarklymcp_queryflagevaluationsQuery flag evaluations for a session.Read-onlyQueryFlagEvaluations
Query flag evaluations for a session. Retrieve flag evaluation events for a specific session to understand which feature flags were evaluated during that session.
Inputs
projectKeystringrequired- Project Key for this operation.
sessionSecureIdstringrequired- Session Secure Id for this operation.
startDatestringrequired- Start Date for this operation.
directionstring- Direction for this operation.one of
ASCDESC endDatestring- End Date for this operation.
limitnumber- Limit for this operation.
querystring- Query for this operation.
launchdarklymcp_querylogsQuery project logs.Read-onlyQueryLogs
Query project logs. Retrieve logs for a given project with explicit date range parameters.
Inputs
projectKeystringrequired- Project Key for this operation.
startDatestringrequired- Start Date for this operation.
directionstring- Direction for this operation.one of
ASCDESC endDatestring- End Date for this operation.
limitnumber- Limit for this operation.
querystring- Query for this operation.
launchdarklymcp_querysessionsQuery project sessions.Read-onlyQuerySessions
Query project sessions. Retrieve sessions for a given project with explicit date range parameters.
Inputs
projectKeystringrequired- Project Key for this operation.
startDatestringrequired- Start Date for this operation.
countnumber- Count for this operation.
endDatestring- End Date for this operation.
pagenumber- Page for this operation.
querystring- Query for this operation.
sortDescboolean- Sort Desc for this operation.
sortFieldstring- Sort Field for this operation.
launchdarklymcp_querytimelineeventsQuery timeline indicator events for a session.Read-onlyQueryTimelineEvents
Query timeline indicator events for a session. Retrieve timeline indicator events for a specific session to understand what happened during that session. Keep in mind that this will not include flag evaluation events, you must use the query-flag-evaluations tool to retrieve those.
Inputs
projectKeystringrequired- Project Key for this operation.
sessionSecureIdstringrequired- Session Secure Id for this operation.
launchdarklymcp_querytracesQuery project traces.Read-onlyQueryTraces
Query project traces. Retrieve traces for a given project with explicit date range parameters.
Inputs
projectKeystringrequired- Project Key for this operation.
startDatestringrequired- Start Date for this operation.
directionstring- Direction for this operation.one of
ASCDESC endDatestring- End Date for this operation.
limitnumber- Limit for this operation.
querystring- Query for this operation.
sortColumnstring- Sort Column for this operation.
sortDirectionstring- Sort Direction for this operation.one of
ASCDESC
launchdarklymcp_search_contextsSearch for stored LaunchDarkly contexts in an environment by kind, key, or attribute value.Read-onlySearchContexts
Search for stored LaunchDarkly contexts in an environment by kind, key, or attribute value. Returns context records including their stored attributes (e.g., merchantCountryCode, disbursementRail) and when the context was last seen.
Inputs
environmentKeystringrequired- No description.
projectKeystringrequired- No description.
continuationTokenstring- No description.
filterstring- No description.
kindstring- No description.
limitnumber- No description.
launchdarklymcp_search_docsSearch LaunchDarkly documentation to retrieve authoritative reference material for flags, targeting rules, experiments, segments, AgentControl configs, SDKs, API fields, rollouts, metrics, and more.Read-onlySearchDocs
Search LaunchDarkly documentation to retrieve authoritative reference material for flags, targeting rules, experiments, segments, AgentControl configs, SDKs, API fields, rollouts, metrics, and more.
Inputs
querystringrequired- Query for this operation.
limitnumber- Limit for this operation.
sectionstring- Section for this operation.
launchdarklymcp_apply_agentcontrol_config_approvalApply an already-approved AgentControl Config approval request.WriteApply Agentcontrol Config Approval
Apply an already-approved AgentControl Config approval request. This executes the changes that were approved by reviewers. Only works on requests with reviewStatus 'approved'. Does NOT approve requests: that must be done by a human reviewer. Equivalent to apply-approval-request but scoped semantically to AgentControl Configs.
Inputs
idstringrequired- No description.
commentstring- No description.
launchdarklymcp_check_flag_rollout_completeCheck whether a feature flag is fully rolled out to a single deterministic variation across all traffic-bearing environments.WriteCheck Flag Rollout Complete
Check whether a feature flag is fully rolled out to a single deterministic variation across all traffic-bearing environments. This detects the important stale case that inactive detection misses: a flag at 100% rollout is still evaluated on every request (never looks inactive), but its code branch is dead and it is prime for removal. ALGORITHM: For each environment, checks if serving is deterministic (targeting off → offVariation, or targeting on with no rules/targets/prerequisites/rollout → simple fallthrough variation). Traffic-bearing environments are those with a recent lastRequested timestamp. A flag is fully rolled out when all traffic-bearing envs converge on the same variation AND a stability gate is met (at least one env is 'launched' or the flag is older than stabilityDays). Returns isFullyRolledOut, consensusVariation (value + name when fully rolled out), per-environment results, and blockers explaining any failure to be fully rolled out.
Inputs
flagKeystringrequired- No description.
projectKeystringrequired- No description.
envKeysarray- No description.
stabilityDaysnumber- No description.
launchdarklymcp_clone_agentcontrol_config_variationClone an existing AgentControl Config variation with selective overrides.WriteCloneAgentcontrolConfigVariation
Clone an existing AgentControl Config variation with selective overrides. Reads the source variation, applies any provided overrides (model, instructions, messages, parameters, tools), and creates a new variation. Returns both the source and created variation so you can compare the diff. Use this for A/B experimentation: change one thing at a time while keeping everything else constant.
Inputs
configKeystringrequired- No description.
keystringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
sourceVariationKeystringrequired- No description.
commentstring- No description.
customobject- No description.
descriptionstring- No description.
instructionsstring- No description.
messagesarray- No description.
modelConfigKeystring- No description.
modelConfigVersioninteger- No description.
modelNamestring- No description.
outputFormatobject- No description.
parametersobject- No description.
regionstring- No description.
skillsarray- No description.
toolsarray- No description.
launchdarklymcp_clone_ai_config_variationClone an existing AI Config variation to create a new variation with the same settings.WriteCloneAiConfigVariation
Clone an existing AI Config variation to create a new variation with the same settings.
Inputs
configKeystringrequired- The key of the AI Config that contains the variation to clone.
projectKeystringrequired- The project key identifying which project contains the AI Config.
variationIdstringrequired- The ID of the variation to clone.
namestring- The name for the new cloned variation.
launchdarklymcp_create_agent_graphCreate a new agent graph in a project.WriteCreateAgentGraph
Create a new agent graph in a project. An agent graph defines a directed graph of AgentControl Configs for multi-agent workflows. Provide a rootConfigKey and edges to define the graph structure, or create the graph with just metadata and add edges later via update-agent-graph. If rootConfigKey or edges are provided, both must be present.
Inputs
keystringrequired- Key for this operation.
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
descriptionstring- Description for this operation.
edgesarray- Edges for this operation.
rootConfigKeystring- Root Config Key for this operation.
launchdarklymcp_create_agent_skillCreate an agent skill from SKILL.md content.WriteCreate Agent Skill
Create an agent skill from SKILL.md content. Provide a unique key, a display name, and the verbatim markdown. The skill starts at version 1. Attach it to a variation with create-agentcontrol-config-variation or update-agentcontrol-config-variation by passing skills: [{key, version}].
Inputs
keystringrequired- No description.
markdownstringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
descriptionstring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
tagsarray- No description.
launchdarklymcp_create_agentcontrol_configCreate a new AgentControl Config in a project.WriteCreateAgentcontrolConfig
Create a new AgentControl Config in a project. This creates the config shell: use create-agentcontrol-config-variation next to add a model, prompts, and parameters. Mode determines whether variations use 'instructions' (agent), 'messages' (completion), or 'messages' (judge). Judge-mode configs evaluate other AgentControl Config outputs. IMPORTANT: evaluationMetricKey (format: $ld:ai:judge:<suffix>) is REQUIRED when mode is 'judge'; omitting it will cause a 400 error. For agent and completion mode it is not accepted. Pass viewKeys to link the new config to one or more views at creation time (Views are an Enterprise feature).
Inputs
keystringrequired- Key for this operation.
modestringrequired- Mode for this operation.one of
agentcompletionjudge namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
descriptionstring- Description for this operation.
evaluationMetricKeystring- Evaluation Metric Key for this operation.
tagsarray- Tags for this operation.
viewKeysarray- View Keys for this operation.
launchdarklymcp_create_agentcontrol_config_approvalCreate an approval request for an AgentControl Config change.WriteCreate Agentcontrol Config Approval
Create an approval request for an AgentControl Config change. Use this for variation-level edits (model, prompts, parameters, tools via instructions like updateAIConfigVariation, createAIConfigVariation, deleteAIConfigVariation) as well as targeting changes (see update-agentcontrol-config-targeting, update-agentcontrol-config-rollout, update-agentcontrol-config-targets). Omit env (or pass '*') for variation-level changes — they are project-scoped, not env-scoped. Pass a specific env key for targeting changes. The request is reviewed by approvers before taking effect. Requires at least one reviewer: notifyMemberIds and/or notifyTeamKeys. If the user named a person, resolve them with find-members and pass the returned id. If they did not name anyone, ask who should review before calling this tool. Does NOT approve the request: a human reviewer must do that. Once approved, use apply-approval-request to execute the change.
Inputs
configKeystringrequired- No description.
descriptionstringrequired- No description.
instructionsarrayrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
envstring- No description.
notifyMemberIdsarray- No description.
notifyTeamKeysarray- No description.
launchdarklymcp_create_agentcontrol_config_variationCreate a variation for an AgentControl Config.WriteCreateAgentcontrolConfigVariation
Create a variation for an AgentControl Config. A variation defines the model, prompts, parameters, and tools. modelConfigKey must be in Provider.model-id format (e.g. OpenAI.gpt-4o, Anthropic.claude-sonnet-4-5) for models to display correctly in the UI. Agent-mode configs use 'instructions' (a string); completion-mode configs use 'messages' (an array of {role, content} objects). To attach AI tools, pass the 'tools' array with {key, version} entries (create tools first with create-ai-tool). To attach judges, pass judgeConfiguration with a judges array of {judgeConfigKey, samplingRate} entries.
Inputs
configKeystringrequired- No description.
keystringrequired- No description.
modelConfigKeystringrequired- No description.
modelNamestringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
customobject- No description.
descriptionstring- No description.
instructionsstring- No description.
judgeConfigurationobject- No description.
messagesarray- No description.
modelConfigVersioninteger- No description.
outputFormatobject- No description.
parametersobject- No description.
regionstring- No description.
skillsarray- No description.
toolsarray- No description.
launchdarklymcp_create_agentcontrol_model_configCreate a custom AI model config for a model that is not in the global catalog.WriteCreate Agentcontrol Model Config
Create a custom AI model config for a model that is not in the global catalog. Call list-agentcontrol-model-configs first, and use a global model if one exists. Required: key, name, id. key uses letters, numbers, ., _, and - (for example gpt-image-2-20260916-uzw1la), not a global key. id is the provider's model ID (for example gpt-image-2). provider matches the key's prefix, if any (for example OpenAI). Costs are USD per token (for example 0.000005). params and customParams are freeform JSON objects (for example {"temperature": 0.7}). Set maintainerId or maintainerTeamKey, not both. Next, pass key as modelConfigKey and id as modelName to create-agentcontrol-config-variation.
Inputs
idstringrequired- No description.
keystringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
costPerCachedInputTokennumber- No description.
costPerInputTokennumber- No description.
costPerOutputTokennumber- No description.
customParamsobject- No description.
iconstring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
paramsobject- No description.
providerstring- No description.
tagsarray- No description.
launchdarklymcp_create_ai_configCreate a new AI Config in a project.WriteCreateAiConfig
Create a new AI Config in a project. An AI Config manages AI model configurations with feature flag-style targeting and experimentation.
Inputs
keystringrequired- A unique key for the AI Config.
namestringrequired- A human-readable name for the AI Config.
projectKeystringrequired- The project key where the AI Config will be created.
descriptionstring- An optional description for the AI Config.
tagsarray- Optional list of tags to associate with the AI Config.
launchdarklymcp_create_ai_config_variationCreate a new variation for an AI Config with specific model, prompt, and parameter settings.WriteCreateAiConfigVariation
Create a new variation for an AI Config with specific model, prompt, and parameter settings.
Inputs
configKeystringrequired- The key of the AI Config to create a new variation for.
namestringrequired- The name for the new variation.
projectKeystringrequired- The project key identifying which project contains the AI Config.
modelobject- Model settings for the new variation such as model name and parameters.
promptarray- Prompt messages array for the new variation.
launchdarklymcp_create_ai_toolCreate a new AI tool definition in a project.WriteCreateAiTool
Create a new AI tool definition in a project. The schema should be a raw JSON Schema object with type, properties, and required fields (e.g. {"type": "object", "properties": {...}}). Do NOT use the OpenAI function calling wrapper format. After creation, attach the tool to a variation using update-agentcontrol-config-variation.
Inputs
descriptionstringrequired- No description.
keystringrequired- No description.
projectKeystringrequired- No description.
schemaobjectrequired- No description.
customParametersobject- No description.
tagsarray- No description.
launchdarklymcp_create_alertCreate a new observability alert that fires when a metric crosses a threshold.WriteCreateAlert
Create a new observability alert that fires when a metric crosses a threshold.
Inputs
functionTypestringrequired- Aggregator to monitor - one of Count, CountDistinct, CountDistinctKey, Min, Avg, P50, P90, P95, P99, Max, Sumone of
CountCountDistinctCountDistinctKeyMinAvgP50P90P95P99MaxSum namestringrequired- Name for the alert (e.g., "High API Error Rate")
productTypestringrequired- Data source - one of Logs, Traces, Errors, Sessions, Metrics, Eventsone of
LogsTracesErrorsSessionsMetricsEvents projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
autoInvestigationEnabledboolean- when true, each firing starts an automatic AI investigation and posts the diagnosis to the alert's destinations
destinationsarray- Array of notification destinations, each with:
functionColumnstring- Field to aggregate. Omit for Count; field name for others (e.g., "duration" for P90 latency)
groupByarray- Array of dimension keys to alert per-group (e.g., ["service_name"] fires separately per service)
investigationCooldownSecondsnumber- minimum gap between automatic investigations. Keep at or above thresholdCooldown so a chatty alert doesn't re-investigate the same condition
investigationPermissionModestring- "read" investigates and reports; "read-write" additionally lets the investigation open a PRone of
readread-write investigationPromptstring- extra standing instructions prepended to each investigation
investigationRepositoriesarray- repos the investigation may read. Without these it cannot correlate a firing against a recent deploy
messageContentstring- Custom text included in alert notifications
querystring- Filter query string using search syntax (e.g., "service_name=api level=error")
thresholdConditionstring- "Above", "Below", or "Outside" (Anomaly only)one of
AboveBelowOutside thresholdCooldownnumber- Seconds to wait before re-notifying while still alerting
thresholdTypestring- "Constant" compares against thresholdValue; "Anomaly" detects deviations automaticallyone of
ConstantAnomaly thresholdValuenumber- The threshold to compare against. Required for Constant threshold alerts.
thresholdWindownumber- Evaluation window in seconds (e.g., 300 = look at the last 5 minutes)
launchdarklymcp_create_approval_requestCreate an approval request for a flag change in an environment that requires approvals.WriteCreateApprovalRequest
Create an approval request for a flag change in an environment that requires approvals. Provide the same semantic patch instructions you would use for a direct change. The request will be reviewed by approvers before taking effect. Does NOT approve the request: that must be done by a human reviewer.
Inputs
descriptionstringrequired- No description.
envstringrequired- No description.
flagKeystringrequired- No description.
instructionsarrayrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
notifyMemberIdsarray- No description.
notifyTeamKeysarray- No description.
segmentKeystring- No description.
launchdarklymcp_create_automated_rollout_configRecord an automated rollout config in LaunchDarkly for a feature-flagged change.WriteCreateAutomatedRolloutConfig
Record an automated rollout config in LaunchDarkly for a feature-flagged change.
Inputs
environmentsarrayrequired- No description.
flagKeystringrequired- No description.
projectKeystringrequired- No description.
endingVariationIdstring- No description.
executionModestring- No description.one of
parallelsequential prNumbernumber- No description.
prUrlstring- No description.
repoFullNamestring- No description.
requiredApplicationKeysarray- No description.
startingVariationIdstring- No description.
launchdarklymcp_create_flagCreate a new feature flag in a project.WriteCreateFlag
Create a new feature flag in a project. Defaults to a boolean temporary flag. After creation the flag is OFF in all environments: use toggle-flag to enable it.
Inputs
keystringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
clientSideAvailabilityobject- No description.
customPropertiesobject- No description.
defaultsobject- No description.
descriptionstring- No description.
kindstring- No description.one of
booleanmultivariate maintainerIdstring- No description.
maintainerTeamKeystring- No description.
tagsarray- No description.
temporaryboolean- No description.
variationsarray- No description.
viewKeysarray- No description.
launchdarklymcp_create_playgroundCreate a new LLM playground.WriteCreatePlayground
Create a new LLM playground. A playground lets you compare AgentControl Config variations side-by-side. Provide a name and variants — each variant references an evaluation definition (by evaluationId) and a display position.
Inputs
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
variantsarrayrequired- Variants for this operation.
launchdarklymcp_create_prompt_snippetCreate a new reusable prompt snippet.WriteCreatePromptSnippet
Create a new reusable prompt snippet.
Inputs
keystringrequired- A unique key for the prompt snippet.
namestringrequired- The name of the prompt snippet.
projectKeystringrequired- The project key.
textstringrequired- The text content of the prompt snippet.
descriptionstring- A description of the prompt snippet.
tagsarray- Array of tags to categorize the prompt snippet.
launchdarklymcp_create_segmentCreate a new segment in a project environment.WriteCreateSegment
Create a new segment in a project environment. The segment is empty after creation — use update-segment-rules to add targeting rules or update-segment-targets to add individual context keys. Segment keys are immutable after creation: choose carefully. Pass viewKeys to link the new segment to one or more views at creation time (Views are an Enterprise feature).
Inputs
environmentKeystringrequired- Environment Key for this operation.
keystringrequired- Key for this operation.
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
descriptionstring- Description for this operation.
tagsarray- Tags for this operation.
unboundedboolean- Unbounded for this operation.
viewKeysarray- View Keys for this operation.
launchdarklymcp_create_viewCreate a new view in a project.WriteCreate View
Create a new view in a project. Views are an Enterprise feature. The view is empty after creation — use link-view-resources to link flags, segments, or AgentControl Configs to it, or pass viewKeys when creating those resources. The key is converted to lowercase by the API, so use the lowercase form to reference the view afterward. MAINTAINER: set maintainerTeamKey or maintainerId to assign an owner; only one of the two can be specified. Prefer maintainerTeamKey when a suitable team exists.
Inputs
keystringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
descriptionstring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
tagsarray- No description.
launchdarklymcp_createdashboardCreate a new empty dashboard (visualization) for organizing charts.WriteCreateDashboard
Create a new empty dashboard (visualization) for organizing charts.
Inputs
namestringrequired- Name for the dashboard (e.g., "Frontend Errors Overview")
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
timePresetstring- Default time range. Use format like "last_24_hours", "last_7_days", "last_30_days"
launchdarklymcp_createdatasetCreate a new offline dataset for AI evaluation.WriteCreateDataset
Create a new offline dataset for AI evaluation. Provide a dataset name, filename, and format (csv, json, or jsonl). The dataset is created in pending status and must be uploaded separately. Returns the dataset ID and upload URL.
Inputs
filenamestringrequired- Filename for this operation.
formatstringrequired- Format for this operation.
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
checksumstring- Checksum for this operation.
sizenumber- Size for this operation.
launchdarklymcp_createevaluationCreate a new AI evaluation definition.WriteCreateEvaluation
Create a new AI evaluation definition. An evaluation defines a comparison between AI Config variations using a dataset and judge criteria. After creation, use run-evaluation to start an evaluation run.
Inputs
generationModelstringrequired- No description.
generationProviderstringrequired- No description.
namestringrequired- No description.
projectKeystringrequired- No description.
criteriaarray- No description.
evaluationModelstring- No description.
evaluationProviderstring- No description.
messagesarray- No description.
parametersobject- No description.
variablesobject- No description.
launchdarklymcp_createexperimentCreate a new experiment on a flag or AgentControl Config.WriteCreateExperiment
Create a new experiment on a flag or AgentControl Config. An experiment measures the impact of different variations on specified metrics. You must provide the initial iteration definition including a hypothesis, metrics, treatments, and flag configuration. One treatment must be marked as the baseline. Use `methodology` to pick the results-analysis approach (`bayesian` default, `frequentist`, or `export_only` for data-export-only mode). Use `analysisConfig` to set thresholds and multiple-comparison correction. Use `iteration.attributes` to declare slicing dimensions and `iteration.covariateId` to enable stratified sampling.
Inputs
environmentKeystringrequired- Environment Key for this operation.
iterationobjectrequired- Iteration for this operation.
keystringrequired- Key for this operation.
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
analysisConfigobject- Analysis Config for this operation.
dataSourcestring- Data Source for this operation.one of
launchdarklysnowflakedatabricks descriptionstring- Description for this operation.
holdoutIdstring- Holdout Id for this operation.
maintainerIdstring- Maintainer Id for this operation.
methodologystring- Methodology for this operation.one of
bayesianfrequentistexport_only tagsarray- Tags for this operation.
launchdarklymcp_creategraphAdd a chart/graph to an existing dashboard.WriteCreateGraph
Add a chart/graph to an existing dashboard.
Inputs
dashboardIdnumberrequired- ID of the dashboard to add the graph to
expressionsarrayrequired- Array of aggregations, each with:
productTypestringrequired- Data source - one of:
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
titlestringrequired- Chart title (e.g., "Error Rate by Service")
typestringrequired- Chart type - one of:
bucketBystring- Field to bucket by for time-series
bucketCountnumber- Number of time buckets
displaystring- Display style - "Line", "Stacked", "Stacked area"
groupByarray- Array of dimension keys to group by
groupByLimitnumber- Maximum number of series to render when groupBy is set. High-cardinality dimensions (URLs, click selectors, account IDs) can produce hundreds of series and make the dashboard UI unresponsive — keep this small. Ignored when groupBy is empty.
limitAggregatorstring- Which aggregator to rank groups by when applying groupByLimit. Use the same aggregator you ranked by in query-aggregations.one of
CountCountDistinctCountDistinctKeyMinAvgP50P90P95P99MaxSum limitColumnstring- Column used alongside limitAggregator when ranking groups (e.g. "duration" for P90 latency ranking). Ignored for Count.
querystring- Filter query string using search syntax
launchdarklymcp_createmetricCreate a new metric in a LaunchDarkly project.WriteCreateMetric
Create a new metric in a LaunchDarkly project.
Inputs
keystringrequired- Key for this operation.
measureTypestringrequired- Measure Type for this operation.one of
countoccurrencevalue namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
successCriteriastringrequired- Success Criteria for this operation.one of
HigherThanBaselineLowerThanBaseline descriptionstring- Description for this operation.
eventKeystring- Event Key for this operation.
kindstring- Kind for this operation.one of
custompageviewclick randomizationUnitsarray- Randomization Units for this operation.
selectorstring- Selector for this operation.
tagsarray- Tags for this operation.
unitstring- Unit for this operation.
urlsarray- Urls for this operation.
valueAggregationstring- Value Aggregation for this operation.one of
sumaverage
launchdarklymcp_createprojectCreate a new LaunchDarkly project.WriteCreateProject
Create a new LaunchDarkly project. Projects are top-level containers for feature flags and environments.
Inputs
keystringrequired- A unique key for the new project. Used in API calls and SDK configuration.
namestringrequired- A human-readable name for the project.
tagsarray- Optional list of tags to categorize the project.
launchdarklymcp_invite_membersInvite one or more people to the LaunchDarkly account by email.WriteInviteMembers
Invite one or more people to the LaunchDarkly account by email. Each invitee receives an email invitation to join. Optionally assign a role (reader, writer, admin) — defaults to reader if not specified.
Inputs
emailsarrayrequired- Emails for this operation.
rolestring- Role for this operation.
launchdarklymcp_link_view_resourcesLink flags, segments, or AgentControl Configs to a view.WriteLink View Resources
Link flags, segments, or AgentControl Configs to a view. Views are an Enterprise feature. IDENTIFYING RESOURCES: - flags / aiConfigs: pass `keys` - segments: pass `segmentIdentifiers` ({environmentId, segmentKey} pairs — segments are environment-scoped) - any type: pass `filter` to link everything matching a list-endpoint filter expression (flags use comma-separated field:value filters, segments use queryfilter syntax; `environmentId` is required with a segments filter). Keys and filter combine as a union. Large key lists are batched automatically at 20 keys per API request. The response aggregates successCount/failureCount across batches and lists any resources that failed to link.
Inputs
projectKeystringrequired- No description.
resourceTypestringrequired- No description.one of
flagssegmentsaiConfigs viewKeystringrequired- No description.
commentstring- No description.
environmentIdstring- No description.
filterstring- No description.
keysarray- No description.
segmentIdentifiersarray- No description.
launchdarklymcp_restrict_agentcontrol_model_configsRestrict AI model configs so that variations cannot select them.WriteRestrict Agentcontrol Model Configs
Restrict AI model configs so that variations cannot select them. keys are model config keys from list-agentcontrol-model-configs (for example ["OpenAI.gpt-4o"]), not ids. Returns the restricted keys and per-key errors. For 'key is already in use', move the variations to another model with update-agentcontrol-config-variation, then retry. For 'unknown model config key', check list-agentcontrol-model-configs. Undo with unrestrict-agentcontrol-model-configs.
Inputs
keysarrayrequired- No description.
projectKeystringrequired- No description.
launchdarklymcp_runevaluationStart a new run of an AI evaluation.WriteRunEvaluation
Start a new run of an AI evaluation. This executes the evaluation against the configured dataset and judge criteria. Returns the run ID and status.
Inputs
evaluationIdstringrequired- No description.
projectKeystringrequired- No description.
datasetIdstring- No description.
playgroundIdstring- No description.
rowSelectionModestring- No description.one of
alltoprandom rowSelectionUnitstring- No description.one of
countpercent rowSelectionValuenumber- No description.
launchdarklymcp_setup_agentcontrol_configCreate an AgentControl Config with its first variation in one step.WriteSetupAgentcontrolConfig
Create an AgentControl Config with its first variation in one step. This is the recommended way to set up a new AgentControl Config: it creates the config, adds a variation with model and prompts, and verifies everything is configured correctly. Returns the full config detail with variation. To attach AI tools, pass the 'tools' array with {key, version} entries. IMPORTANT: evaluationMetricKey (format: $ld:ai:judge:<suffix>) is REQUIRED when mode is 'judge'. Pass viewKeys to link the new config to one or more views at creation time (Views are an Enterprise feature). Use create-agentcontrol-config + create-agentcontrol-config-variation separately only when you need more control.
Inputs
keystringrequired- Key for this operation.
modestringrequired- Mode for this operation.one of
agentcompletionjudge modelConfigKeystringrequired- Model Config Key for this operation.
modelNamestringrequired- Model Name for this operation.
namestringrequired- Name for this operation.
projectKeystringrequired- Project Key for this operation.
variationKeystringrequired- Variation Key for this operation.
variationNamestringrequired- Variation Name for this operation.
descriptionstring- Description for this operation.
evaluationMetricKeystring- Evaluation Metric Key for this operation.
instructionsstring- Instructions for this operation.
messagesarray- Messages for this operation.
parametersobject- Parameters for this operation.
tagsarray- Tags for this operation.
toolsarray- Tools for this operation.
viewKeysarray- View Keys for this operation.
launchdarklymcp_setup_ai_configInitialize an AI Config with its first variation and targeting setup in one step.WriteSetupAiConfig
Initialize an AI Config with its first variation and targeting setup in one step.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config to initialize.
environmentKeystringrequired- The environment key to set up the AI Config in.
projectKeystringrequired- The project key identifying which project to set up the AI Config in.
modelobject- Model settings for the initial variation.
promptarray- Prompt messages for the initial variation.
launchdarklymcp_startguardedrolloutStart a guarded rollout on a flag's default rule (fallthrough).WriteStartGuardedRollout
Start a guarded rollout on a flag's default rule (fallthrough). A guarded rollout progressively increases traffic to the test variation through a series of stages while monitoring metrics for regressions. Each stage specifies a rolloutWeight (percentage in thousandths, e.g. 10000 = 10%) and a monitoring window in milliseconds. Metrics define what to monitor and whether to notify or rollback on regression. Requires the flag to be on and not already have an active guarded rollout. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
controlVariationIdstringrequired- Control Variation Id for this operation.
environmentKeystringrequired- Environment Key for this operation.
flagKeystringrequired- Flag Key for this operation.
metricsarrayrequired- Metrics for this operation.
projectKeystringrequired- Project Key for this operation.
randomizationUnitstringrequired- Randomization Unit for this operation.
stagesarrayrequired- Stages for this operation.
testVariationIdstringrequired- Test Variation Id for this operation.
commentstring- Comment for this operation.
metricSourcesarray- Metric Sources for this operation.
updateDefaultRuleOnCompletionboolean- Update Default Rule On Completion for this operation.
launchdarklymcp_toggle_agentcontrol_configTurn an AgentControl Config's targeting on or off in a specific environment.WriteToggleAgentcontrolConfig
Turn an AgentControl Config's targeting on or off in a specific environment. Returns the previous and new state. This is equivalent to 'turnFlagOn' / 'turnFlagOff' for feature flags. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-agentcontrol-config-approval` with the returned instructions to submit it for review.
- Idempotent
Inputs
configKeystringrequired- Config Key for this operation.
envstringrequired- Env for this operation.
onbooleanrequired- On for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_toggle_alertEnable or disable an observability alert without changing its configuration.WriteToggleAlert
Enable or disable an observability alert without changing its configuration.
- Idempotent
Inputs
alertIdnumberrequired- The numeric ID of the alert (from list-alerts)
enabledbooleanrequired- true to enable the alert, false to disable it
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
launchdarklymcp_toggle_flagTurn a feature flag on or off in a specific environment.WriteToggleFlag
Turn a feature flag on or off in a specific environment. When off, all users receive the off variation.
- Idempotent
Inputs
envstringrequired- The environment key where the flag should be toggled.
flagKeystringrequired- The feature flag key to toggle on or off.
onbooleanrequired- Set to true to turn the flag on, or false to turn it off.
projectKeystringrequired- The project key identifying which project contains the flag.
commentstring- Optional comment describing why the flag was toggled.
launchdarklymcp_unrestrict_agentcontrol_model_configsRemove AI model configs from the restricted list so that variations can select them again.WriteUnrestrict Agentcontrol Model Configs
Remove AI model configs from the restricted list so that variations can select them again. keys are model config keys (for example ["OpenAI.gpt-4o"]), not ids. To see restricted keys, call list-agentcontrol-model-configs with restricted=true.
Inputs
keysarrayrequired- No description.
projectKeystringrequired- No description.
launchdarklymcp_update_agent_skillUpdate an agent skill's markdown, name, description, tags, or maintainer.WriteUpdate Agent Skill
Update an agent skill's markdown, name, description, tags, or maintainer. Only provided fields are updated. Variations stay pinned to the version they attached; use list-agent-skill-references to find them and update-agentcontrol-config-variation to move them to the new version.
Inputs
projectKeystringrequired- No description.
skillKeystringrequired- No description.
descriptionstring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
markdownstring- No description.
namestring- No description.
tagsarray- No description.
launchdarklymcp_update_agentcontrol_configUpdate an AgentControl Config's metadata: name, description, tags, or archive status.WriteUpdateAgentcontrolConfig
Update an AgentControl Config's metadata: name, description, tags, or archive status. Does NOT modify variations: use update-agentcontrol-config-variation for model, prompt, or parameter changes. Set archived: true to archive (reversible).
- Idempotent
Inputs
configKeystringrequired- No description.
projectKeystringrequired- No description.
archivedboolean- Not supported. An AgentControl Config cannot be archived. The tool rejects any call that sends this field. Do not send it. To remove a config permanently, call delete-agentcontrol-config.
defaultVariationKeystring- No description.
descriptionstring- No description.
evaluationMetricKeystring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
namestring- No description.
tagsarray- No description.
launchdarklymcp_update_agentcontrol_config_rolloutUpdate the default (fallthrough) rule for an AgentControl Config in an environment.WriteUpdateAgentcontrolConfigRollout
Update the default (fallthrough) rule for an AgentControl Config in an environment. Set a percentage rollout across variations, or serve a single variation to all unmatched contexts. Weights must sum to 100. Use human-friendly percentages (e.g., 80 for 80%). Accepts a variation key (from get-agentcontrol-config) or variation name (from get-agentcontrol-config-targeting); the tool resolves either to the internal variation _id (UUID) before patching. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-agentcontrol-config-approval` with the returned instructions to submit it for review.
- Idempotent
Inputs
configKeystringrequired- Config Key for this operation.
envstringrequired- Env for this operation.
projectKeystringrequired- Project Key for this operation.
rolloutTypestringrequired- Rollout Type for this operation.one of
percentagevariation bucketBystring- Bucket By for this operation.
commentstring- Comment for this operation.
contextKindstring- Context Kind for this operation.
variationKeystring- Variation Key for this operation.
weightsarray- Weights for this operation.
launchdarklymcp_update_agentcontrol_config_targetingAdd, remove, or modify custom targeting rules for an AgentControl Config in an environment.WriteUpdate Agentcontrol Config Targeting
Add, remove, or modify custom targeting rules for an AgentControl Config in an environment. Rules are evaluated top-to-bottom; first matching rule wins. Supported kinds: addRule, removeRule, addClauses, removeClauses, reorderRules, replaceRules, updateRuleDescription, addValuesToClause, removeValuesFromClause, updateClause. Use get-agentcontrol-config-targeting first to obtain ruleId, clauseId, and variationId values referenced by these instructions. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-agentcontrol-config-approval` with the returned instructions to submit it for review.
Inputs
configKeystringrequired- No description.
envstringrequired- No description.
instructionsarrayrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
launchdarklymcp_update_agentcontrol_config_targetsAdd or remove specific contexts from individual AgentControl Config targeting in an environment.WriteUpdate Agentcontrol Config Targets
Add or remove specific contexts from individual AgentControl Config targeting in an environment. Individual targets are the highest priority and override all rules. Supported kinds: addTargets, removeTargets, clearTargets, replaceTargets. Each instruction takes a 'variationKey' set to either the variation key (from get-agentcontrol-config) or the variation name (from get-agentcontrol-config-targeting); the tool resolves either to the internal variation _id before patching. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-agentcontrol-config-approval` with the returned instructions to submit it for review.
Inputs
configKeystringrequired- No description.
envstringrequired- No description.
instructionsarrayrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
launchdarklymcp_update_agentcontrol_model_configUpdate a custom AI model config.WriteUpdate Agentcontrol Model Config
Update a custom AI model config. modelConfigKey is the key from list-agentcontrol-model-configs (for example OpenAI.gpt-image-2), not the id. Send at least one field. Only sent fields change, and params, customParams, and tags replace the current values. Formats match create-agentcontrol-model-config. provider and id cannot change: call create-agentcontrol-model-config with a new key instead. Global models (global=true) cannot be updated.
Inputs
modelConfigKeystringrequired- No description.
projectKeystringrequired- No description.
costPerCachedInputTokennumber- No description.
costPerInputTokennumber- No description.
costPerOutputTokennumber- No description.
customParamsobject- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
namestring- No description.
paramsobject- No description.
tagsarray- No description.
launchdarklymcp_update_ai_configUpdate the metadata for an AI Config such as name, description, and tags.WriteUpdateAiConfig
Update the metadata for an AI Config such as name, description, and tags.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config to update.
projectKeystringrequired- The project key identifying which project contains the AI Config.
descriptionstring- The updated description for the AI Config.
namestring- The updated display name for the AI Config.
tagsarray- Array of tags to associate with the AI Config.
launchdarklymcp_update_ai_config_individual_targetsUpdate the individual user targeting for an AI Config in a specific environment.WriteUpdateAiConfigIndividualTargets
Update the individual user targeting for an AI Config in a specific environment.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config to update.
envstringrequired- The environment key where the AI Config targeting will be updated.
projectKeystringrequired- The project key for the LaunchDarkly project.
targetsarray- The individual user targets to set for this AI Config.
launchdarklymcp_update_ai_config_rolloutUpdate the rollout percentages for an AI Config's default rule in a specific environment.WriteUpdateAiConfigRollout
Update the rollout percentages for an AI Config's default rule in a specific environment.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config to update.
envstringrequired- The environment key where the rollout will be updated.
projectKeystringrequired- The project key for the LaunchDarkly project.
rolloutobject- The rollout configuration defining percentage splits across variations.
launchdarklymcp_update_ai_config_targeting_rulesUpdate the targeting rules for an AI Config in a specific environment.WriteUpdateAiConfigTargetingRules
Update the targeting rules for an AI Config in a specific environment.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config to update targeting rules for.
envstringrequired- The environment key where targeting rules will be updated.
projectKeystringrequired- The project key identifying which project contains the AI Config.
rulesarray- Array of targeting rule objects to apply to the AI Config.
launchdarklymcp_update_ai_config_variationUpdate a specific variation of an AI Config, including its prompt, model settings, and parameters.WriteUpdateAiConfigVariation
Update a specific variation of an AI Config, including its prompt, model settings, and parameters.
- Idempotent
Inputs
configKeystringrequired- The key of the AI Config that contains the variation to update.
projectKeystringrequired- The project key identifying which project contains the AI Config.
variationIdstringrequired- The ID of the variation to update.
modelobject- Model settings for this variation such as model name and parameters.
namestring- The updated name for the variation.
promptarray- Prompt messages array for this variation.
launchdarklymcp_update_ai_toolUpdate an AI tool definition's description or schema.WriteUpdateAiTool
Update an AI tool definition's description or schema. All fields are optional: only provided fields are updated. The schema should be a raw JSON Schema object with type, properties, and required fields.
- Idempotent
Inputs
projectKeystringrequired- No description.
toolKeystringrequired- No description.
customParametersobject- No description.
descriptionstring- No description.
schemaobject- No description.
tagsarray- No description.
launchdarklymcp_update_factory_repo_settingsDeprecated: use update-release-autopilot-repo-settings instead.WriteUpdate Factory Repo Settings
Deprecated: use update-release-autopilot-repo-settings instead. Map a GitHub repository to a LaunchDarkly project and optionally override auto-flagging or auto-releasing. Pass repo as owner/name (preferred) or githubRepoId. projectKey is required on the first map. An omitted automation inherits the account setting. A repo cannot enable a capability the account has off. Requires permission to update Release Autopilot repo settings on the mapped project. Do not send autoCleanup.
Inputs
autoFlaggingobject- No description.
autoReleasingobject- No description.
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_update_factory_settingsDeprecated: use update-release-autopilot-settings instead.WriteUpdate Factory Settings
Deprecated: use update-release-autopilot-settings instead. Update account-wide Release Autopilot settings (auto-flagging and auto-releasing). Send only what changed. approvalRequired is only valid on auto-flagging. Requires permission to update account Release Autopilot settings. Do not send autoCleanup. Requires LD-API-Version beta (sent automatically).
Inputs
autoFlaggingobject- No description.
autoReleasingobject- No description.
launchdarklymcp_update_flag_settingsUpdate a feature flag's global settings such as name, description, tags, temporary status, and maintainer.WriteUpdateFlagSettings
Update a feature flag's global settings such as name, description, tags, temporary status, and maintainer.
- Idempotent
Inputs
flagKeystringrequired- No description.
instructionsarrayrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
launchdarklymcp_update_off_variationSet the variation a flag serves when its targeting is OFF, in one environment (env), several (envs), or every environment (allEnvs).WriteUpdate Off Variation
Set the variation a flag serves when its targeting is OFF, in one environment (env), several (envs), or every environment (allEnvs). One call repairs a whole flag: fallthroughVariationIndex also sets the default rule (what an ON flag serves when no rule matches), and updateFlagDefaults also sets the flag-level defaults that seed new environments (offVariation = variationIndex, onVariation = fallthroughVariationIndex). Each variationIndex is a 0-based position in the flag's variations; use get-flag to see them. For boolean flags, 0 = true, 1 = false by convention. Environments that already match are left alone. An environment that requires approval is reported as blocked with the instructions to pass to `create-approval-request`; the other environments still apply.
Inputs
flagKeystringrequired- No description.
projectKeystringrequired- No description.
variationIndexnumberrequired- No description.
allEnvsboolean- No description.
commentstring- No description.
envstring- No description.
envsarray- No description.
fallthroughVariationIndexnumber- No description.
updateFlagDefaultsboolean- No description.
launchdarklymcp_update_playgroundUpdate an LLM playground's name, variants, or archived status.WriteUpdatePlayground
Update an LLM playground's name, variants, or archived status. All fields are optional.
- Idempotent
Inputs
playgroundIdstringrequired- Playground Id for this operation.
projectKeystringrequired- Project Key for this operation.
archivedboolean- Archived for this operation.
namestring- Name for this operation.
variantsarray- Variants for this operation.
launchdarklymcp_update_prompt_snippetUpdate an existing prompt snippet.WriteUpdatePromptSnippet
Update an existing prompt snippet. Creates a new version of the snippet. All fields are optional — only provided fields are updated.
- Idempotent
Inputs
projectKeystringrequired- Project Key for this operation.
snippetKeystringrequired- Snippet Key for this operation.
descriptionstring- Description for this operation.
namestring- Name for this operation.
tagsarray- Tags for this operation.
textstring- Text for this operation.
launchdarklymcp_update_release_autopilot_repo_settingsMap a GitHub repository to a LaunchDarkly project and optionally override auto-flagging or auto-releasing.WriteUpdate Release Autopilot Repo Settings
Map a GitHub repository to a LaunchDarkly project and optionally override auto-flagging or auto-releasing. Pass repo as owner/name (preferred) or githubRepoId. projectKey is required on the first map. An omitted automation inherits the account setting. A repo cannot enable a capability the account has off. Requires permission to update Release Autopilot repo settings on the mapped project. Do not send autoCleanup.
Inputs
autoFlaggingobject- No description.
autoReleasingobject- No description.
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_update_release_autopilot_settingsUpdate account-wide Release Autopilot settings (auto-flagging and auto-releasing).WriteUpdate Release Autopilot Settings
Update account-wide Release Autopilot settings (auto-flagging and auto-releasing). Send only what changed. approvalRequired is only valid on auto-flagging. Requires permission to update account Release Autopilot settings. Do not send autoCleanup. Requires LD-API-Version beta (sent automatically).
Inputs
autoFlaggingobject- No description.
autoReleasingobject- No description.
launchdarklymcp_update_rolloutChange the default rule (fallthrough) for a flag.WriteUpdateRollout
Change the default rule (fallthrough) for a flag. Set a percentage rollout across variations or serve a single variation to all unmatched users. Weights must sum to 100. Use human-friendly percentages (e.g., 80 for 80%). If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
- Idempotent
Inputs
envstringrequired- Env for this operation.
flagKeystringrequired- Flag Key for this operation.
projectKeystringrequired- Project Key for this operation.
rolloutTypestringrequired- Rollout Type for this operation.one of
percentagevariation commentstring- Comment for this operation.
contextKindstring- Context Kind for this operation.
variationIndexnumber- Variation Index for this operation.
weightsarray- Weights for this operation.
launchdarklymcp_update_viewUpdate a view's name, description, maintainer, or tags.WriteUpdate View
Update a view's name, description, maintainer, or tags. Views are an Enterprise feature. Include only the fields to change — provided values replace the existing ones (tags are replaced wholesale, not merged). Only one of maintainerId or maintainerTeamKey can be specified. The view key cannot be changed.
Inputs
projectKeystringrequired- No description.
viewKeystringrequired- No description.
descriptionstring- No description.
maintainerIdstring- No description.
maintainerTeamKeystring- No description.
namestring- No description.
tagsarray- No description.
launchdarklymcp_ventReport a missing capability, bug, parameter gap, or unclear error encountered while using LaunchDarkly MCP tools.WriteVent
Report a missing capability, bug, parameter gap, or unclear error encountered while using LaunchDarkly MCP tools. This feedback is collected and triaged to improve the toolset. Use this when a tool is missing, returns an unexpected error, or lacks a needed parameter.
Inputs
categorystringrequired- The category of the issue being reported.one of
missing_toolmissing_parameterbugunclear_errorother descriptionstringrequired- A description of the issue or missing capability.
contextstring- Additional context about the situation when the issue occurred.
errorMessagestring- The error message received, if any.
toolNamestring- The name of the tool that has the issue, if applicable.
launchdarklymcp_apply_approval_requestApply an already-approved approval request.DestructiveApplyApprovalRequest
Apply an already-approved approval request. This executes the changes that were approved by reviewers. Only works on requests with reviewStatus 'approved'. Does NOT approve requests: that must be done by a human reviewer.
Inputs
envstringrequired- No description.
idstringrequired- No description.
projectKeystringrequired- No description.
commentstring- No description.
flagKeystring- No description.
segmentKeystring- No description.
launchdarklymcp_archive_flagArchive a feature flag (reversible).DestructiveArchiveFlag
Archive a feature flag (reversible). This is a soft-delete that can be undone. Recommended as the first step before permanent deletion. Always run check-removal-readiness before archiving.
- Idempotent
Inputs
flagKeystringrequired- Flag Key for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_copy_flag_configCopy a flag's targeting configuration from one environment to another.DestructiveCopyFlagConfig
Copy a flag's targeting configuration from one environment to another. Common use: promote from staging to production. Optionally select which aspects to copy: targeting, rules, offVariation, prerequisites, on state. If the target environment requires approval, the response includes requiresApproval: true and an approvalUrl; follow the approvalUrl to submit the copy request for review.
- Idempotent
Inputs
flagKeystringrequired- Flag Key for this operation.
projectKeystringrequired- Project Key for this operation.
sourceEnvstringrequired- Source Env for this operation.
targetEnvstringrequired- Target Env for this operation.
excludedActionsarray- Excluded Actions for this operation.
includedActionsarray- Included Actions for this operation.
launchdarklymcp_delete_agent_skillPermanently delete an agent skill and all of its versions.DestructiveDelete Agent Skill
Permanently delete an agent skill and all of its versions. THIS IS IRREVERSIBLE. LaunchDarkly rejects the delete while any variation still attaches the skill; use list-agent-skill-references to find and detach them first. Requires confirm=true to execute.
Inputs
confirmbooleanrequired- No description.
projectKeystringrequired- No description.
skillKeystringrequired- No description.
launchdarklymcp_delete_agentcontrol_configPermanently delete an AgentControl Config.DestructiveDeleteAgentcontrolConfig
Permanently delete an AgentControl Config. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Prefer archiving (update-agentcontrol-config with archived: true) when possible.
Inputs
configKeystringrequired- Config Key for this operation.
confirmbooleanrequired- Confirm for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_delete_agentcontrol_config_variationPermanently delete an AgentControl Config variation.DestructiveDeleteAgentcontrolConfigVariation
Permanently delete an AgentControl Config variation. THIS IS IRREVERSIBLE. Requires confirm=true to execute.
Inputs
configKeystringrequired- Config Key for this operation.
confirmbooleanrequired- Confirm for this operation.
projectKeystringrequired- Project Key for this operation.
variationKeystringrequired- Variation Key for this operation.
launchdarklymcp_delete_agentcontrol_model_configPermanently delete a custom AI model config.DestructiveDelete Agentcontrol Model Config
Permanently delete a custom AI model config. Requires confirm=true. modelConfigKey is the key, not the id. Global models cannot be deleted: call restrict-agentcontrol-model-configs instead. If the API returns 'model config is still in use', move those variations to another modelConfigKey with update-agentcontrol-config-variation, then retry.
Inputs
confirmbooleanrequired- No description.
modelConfigKeystringrequired- No description.
projectKeystringrequired- No description.
launchdarklymcp_delete_ai_configPermanently delete an AI Config and all its variations.DestructiveDeleteAiConfig
Permanently delete an AI Config and all its variations. This is irreversible.
Inputs
configKeystringrequired- The key of the AI Config to permanently delete.
projectKeystringrequired- The project key identifying which project contains the AI Config to delete.
launchdarklymcp_delete_ai_config_variationDelete a variation from an AI Config.DestructiveDeleteAiConfigVariation
Delete a variation from an AI Config. This is permanent and cannot be undone.
Inputs
configKeystringrequired- The key of the AI Config that contains the variation to delete.
projectKeystringrequired- The project key identifying which project contains the AI Config.
variationIdstringrequired- The ID of the variation to permanently delete.
launchdarklymcp_delete_ai_toolPermanently delete an AI tool definition.DestructiveDeleteAiTool
Permanently delete an AI tool definition. THIS IS IRREVERSIBLE. Any AgentControl Config variations referencing this tool will lose the attachment. Requires confirm=true to execute.
Inputs
confirmbooleanrequired- Confirm for this operation.
projectKeystringrequired- Project Key for this operation.
toolKeystringrequired- Tool Key for this operation.
launchdarklymcp_delete_alertPermanently delete an observability alert.DestructiveDeleteAlert
Permanently delete an observability alert. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Use get-alert first to verify you are deleting the right alert.
Inputs
alertIdnumberrequired- The numeric ID of the alert to delete
confirmbooleanrequired- Must be true to execute the deletion
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
launchdarklymcp_delete_dashboardPermanently delete a dashboard (visualization) and all of its graphs.DestructiveDeleteDashboard
Permanently delete a dashboard (visualization) and all of its graphs. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Use get-dashboard first to verify you are deleting the right dashboard.
Inputs
confirmbooleanrequired- Must be true to execute the deletion
dashboardIdnumberrequired- The numeric ID of the dashboard to delete (from list-dashboards)
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
launchdarklymcp_delete_factory_repo_settingsDeprecated: use delete-release-autopilot-repo-settings instead.DestructiveDelete Factory Repo Settings
Deprecated: use delete-release-autopilot-repo-settings instead. Unmap a GitHub repository from Release Autopilot settings (removes project mapping and overrides). Idempotent: an already-unmapped repo still returns success. Pass repo as owner/name or githubRepoId. Requires permission to update Release Autopilot repo settings on the mapped project.
Inputs
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_delete_flagPermanently delete a feature flag and all its targeting rules across all environments.DestructiveDeleteFlag
Permanently delete a feature flag and all its targeting rules across all environments. This is irreversible.
Inputs
confirmbooleanrequired- Must be set to true to confirm permanent deletion of the flag.
flagKeystringrequired- The key of the feature flag to permanently delete.
projectKeystringrequired- The project key where the flag resides.
launchdarklymcp_delete_prompt_snippetPermanently delete a prompt snippet.DestructiveDeletePromptSnippet
Permanently delete a prompt snippet. THIS IS IRREVERSIBLE. Any AgentControl Config variations referencing this snippet will lose their reference. Requires confirm=true to execute.
Inputs
confirmbooleanrequired- Confirm for this operation.
projectKeystringrequired- Project Key for this operation.
snippetKeystringrequired- Snippet Key for this operation.
launchdarklymcp_delete_release_autopilot_repo_settingsUnmap a GitHub repository from Release Autopilot settings (removes project mapping and overrides).DestructiveDelete Release Autopilot Repo Settings
Unmap a GitHub repository from Release Autopilot settings (removes project mapping and overrides). Idempotent: an already-unmapped repo still returns success. Pass repo as owner/name or githubRepoId. Requires permission to update Release Autopilot repo settings on the mapped project.
Inputs
githubRepoIdnumber- No description.
projectKeystring- No description.
repostring- No description.
launchdarklymcp_deleteagentgraphPermanently delete an agent graph and all of its edges.DestructiveDeleteAgentGraph
Permanently delete an agent graph and all of its edges. THIS IS IRREVERSIBLE. Requires confirm=true to execute.
Inputs
confirmbooleanrequired- Confirm for this operation.
graphKeystringrequired- Graph Key for this operation.
projectKeystringrequired- Project Key for this operation.
launchdarklymcp_deletedatasetPermanently delete an offline dataset and its associated metadata.DestructiveDeleteDataset
Permanently delete an offline dataset and its associated metadata. THIS IS IRREVERSIBLE. Requires confirm=true to execute.
Inputs
confirmbooleanrequired- Must be set to true to confirm the irreversible deletion of the dataset.
datasetIdstringrequired- The unique identifier of the dataset to permanently delete.
projectKeystringrequired- The project key identifying which project the dataset belongs to.
launchdarklymcp_manage_expiring_targetsList, add, update, or remove expiring targets on a flag.DestructiveManageExpiringTargets
List, add, update, or remove expiring targets on a flag. Expiring targets are automatically removed from targeting after a specified date. Dates are shown as ISO strings with days-until-expiry computed. Variation IDs are resolved to human-readable names.
Inputs
actionstringrequired- Action for this operation.one of
listaddupdateremove envstringrequired- Env for this operation.
flagKeystringrequired- Flag Key for this operation.
projectKeystringrequired- Project Key for this operation.
contextKeystring- Context Key for this operation.
contextKindstring- Context Kind for this operation.
expiresAtstring- Expires At for this operation.
variationIdstring- Variation Id for this operation.
launchdarklymcp_saveandstartexperimentiterationStop the current running iteration, create a new draft iteration with the provided field updates applied, and start it — the API-recommended way to mutate treatments, metrics, methodology, or other fields that are locked while an iteration is running.DestructiveSaveAndStartExperimentIteration
Stop the current running iteration, create a new draft iteration with the provided field updates applied, and start it — the API-recommended way to mutate treatments, metrics, methodology, or other fields that are locked while an iteration is running. Provide `changeJustification` to record why a new iteration is needed. Field inputs are the same as `update-experiment`; updates are checked against the new iteration's not_started mutability rules. Fields not allowed in not_started are returned under `skipped` rather than being sent.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
projectKeystringrequired- Project Key for this operation.
analysisConfigobject- Analysis Config for this operation.
attributesarray- Attributes for this operation.
canReshuffleTrafficboolean- Can Reshuffle Traffic for this operation.
changeJustificationstring- Change Justification for this operation.
covariateIdstring- Covariate Id for this operation.
dataSourcestring- Data Source for this operation.one of
launchdarklysnowflakedatabricks descriptionstring- Description for this operation.
flagsobject- Flags for this operation.
flagSettingsobject- Flag Settings for this operation.
holdoutIdstring- Holdout Id for this operation.
hypothesisstring- Hypothesis for this operation.
maintainerIdstring- Maintainer Id for this operation.
methodologystring- Methodology for this operation.one of
bayesianfrequentistexport_only metricsarray- Metrics for this operation.
namestring- Name for this operation.
primaryFunnelKeystring- Primary Funnel Key for this operation.
primarySingleMetricKeystring- Primary Single Metric Key for this operation.
randomizationUnitstring- Randomization Unit for this operation.
tagsarray- Tags for this operation.
treatmentsarray- Treatments for this operation.
launchdarklymcp_startexperimentiterationStart an experiment iteration.DestructiveStartExperimentIteration
Start an experiment iteration. This begins data collection for the experiment's current draft iteration and starts allocating live end-user traffic across its treatments. The experiment's flag must be toggled on, a randomization unit must be set, and at least one treatment must have a non-zero allocation percent.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
projectKeystringrequired- Project Key for this operation.
changeJustificationstring- Change Justification for this operation.
launchdarklymcp_stopexperimentiterationStop the currently running iteration of an experiment.DestructiveStopExperimentIteration
Stop the currently running iteration of an experiment. Data collection ends and the iteration moves to the `stopped` status. A winning treatment is required to stop: pass `winningTreatmentId` (the `_id` of one of the iteration's treatments, available from get-experiment) and an optional `winningReason` explaining the call. If the experiment was inconclusive, declare the baseline/control treatment as the winner.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
projectKeystringrequired- Project Key for this operation.
winningTreatmentIdstringrequired- Winning Treatment Id for this operation.
winningReasonstring- Winning Reason for this operation.
launchdarklymcp_stopguardedrolloutStop an active guarded rollout on a flag's default rule (fallthrough).DestructiveStopGuardedRollout
Stop an active guarded rollout on a flag's default rule (fallthrough). This immediately halts the progressive rollout and locks the flag to its current state. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
environmentKeystringrequired- Environment Key for this operation.
flagKeystringrequired- Flag Key for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_update_agentcontrol_config_variationUpdate an AgentControl Config variation's name, description, model, instructions/messages, parameters, attached tools, or judge configuration.DestructiveUpdateAgentcontrolConfigVariation
Update an AgentControl Config variation's name, description, model, instructions/messages, parameters, attached tools, or judge configuration. All fields are optional: only provided fields are updated. Pass 'name' to rename the variation in place without recreating it (avoids changing the variation _id). To attach tools, pass the 'tools' array with {key, version} entries (create tools first with create-ai-tool). Pass an empty tools array to detach all tools. To attach judges, pass judgeConfiguration with a judges array of {judgeConfigKey, samplingRate} entries. Pass an empty judges array to detach all judges.
Inputs
configKeystringrequired- No description.
projectKeystringrequired- No description.
variationKeystringrequired- No description.
commentstring- No description.
customobject- No description.
descriptionstring- No description.
instructionsstring- No description.
judgeConfigurationobject- No description.
messagesarray- No description.
modelConfigKeystring- No description.
modelConfigVersioninteger- No description.
modelNamestring- No description.
namestring- No description.
outputFormatobject- No description.
parametersobject- No description.
regionstring- No description.
skillsarray- No description.
statestring- No description.one of
archivedpublished toolsarray- No description.
launchdarklymcp_update_alertUpdate an existing observability alert.DestructiveUpdateAlert
Update an existing observability alert. Only the fields you provide are changed; everything else is preserved.
- Idempotent
Inputs
alertIdnumberrequired- The numeric ID of the alert to update (from list-alerts)
projectKeystringrequired- The LaunchDarkly project key (e.g., "default").
autoInvestigationEnabledboolean- when true, each firing starts an automatic AI investigation and posts the diagnosis to the alert's destinations
destinationsarray- REPLACES the full destination list when provided. Each entry:
functionColumnstring- Field to aggregate ("" to clear)
functionTypestring- Aggregator - one of Count, CountDistinct, CountDistinctKey, Min, Avg, P50, P90, P95, P99, Max, Sumone of
CountCountDistinctCountDistinctKeyMinAvgP50P90P95P99MaxSum groupByarray- Array of dimension keys to alert per-group ([] to clear)
investigationCooldownSecondsnumber- minimum gap between automatic investigations. Keep at or above thresholdCooldown so a chatty alert doesn't re-investigate the same condition
investigationPermissionModestring- "read" investigates and reports; "read-write" additionally lets the investigation open a PRone of
readread-write investigationPromptstring- extra standing instructions prepended to each investigation
investigationRepositoriesarray- repos the investigation may read. Without these it cannot correlate a firing against a recent deploy
messageContentstring- Custom notification message ("" to clear)
namestring- New name for the alert
productTypestring- Data source - one of Logs, Traces, Errors, Sessions, Metrics, Eventsone of
LogsTracesErrorsSessionsMetricsEvents querystring- Filter query string ("" to clear)
thresholdConditionstring- "Above", "Below", or "Outside"one of
AboveBelowOutside thresholdCooldownnumber- Seconds between re-notifications while alerting
thresholdTypestring- "Constant" or "Anomaly"one of
ConstantAnomaly thresholdValuenumber- New threshold to compare against
thresholdWindownumber- Evaluation window in seconds
launchdarklymcp_update_individual_targetsAdd or remove specific users or contexts from individual flag targeting.DestructiveUpdateIndividualTargets
Add or remove specific users or contexts from individual flag targeting. Individual targets are the highest priority: they override all rules. Supported instruction kinds: addTargets, removeTargets, replaceTargets. To target non-user context kinds (e.g. organization), include contextKind on the instruction (e.g. { kind: 'addTargets', contextKind: 'organization', values: ['org-123'], variationId: '<id>' }). Note: addContextTargets and removeContextTargets are NOT supported by the LD API; use addTargets/removeTargets with contextKind instead. Responses truncate long lists. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
envstringrequired- Env for this operation.
flagKeystringrequired- Flag Key for this operation.
instructionsarrayrequired- Instructions for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_update_prerequisitesAdd or remove prerequisites for a flag in a specific environment.DestructiveUpdatePrerequisites
Add or remove prerequisites for a flag in a specific environment. Prerequisites are other flags that must evaluate to specific variations before this flag is evaluated. Use addPrerequisite to migrate prerequisites onto a new flag, or removePrerequisite + addPrerequisite to update dependent flags to point to a new key. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
envstringrequired- Env for this operation.
flagKeystringrequired- Flag Key for this operation.
instructionsarrayrequired- Instructions for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_update_segment_rulesAdd, remove, or modify attribute-based targeting rules on a segment.DestructiveUpdateSegmentRules
Add, remove, or modify attribute-based targeting rules on a segment. Rules evaluate context attributes to determine segment membership. Clauses within a rule are ANDed; multiple rules use OR logic. Supported kinds: addRule, removeRule, addClauses, removeClauses, updateClause, addValuesToClause, removeValuesFromClause, reorderRules, updateRuleDescription, updateRuleRolloutAndContextKind. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
environmentKeystringrequired- Environment Key for this operation.
instructionsarrayrequired- Instructions for this operation.
projectKeystringrequired- Project Key for this operation.
segmentKeystringrequired- Segment Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_update_segment_targetsAdd or remove individual context keys from a segment's included or excluded lists.DestructiveUpdateSegmentTargets
Add or remove individual context keys from a segment's included or excluded lists. Included targets always match the segment. Excluded targets never match, even if rules would include them. Supported kinds: addIncludedTargets, removeIncludedTargets, addExcludedTargets, removeExcludedTargets. Each instruction requires contextKind and values. If the environment requires approval, the response includes requiresApproval: true and the attempted instructions; call `create-approval-request` with the returned instructions to submit it for review.
Inputs
environmentKeystringrequired- Environment Key for this operation.
instructionsarrayrequired- Instructions for this operation.
projectKeystringrequired- Project Key for this operation.
segmentKeystringrequired- Segment Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_update_targeting_rulesAdd, remove, or modify custom targeting rules for a flag in an environment.DestructiveUpdateTargetingRules
Add, remove, or modify custom targeting rules for a flag in an environment. Rules evaluate top-to-bottom; first matching rule wins. Use get-flag to look up rule _ids, clause _ids, and variation _ids before constructing instructions.
Inputs
envstringrequired- Env for this operation.
flagKeystringrequired- Flag Key for this operation.
instructionsarrayrequired- Instructions for this operation.
projectKeystringrequired- Project Key for this operation.
commentstring- Comment for this operation.
launchdarklymcp_updateagentgraphUpdate an agent graph's metadata or structure.DestructiveUpdateAgentGraph
Update an agent graph's metadata or structure. All fields are optional. If rootConfigKey or edges are provided, both must be present and will fully replace the existing graph structure. Pass name or description to update metadata only.
Inputs
graphKeystringrequired- Graph Key for this operation.
projectKeystringrequired- Project Key for this operation.
descriptionstring- Description for this operation.
edgesarray- Edges for this operation.
namestring- Name for this operation.
rootConfigKeystring- Root Config Key for this operation.
launchdarklymcp_updateexperimentUpdate fields on an experiment or its current iteration.DestructiveUpdateExperiment
Update fields on an experiment or its current iteration. Which fields are mutable depends on the current iteration's status (not_started, running, stopped). This tool first reads the experiment's mutableFieldsByStatus, applies only the updates that are allowed for the current status via the updateExperimentFields semantic patch, and returns any rejected fields under `skipped` with the reason. If no provided field is mutable, the response includes `currentStatus` and `allowedFields` so you can retry with valid inputs.
Inputs
environmentKeystringrequired- Environment Key for this operation.
experimentKeystringrequired- Experiment Key for this operation.
projectKeystringrequired- Project Key for this operation.
analysisConfigobject- Analysis Config for this operation.
attributesarray- Attributes for this operation.
canReshuffleTrafficboolean- Can Reshuffle Traffic for this operation.
covariateIdstring- Covariate Id for this operation.
dataSourcestring- Data Source for this operation.one of
launchdarklysnowflakedatabricks descriptionstring- Description for this operation.
flagsobject- Flags for this operation.
flagSettingsobject- Flag Settings for this operation.
holdoutIdstring- Holdout Id for this operation.
hypothesisstring- Hypothesis for this operation.
maintainerIdstring- Maintainer Id for this operation.
methodologystring- Methodology for this operation.one of
bayesianfrequentistexport_only metricsarray- Metrics for this operation.
namestring- Name for this operation.
primaryFunnelKeystring- Primary Funnel Key for this operation.
primarySingleMetricKeystring- Primary Single Metric Key for this operation.
randomizationUnitstring- Randomization Unit for this operation.
tagsarray- Tags for this operation.
treatmentsarray- Treatments for this operation.
No tools match.