# LaunchDarkly MCP MCP

Vendor: LaunchDarkly MCP  
Category: other  
Auth: OAUTH2  
Composio slug: `launch_darkly_mcp`

LaunchDarkly MCP lets agents manage feature flags, segments, experiments, releases, AI configs and observability data (logs, traces, errors, sessions) through LaunchDarkly's hosted MCP server.

## Tools

- **Apply agent config approval** — Apply an already-approved AgentControl Config approval request. Call it only after the request's reviewStatus is approved; it never approves. If reviewStatus is declined or pending, do not apply: report it to the user. A result with schedul
- **Apply approval request** — Apply an already-approved flag or segment approval request without approving it. Call it only after the request's reviewStatus is approved; it never approves. If reviewStatus is declined or pending, do not apply: report it to the user. A re
- **Archive automated rollout config** — Archive an automated rollout config so the scheduler stops processing it. It is a soft delete: the config stays readable with get-automated-rollout-config, with status "archived". Returns archived, config_id, and project_key.
- **Archive flag** — Archive a feature flag after a removal-readiness check, or set restore:true to unarchive it.
- **Copy flag config** — Copy a flag's targeting configuration from one environment to another. This overwrites selected target-environment configuration.
- **Create agent config** — Create an AgentControl Config or one of its variations. resource is required. configKey always names the config and variationKey and variationName always name a variation. resource=config creates the config (configKey, name, mode); pass var
- **Create agent config approval** — Create an approval request for an AgentControl Config change without approving it. Each instruction is an AgentControl Config targeting semantic patch object with a kind: enableTargeting or disableTargeting turns targeting on or off, so ena
- **Create agent graph** — Create an AgentControl graph for a multi-agent workflow. Timestamps in the result are UTC.
- **Create agent skill** — Create an AgentControl agent skill from SKILL.md markdown. It starts at version 1. Set maintainerId or maintainerTeamKey, not both. Attach it with create-agent-config or update-agent-config resource=variation by passing skills: [{key, versi
- **Create ai model config** — Create a custom AI model config for a model that is not in the global catalog. Search get-ai-model-configs first, and use a global model if one exists. key uses letters, numbers, ., _, and - (for example gpt-image-2-custom). id is the provi
- **Create ai tool** — Create an AI tool definition using raw JSON Schema. customParameters is application metadata that is not sent to the model.
- **Create alert** — Create an observability alert that fires when an aggregated metric crosses a threshold. Every functionType except Count needs functionColumn: duration for trace latency, value for metrics. Before creating one, check get-alerts for a similar
- **Create approval request** — Create an approval request for a flag or segment change without approving it. Pass flagKey for a flag or segmentKey for a segment, never both. Each instruction is a semantic patch object with a kind. Flag kinds include turnFlagOn, turnFlagO
- **Create assignment data source** — Create a custom assignment data source from a warehouse table, view, or SQL query. LaunchDarkly runs the source against the environment's warehouse integration and rejects it unless columnMappings.columns matches the columns the warehouse r
- **Create automated rollout config** — Record an automated rollout config for a feature-flagged change. Use it only for AutomatedRollout requests. The guarding flag must already exist. Pass repoFullName, prNumber, and prUrl for the PR the user names or you just filed; omit them 
- **Create dashboard** — Create a new empty dashboard (visualization) for organizing charts.

IMPORTANT: Before creating a new dashboard:
1. Use get-dashboards to check if a similar dashboard already exists
2. Use get-keys to discover available data dimensions for 
- **Create dataset** — Create and upload an offline evaluation dataset with a stable key. Provide JSONL rows or raw CSV/JSONL content. Timestamps in the result are UTC.
- **Create environment** — Create an environment in a LaunchDarkly project. name is the display name capitalized as the user wrote it (QA, not qa). Returns its key, name, client-side ID, mobile key, color, tags, and settings. Does not return the server-side SDK key; 
- **Create environment release plan** — Create a reusable progressive-release plan in the specified project and environment. Does not start a release on a flag. An active plan with the same key returns 409. Returns the created plan as read back. Beta API.

progressiveRelease: ran
- **Create evaluation** — Create an AI evaluation definition snapshot. Datasets are selected later when run-evaluation is called. Messages can reference {{snippet.<key>}}; give each referenced snippet's text inline in promptSnippets (key to text), which is stored in
- **Create experiment** — Create a draft experiment on a flag or AgentControl Config. It collects no data until an iteration is explicitly started; return the design for user review before starting. To keep it unstarted, simply do not call a start tool; send only sc
- **Create flag** — Create a new feature flag in a project. Defaults to a boolean temporary flag. After creation the flag is off in all environments. Multivariate flags require defaults. If the response has needsTeamMaintainer, the flag was not created: ask th
- **Create flag release** — Start a flag release: release a flag across environments by a flag release plan (kind "plan") or a list of environments (kind "custom"). In an interactive run, confirm the project, the flag, and the plan or each environment's release with t
- **Create flag release plan** — Create a flag release plan, a reusable project-wide template for releasing flags across environments. Does not start a release on a flag; use create-flag-release for that. Beta API. Requires key, name, and environments. A key already in use
- **Create graph** — Add a chart to an existing dashboard. Set type to "Line chart", "Bar chart", "Table", or "Heatmap"; a bar chart's display is Stacked or Grouped; productType is capitalized: Logs, Traces, Errors, Sessions, Metrics, or Events; Count takes col
- **Create metric** — Create a custom, pageview, click, or trace metric. To count each unit's distinct values of a warehouse column, set measureType distinct and name the column in unitAggregationField; valueColumn is only for measureType value. maintainerId set
- **Create metric data source** — Create a warehouse-native metric data source that maps a SQL query, table, or view in a connected warehouse to metric events. Give sqlQuery, or tableName or viewName with columns. With sqlQuery and no columns, the columns come from previewi
- **Create playground** — 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 zero-based display position: the 
- **Create project** — Create a new LaunchDarkly project. Returns the project with its environments, including each environment's client-side ID and mobile key. Does not return server-side SDK keys; use get-sdk-key. Project keys must be lowercase with hyphens, st
- **Create prompt snippet** — Create a reusable prompt snippet. Not for a snippet the user defines while creating an evaluation: create-evaluation takes it inline in promptSnippets. Timestamps in the result are UTC.
- **Create segment** — Create a new segment in a project environment. The segment is empty after creation; use update-segment-rules or update-segment-targets to configure it. Segment keys are immutable.
- **Create trace annotation** — Save a review (annotation) on one span of a trace that has none: correctness, explanation, or expectedOutputOverride; give at least one. Requires confirm=true. traceId, spanId, and timestamps come from search-traces and get-trace (observabi
- **Create trace promotion** — Add one span of a trace, or the whole trace, to an offline evaluation dataset as a new row. With spanId, the span's review is applied (expectedOutputOverride becomes the expected output); without it, none is. traceId, spanId, and timestamps
- **Create 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 c
- **Delete agent config** — Permanently delete an AgentControl Config (resource=config) or one of its variations (resource=variation, with variationKey). Requires confirm=true.
- **Delete agent graph** — Permanently delete an AgentControl graph. Requires confirm=true.
- **Delete agent skill** — Permanently delete an AgentControl agent skill and all of its versions. Requires confirm=true. LaunchDarkly refuses while any variation attaches the skill, including through an earlier version of the variation; detach it, or delete those va
- **Delete ai model config** — Permanently delete a custom AI model config. Requires confirm=true. modelConfigKey is the key, not the id. Global models cannot be deleted; restrict them with update-ai-model-config instead. If the API returns "model config is still in use"
- **Delete ai tool** — Permanently delete an AI tool definition. Requires confirm=true.
- **Delete alert** — Permanently delete an observability alert. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Use get-alerts first to verify you are deleting the right alert.

Takes alertId, the numeric ID of the alert. Returns deleted and alert_id.
- **Delete dashboard** — Permanently delete a dashboard (visualization) and all of its graphs. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Use get-dashboards first to verify you are deleting the right dashboard.

Takes dashboardId, the numeric ID from g
- **Delete dataset** — Permanently delete an offline dataset and its associated metadata. THIS IS IRREVERSIBLE. Requires confirm=true to execute.
- **Delete environment release plan** — Permanently delete an environment release plan. Beta API. Releases already started from it keep running, and its key can be reused afterward. Deleting the environment's default plan leaves the environment without a default. A plan that flag
- **Delete flag** — Permanently delete a feature flag from the whole project. This is irreversible and requires confirm=true. It takes no environment.
- **Delete flag release plan** — Permanently delete a flag release plan. Beta API. Flag releases already started from it keep running. Deleting the default plan leaves the project without a default. The key can be reused afterward.
- **Delete graph** — Permanently delete one graph from a dashboard and keep the dashboard and its other graphs. THIS IS IRREVERSIBLE. Requires confirm=true. The graph must be on dashboardId; get both IDs from get-dashboards. Returns deleted, graph_id, and dashb
- **Delete metric** — Permanently delete a metric. LaunchDarkly refuses while a flag, experiment, guarded rollout, metric group, or release policy uses it.
- **Delete prompt snippet** — Permanently delete a prompt snippet. Requires confirm=true.
- **Delete segment** — Permanently delete a segment from one environment. This is irreversible and requires confirm=true. Check that no flag targeting rules reference the segment first.
- **Delete view** — Delete a view by key. THIS IS IRREVERSIBLE. Requires confirm=true to execute. Views are an Enterprise feature. Deleting a view does not delete the linked resources, only the view and its links.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect LaunchDarkly MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention LaunchDarkly MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/launch-darkly-mcp