How to connect LaunchDarkly MCP to Claude

Connect Claude Web, Desktop and Cowork to LaunchDarkly MCP. Review production feature flag targeting rules, summarize recent launchdarkly release experiments, and more using natural language, with authentication handled for you.

LaunchDarkly MCP logoLaunchDarkly MCP
Dcr Oauth

LaunchDarkly is a feature management platform for controlling releases, experiments, and observability. It helps teams safely roll out changes and monitor their impact.

169 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your LaunchDarkly account to Claude via Composio Connect, enabling it to review production feature flag targeting rules, summarize recent LaunchDarkly release experiments, find errors linked to latest releases, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate LaunchDarkly MCP with

Connecting LaunchDarkly to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your LaunchDarkly account

Back in Claude, ask it to connect to LaunchDarkly or give it any LaunchDarkly-related task.

For example, ask Claude to:

  • "Review production feature flag targeting rules"
  • "Summarize recent LaunchDarkly release experiments"
  • "Find errors linked to latest releases"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your LaunchDarkly account is ready to use.

What is the LaunchDarkly Claude Connector, and what's possible with it?

The LaunchDarkly MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your LaunchDarkly account. It provides structured and secure access to feature flags, segments, experiments, releases, AI configurations, and observability workflows, so your agent can create and configure flags, manage progressive releases, set up experiments, build AI resources, and organize observability data on your behalf.

  • Feature flag and segment management: Have your agent create feature flags and segments, copy flag configurations between environments, archive flags, and restore archived flags.
  • Progressive releases: Direct your agent to create reusable release plans, define environment release plans, and start flag releases across selected environments.
  • Experimentation and evaluation: Let the agent create draft experiments for flags or agent configurations, create AI evaluation definitions, and build offline evaluation datasets from promoted traces.
  • AI configuration and tooling: Instruct your agent to create agent configurations, graphs, skills, custom AI model configurations, AI tool definitions, prompt snippets, and LLM playgrounds.
  • Observability and insights: Have your agent create alerts, dashboards, charts, metrics, and data sources, then add annotations to traces for review and analysis.

Troubleshooting

1. Why does Claude not use the Composio connector for LaunchDarkly?

The connector can show as connected, but Claude must use it in each LaunchDarkly conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to LaunchDarkly again.

2. Why does Claude show an MCP server error before LaunchDarkly connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for LaunchDarkly.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect LaunchDarkly.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the LaunchDarkly authorization link not work?

The Composio connector is one server. Your LaunchDarkly account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the LaunchDarkly connection.
  • Composio creates a fresh LaunchDarkly authorization link.
  • Open that link in your browser and finish the LaunchDarkly sign-in.

4. Why do LaunchDarkly actions fail after they worked before?

The LaunchDarkly connection can expire or lose permission.

  • Ask Claude to inspect the LaunchDarkly connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the LaunchDarkly account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in LaunchDarkly.
  • If the action still fails with a permission error, check that the connected account has that permission in LaunchDarkly itself.

5. How do I switch to a different LaunchDarkly account?

Claude can manage the LaunchDarkly connection for you.

  • Ask Claude to disconnect or delete the current LaunchDarkly account.
  • Ask Claude to connect LaunchDarkly again.
  • Open the new Composio authorization link for LaunchDarkly.
  • Sign in with the other LaunchDarkly account in the browser.
  • After the account connects, ask Claude to retry the LaunchDarkly task.

6. Why is my LaunchDarkly connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your LaunchDarkly connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If LaunchDarkly tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect LaunchDarkly.
TOOLS

Supported Tools

Every LaunchDarkly MCP action and event your agent gets out of the box.

Apply agent config approval

Apply an already-approved AgentControl Config approval request.

Apply approval request

Apply an already-approved flag or segment approval request without approving it.

Archive automated rollout config

Archive an automated rollout config so the scheduler stops processing it.

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.

Create agent config

Create an AgentControl Config or one of its variations.

Create agent config approval

Create an approval request for an AgentControl Config change without approving it.

Create agent graph

Create an AgentControl graph for a multi-agent workflow.

Create agent skill

Create an AgentControl agent skill from SKILL.md markdown.

Create ai model config

Create a custom AI model config for a model that is not in the global catalog.

Create ai tool

Create an AI tool definition using raw JSON Schema.

Create alert

Create an observability alert that fires when an aggregated metric crosses a threshold.

Create approval request

Create an approval request for a flag or segment change without approving it.

Create assignment data source

Create a custom assignment data source from a warehouse table, view, or SQL query.

Create automated rollout config

Record an automated rollout config for a feature-flagged change.

Create dashboard

Create a new empty dashboard (visualization) for organizing charts.

Create dataset

Create and upload an offline evaluation dataset with a stable key.

Create environment

Create an environment in a LaunchDarkly project.

Create environment release plan

Create a reusable progressive-release plan in the specified project and environment.

Create evaluation

Create an AI evaluation definition snapshot.

Create experiment

Create a draft experiment on a flag or AgentControl Config.

Create flag

Create a new feature flag in a project.

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").

Create flag release plan

Create a flag release plan, a reusable project-wide template for releasing flags across environments.

Create graph

Add a chart to an existing dashboard.

Create metric

Create a custom, pageview, click, or trace metric.

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.

Create playground

Create a new LLM playground.

Create project

Create a new LaunchDarkly project.

Create prompt snippet

Create a reusable prompt snippet.

Create segment

Create a new segment in a project environment.

Create trace annotation

Save a review (annotation) on one span of a trace that has none: correctness, explanation, or expectedOutputOverride; give at least one.

Create trace promotion

Add one span of a trace, or the whole trace, to an offline evaluation dataset as a new row.

Create view

Create a new view in a project.

Delete agent config

Permanently delete an AgentControl Config (resource=config) or one of its variations (resource=variation, with variationKey).

Delete agent graph

Permanently delete an AgentControl graph.

Delete agent skill

Permanently delete an AgentControl agent skill and all of its versions.

Delete ai model config

Permanently delete a custom AI model config.

Delete ai tool

Permanently delete an AI tool definition.

Delete alert

Permanently delete an observability alert.

Delete dashboard

Permanently delete a dashboard (visualization) and all of its graphs.

Delete dataset

Permanently delete an offline dataset and its associated metadata.

Delete environment release plan

Permanently delete an environment release plan.

Delete flag

Permanently delete a feature flag from the whole project.

Delete flag release plan

Permanently delete a flag release plan.

Delete graph

Permanently delete one graph from a dashboard and keep the dashboard and its other graphs.

Delete metric

Permanently delete a metric.

Delete prompt snippet

Permanently delete a prompt snippet.

Delete segment

Permanently delete a segment from one environment.

Delete view

Delete a view by key.

Find o11y project

Find the LaunchDarkly project that holds a service's observability data (logs, traces, metrics, errors).

Get agent config approvals

List approval requests for an AgentControl Config.

Get agent configs

Without configKey: search and browse AgentControl Configs (query, tags, view, modes, maintainerId, maintainerTeamKey, sort, limit, offset; filters combine with AND).

Get agent graphs

Without graphKey: list AgentControl graphs in a project (limit, offset).

Get agent skills

AgentControl agent skills: versioned SKILL.md documents that AgentControl Config variations attach by {key, version}.

Get ai model configs

Get the AI model configs that AgentControl Config variations can select: global catalog models (global=true) and the project's custom models.

Get ai tools

Without toolKey: list AI tool definitions in a project (limit, offset).

Get alert firing history

Show when an alert actually fired, what it evaluated, and what state it is in now.

Get alerts

Without alertId: list existing alerts as compact rows with each enabled alert's current state, 50 at a time; page with offset, and set fullConfig for investigation settings and destination IDs; check this before creating a new alert.

Get approval requests

List approval requests, including applied (completed), scheduled, and failed requests.

Get assignment data sources

Custom assignment data sources: project-scoped warehouse tables recording which treatment each context received, for experiments assigned outside LaunchDarkly.

Get automated rollout config

Fetch a single automated rollout config by id to verify its state.

Get changes

Show what changed around a failure: one time-ordered timeline for a service and window that merges build version changes seen in traces, logs and errors, LaunchDarkly flag changes from the audit log, and the service's alert firings and config edits.

Get context attributes

Discover context attribute names and values recently seen in one environment, to build a search-contexts filter or a targeting clause from real data instead of guessed names.

Get context instances

Get all stored instances of a specific context by kind and key.

Get context kinds

List the context kinds defined in a project (for example user, organization, device), with key, name, description, archived, hideInTargeting, createdFrom, and lastSeen.

Get dashboards

Without dashboardId: list existing dashboards, with next_offset when more remain; set includeGraphs for each dashboard's graph stubs.

Get datasets

Without datasetId: list offline datasets in a project (id, name, status, row count, creation info), paged by page and pageSize.

Get doc

Fetch the full markdown content of a LaunchDarkly documentation page.

Get environment

Get a LaunchDarkly environment's client-side ID, mobile key, and approval settings.

Get environment release plans

Get environment release plans, reusable progressive-release recipes.

Get error group

Get one error group by secure_id with its state, stack and one occurrence (the latest unless errorObjectId or startDate picks another), with its trace_id, session, and next_id and previous_id.

Get evaluation run summary

Get the summary results of a completed evaluation run, including pass/fail counts and aggregate scores.

Get evaluations

Without evaluationId: list AI evaluation definition snapshots in a project (search by name, state active or archived, sortBy updatedAt or lastRun, limit, offset).

Get experiment metric results

Get detailed statistical results for one metric on an experiment iteration.

Get experiment results

Get an overall results summary across every metric on an experiment iteration.

Get experiments

Without experimentKey: list experiments in a project, optionally filtered by environmentKey, flagKey, or status; each entry has key, name, description, and current iteration status.

Get flag code references

Get per-repository code-reference counts for one flag.

Get flag extinctions

Get commits that removed the last code reference to one flag in scanned repositories.

Get flag health

Get a combined flag health view with lifecycle status, last request time, targeting summary, age, and temporary state.

Get flag release plans

Get flag release plans, reusable templates that say how a flag is released across a project's environments.

Get flags

Without flagKey: search and browse feature flags; returns a paginated summary per flag (key, name, kind, tags, temporary, archived, deprecated, maintainer, and whether targeting is on) in one environment.

Get flag scheduled changes

List the scheduled changes on one flag in one environment: targeting changes LaunchDarkly will apply automatically at a future executionDate, such as turning the flag on or off, changing the default rule, or editing rules and targets.

Get flag status across envs

Check whether a flag is still evaluated, and where: its lifecycle status (new, active, inactive or launched) and when it was last evaluated.

Get flag unique context exposures

Get distinct context counts for a flag and environment, broken down by context kind.

Get holdouts

Holdouts keep a percentage of traffic out of a group of experiments to measure their combined impact.

Get incidents

Read incidents from the incident.io workspace connected to this project, to learn whether one already exists for a problem and what responders found.

Get keys

List observability keys (name, type, count in the window, highest first) for a product type, to pick groupBy, filter and column keys.

Get layers

List a project's experiment layers.

Get member self

Return the authenticated member's profile and team memberships.

Get metric data sources

Warehouse-native metric data sources: each maps a SQL query, table, or view in a connected warehouse to metric events.

Get metric events

Metric event keys LaunchDarkly has observed.

Get metrics

LaunchDarkly metrics used by experiments and guarded rollouts; for observability metric names in a time window, use get-keys with productType metrics.

Get playgrounds

Without playgroundId: list LLM playgrounds in a project (names, variant counts, timestamps); search by name, filter by status, paged by limit and offset.

Get projects

Without projectKey: list LaunchDarkly projects in the account; use to discover project keys before calling project-scoped toolruntime.

Get prompt snippets

Without snippetKey: list reusable prompt snippets in a project (filter, limit, offset).

Get removal readiness

Detailed safety check before removing a feature flag in one environment; env is required, so ask which environment when the user hasn't named one.

Get resource views

List the views a flag, segment, or AgentControl Config is linked to, answering which views contain a given resource.

Get rollout completeness

Check whether a feature flag is fully rolled out: every traffic-bearing environment serves one variation to all contexts, and a stability gate is met.

Get sdk active

Check whether any SDKs have been active in a given environment.

Get sdk key

Return the server-side SDK key (sdk-...) for one environment.

Get segments

Without segmentKey: list segments in one environment with rule counts and target counts, paged; query searches name or key, tags filters, view restricts to segments linked to a view.

Get service connections usage

Get a time series of service connection minutes from your LaunchDarkly account.

Get session details

Get one session's details in one call: the session row, its frontend errors, a network resource summary, web vitals, rage clicks, and active and idle intervals; choose sections with include.

Get session event chunks

List the rrweb replay event chunks of one session, each with chunk_index and its start timestamp in epoch milliseconds.

Get skills

List the LaunchDarkly guides bundled with this server.

Get teams

Without teamKey: search account teams by name or key (query, limit, offset); each has key, name, description, memberCount, and idpSynced.

Get trace

Get one trace by ID as a span tree with each span's service, duration, self_ms (time not spent in children) and status, plus completeness and error groups.

Get trace annotations

Get the review (annotation) on one span of a trace: correctness, explanation, and expectedOutputOverride (the output the span should have produced).

Get trace promotions

Get a create-trace-promotion job: queued, processing, completed (with the row), or failed (with an error code and message).

Get vega conversations

Read Vega AI conversations in a project: chats from the Vega page, the Ask Vega bar and in-product assistants, and agent runs such as alert auto-investigations, flag cleanups and Factory PR analyses.

Get views

Views are an Enterprise feature.

Invite members

Invite account members by preparing a link to the Members page with their email addresses pre-filled.

Link view resources

Link flags, segments, or AgentControl Configs to a view.

List view resources

List the resources of one type linked to a view.

Load skill

Read a bundled LaunchDarkly guide by skill key, or a supporting file by skill key and reference path.

Preview graph

Preview a chart inline without saving it.

Query funnel

Count how many sessions (or other groups) reach each step of an ordered funnel, where each step is a logs, traces, or product-analytics events search query, e.g.

Run evaluation

Start an AI evaluation run.

Save and start experiment iteration

Stop the running iteration, create a new draft with supplied field updates, and start it.

Search aggregations

Compute time-bucketed aggregates (counts, sums, averages, percentiles) for a product type; prefer it to raw queries for trends, group comparisons, or windows over 24 hours; for services ranked by error rate, request count or p95, or one service's health by endpoint, use search-service-map with include health.

Search change history

Query the audit log to find what changed in a LaunchDarkly account.

Search contexts

Search for stored LaunchDarkly contexts in an environment by kind, key, or attribute value.

Search docs

Search LaunchDarkly documentation to retrieve authoritative reference material for flags, targeting rules, experiments, segments, AgentControl configs, SDKs, API fields, rollouts, metrics, and more.

Search error groups

Query error groups whose occurrences match a filter in a time window.

Search flag evaluations

Query flag evaluations the observability plugin records on spans.

Search log patterns

Cluster the logs matching a filter into message templates, with ids, numbers and other variable parts masked, each with its count and the newest example.

Search logs

Query raw log entries (timestamp, level, message, service, attributes) in a time window.

Search members

Search account members by name or exact emails.

Search service map

Services from trace data in a window.

Search sessions

Query sessions in a time window; set detailed for replay, privacy, and billing fields.

Search stale flags

Find cleanup candidates, prioritized as never requested, inactive beyond the threshold, or launched without recent changes.

Search timeline events

Query timeline indicator events for one session (clicks, navigations, track and identify calls, focus and tab changes) in time order.

Search traces

Query raw spans in a window of up to 24 hours; use search-aggregations for longer windows.

Start experiment iteration

Start an experiment iteration and allocate live end-user traffic.

Start guarded rollout

Before calling this tool, call load-skill for the `feature-flags/launchdarkly-guarded-rollout` guide without asking the user, since loading is read-only; it covers stage design and metric choice, which this tool does not validate.

Stop experiment iteration

Stop the currently running experiment iteration with a required winning treatment.

Stop guarded rollout

Stop an active guarded rollout.

Toggle alert

Enable or disable an observability alert without changing its configuration.

Toggle flag

Turn a feature flag's targeting on or off in a specific environment.

Unlink view resources

Unlink flags, segments, or AgentControl Configs from a view.

Update agent config

Update an AgentControl Config.

Update agent graph

Update AgentControl graph metadata or replace its structure.

Update agent skill

Update an AgentControl agent skill.

Update ai model config

Update an AI model config.

Update ai tool

Update an AI tool definition's description or schema.

Update alert

Update an observability alert.

Update assignment data source

Replace fields on a custom assignment data source, or archive it with archived: true.

Update automated rollout config

Modify an automated rollout config that has not started releasing.

Update dashboard

Change an existing dashboard, or with graphId one of its graphs.

Update default environment release plan

Set or clear an environment release plan as the environment's default, the plan suggested first when starting a release.

Update environment release plan

Update an environment release plan's name, description, or progressive-release configuration.

Update error group state

Triage an error group: set its state to OPEN, RESOLVED, or IGNORED, and optionally snooze it until a time.

Update experiment

Update fields on an experiment or its current iteration.

Update expiring targets

List, add, update, or remove expiring targets on a flag.

Update flag

Update a flag's top-level settings and variations without changing environment targeting.

Update flag release plan

Update a flag release plan's name, description, maintainer, executionMode, applicationKeys, default, or environments.

Update flag targeting

Add, remove, or replace users or contexts in individual flag targeting, and add or remove flag prerequisites, in one environment.

Update metric

Change an existing metric.

Update off variation

Set the variation a flag serves when its targeting is off in each environment in envs, or every environment with ["*"].

Update playground

Update an LLM playground's name, variants, or archived status.

Update project

Rename a LaunchDarkly project or change its tags.

Update prompt snippet

Update a prompt snippet and create a new version.

Update rollout

Change a flag's default rule to a percentage rollout or a single variation in one environment.

Update segment rules

Add, remove, or modify attribute-based targeting rules on a segment.

Update segment targets

Add or remove individual context keys from a segment's included or excluded lists.

Update targeting rules

Before adding or changing a rule's clauses or rollout, load the `feature-flags/launchdarkly-flag-targeting` guide with load-skill; it covers whether the flag's evaluation context can match the rule, which this tool does not check.

Update trace annotation

Change the review (annotation) on one span of a trace.

Update view

Update a view's name, description, maintainer, or tags.

FRAMEWORKS

How to build LaunchDarkly MCP Agent with another framework

FAQ

Frequently asked questions

Start with LaunchDarkly MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every LaunchDarkly MCP tool your agent needs.Free to start.

Start building