Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get metric data sources
LAUNCH_DARKLY_MCP_GET_METRIC_DATA_SOURCESWarehouse-native metric data sources: each maps a SQL query, table, or view in a connected warehouse to metric events. Without dataSourceKey: list a project's data sources (environmentKey, integrationKey, archived, includeMetrics). With dataSourceKey: get one data source. With warehouseConnections true: list the warehouse connections bound to the project instead, with the environment each serves. includeMetrics adds the metrics built on each data source.
Get metric events
LAUNCH_DARKLY_MCP_GET_METRIC_EVENTSMetric event keys LaunchDarkly has observed. Without eventKey: list recently observed event keys (query, environmentKey, dataSourceKey, limit up to 50). hasMore true means more keys may exist; narrow the query, since there is no offset. With dataSourceKey and eventKey: check whether that warehouse data source has produced the event. ready false means it has not been seen yet; contextKinds are the analysis units a metric on the event can use.
Get metrics
LAUNCH_DARKLY_MCP_GET_METRICSLaunchDarkly metrics used by experiments and guarded rollouts; for observability metric names in a time window, use get-keys with productType metrics. Without metricKey: list metrics in a project (query, tags, eventKind, isNumeric, hasConnections, maintainerIds, maintainerTeamKey, metricUsedIn, dataSourceKeys, versionIds, sort, limit, offset). With metricKey: get full details for one metric. To find which metric a metric version ID belongs to (experiments reference metrics by version), list with versionIds. Timestamps in the result are UTC.
Get playgrounds
LAUNCH_DARKLY_MCP_GET_PLAYGROUNDSWithout playgroundId: list LLM playgrounds in a project (names, variant counts, timestamps); search by name, filter by status, paged by limit and offset. With playgroundId: get one playground including its variants (evaluation definitions and their positions). Timestamps in the result are UTC.
Get projects
LAUNCH_DARKLY_MCP_GET_PROJECTSWithout projectKey: list LaunchDarkly projects in the account; use to discover project keys before calling project-scoped toolruntime. To find the project that holds a service's logs, traces or errors, use find-o11y-project instead of matching project names. query searches name or key (case-insensitive), tags filters (all must match), sort is name or -name. If the user named no project, search once with query and ask the user when no single project clearly matches; do not page. With projectKey: get one project and one page of its environments (the first 20 unless limit and offset are set). environmentTotalCount is the full count; when hasMore is true, pass nextOffset as offset to get the rest, including environments past the first page. Use it to retrieve environments or verify a project exists; each environment says whether it is critical. Set fullSettings to true (projectKey only) to also return every project-level setting under a settings object, such as defaultClientSideAvailability, snippet and view-association requirements, the full naming convention, and lifecycle settings (settings.lifecycle: requireReadyToArchive and the checks and day thresholds that decide whether archive-flag is allowed). Automatic archival and automated cleanup settings are not here; use get-automations with section archival or cleanup. Neither mode returns server-side SDK keys; use get-sdk-key.
Get prompt snippets
LAUNCH_DARKLY_MCP_GET_PROMPT_SNIPPETSWithout snippetKey: list reusable prompt snippets in a project (filter, limit, offset). With snippetKey: get one snippet. Timestamps in the result are UTC.
Get removal readiness
LAUNCH_DARKLY_MCP_GET_REMOVAL_READINESSDetailed safety check before removing a feature flag in one environment; env is required, so ask which environment when the user hasn't named one. Checks dependencies, code references, active targeting, expiring targets, an active flag release, and the flag's status in that environment, including whether it was ever evaluated. Returns a readiness verdict: 'safe' (proceed), 'caution' (review warnings; a flag that was never evaluated is caution, not blocked, so it can be removed when the requester confirms it is ready), or 'blocked' (must resolve blockers first, for example let an active flag release complete or archive it). Always run this before archive-flag or delete-flag. Pass the environment key. A display name, a key in the wrong case, or a short or long form such as prod for production is accepted when it matches exactly one environment, and the result then reports the resolved environmentKey; an unknown environment returns an error listing the project's environment keys. Timestamps in the result are UTC.
Get resource views
LAUNCH_DARKLY_MCP_GET_RESOURCE_VIEWSList the views a flag, segment, or AgentControl Config is linked to, answering which views contain a given resource. Views are an Enterprise feature. Flags and AgentControl Configs are identified by key; segments additionally require `environmentId` because segments are environment-scoped. Timestamps in the result are UTC.
Get rollout completeness
LAUNCH_DARKLY_MCP_GET_ROLLOUT_COMPLETENESSCheck whether a feature flag is fully rolled out: every traffic-bearing environment serves one variation to all contexts, and a stability gate is met. A flag at 100% never looks inactive, so use this to find flags whose code path is dead and ready for cleanup. Serving is deterministic when targeting is off (off variation) or on with no rules, individual targets, prerequisites, or percentage rollout (fallthrough variation). Traffic-bearing environments have a status other than new and a lastRequested time. The stability gate passes when any environment is launched or the flag is at least stabilityDays old (default 14). Returns isFullyRolledOut, consensusVariation, per-environment results, and blockers. When the flag does not exist (already deleted or never created), it returns {exists: false} instead of an error: for cleanup, that means nothing remains to remove. Timestamps in the result are UTC.
Get sdk active
LAUNCH_DARKLY_MCP_GET_SDK_ACTIVECheck 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, or purpose="ai" to check for AI SDKs.
Get sdk key
LAUNCH_DARKLY_MCP_GET_SDK_KEYReturn the server-side SDK key (sdk-...) for one environment. This is the only tool that returns that credential. Do not use get-environment, get-projects, get-keys, or get-sdk-active.
Get segments
LAUNCH_DARKLY_MCP_GET_SEGMENTSWithout 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. Always list first to avoid creating duplicates. With segmentKey: get one segment's rules, included and excluded user keys, includedContexts and excludedContexts for other context kinds, tags, and creation date. Timestamps in the result are UTC.
Get service connections usage
LAUNCH_DARKLY_MCP_GET_SERVICE_CONNECTIONS_USAGEGet 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). TIME RANGE: Pass `from` and `to` as Unix millisecond timestamp strings. Both default to the current month. Maximum range is 365 days. AGGREGATION TYPES: - 'month_to_date' (default): cumulative minutes from the start of the month to each data point - 'incremental': delta minutes for each granularity period — use this for deploy comparisons GRANULARITY: - 'daily' (default): one data point per day - 'hourly': one data point per hour (useful for same-day deploy impact) - 'monthly': one data point per month (only with aggregationType='month_to_date') FILTERING: Pass `projectKey`, `environmentKey`, `connectionType`, `sdkName`, `sdkVersion`, or `sdkType` arrays to narrow results. When filtering by `environmentKey`, exactly one `projectKey` must also be provided. A connection kind the user names, such as streaming or polling, goes in `connectionType`, e.g. `["streaming"]`. GROUPING: Pass `groupBy` array to split results by dimension. Valid values: projectId, environmentId, connectionType, relayVersion, sdkName, sdkVersion, sdkType. EXAMPLE — compare May 21 vs Jun 29 deploys: aggregationType='incremental', granularity='daily', from='<ms for May 1>', to='<ms for Jul 1>', environmentKey=['production']
Get session details
LAUNCH_DARKLY_MCP_GET_SESSION_DETAILSGet 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. _pivots gives ready-made arguments for the logs, traces, errors, flag evaluations and timeline of the session's window. Each rage-click burst also has a search-timeline-events pivot for inspecting the recorded click targets in that session and time range. When you reference the session, wrap its ID in <session-id></session-id> so the UI can link it.
Get session event chunks
LAUNCH_DARKLY_MCP_GET_SESSION_EVENT_CHUNKSList the rrweb replay event chunks of one session, each with chunk_index and its start timestamp in epoch milliseconds. Pass index, or a timestamp to pick the chunk covering that moment, to get a signed download URL for one chunk instead; set at most one. Unchunked sessions list nothing; check chunked from search-sessions. Prefer search-timeline-events for an overview and fetch raw chunks only for DOM or interaction detail.
Get skills
LAUNCH_DARKLY_MCP_GET_SKILLSList the LaunchDarkly guides bundled with this server. An optional text query returns ranked matches; without a query, the result lists all guides. Each entry includes its skill key, description, and reference paths.
Get teams
LAUNCH_DARKLY_MCP_GET_TEAMSWithout teamKey: search account teams by name or key (query, limit, offset); each has key, name, description, memberCount, and idpSynced. When hasMore is true, pass nextOffset as offset. With teamKey: one team with its maintainers, custom roles, and the projects its members can write to. Resolves a team the user names to the maintainerTeamKey that get-flags, get-agent-configs, and create-flag take. For the caller's own teams, use get-member-self. Teams are account-level: takes no projectKey or env, even when asked about a team's projects. Timestamps in the result are UTC.
Get trace
LAUNCH_DARKLY_MCP_GET_TRACEGet 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. For latency read top_self_time (5 spans with the most own time) and critical_path (spans the root waited on, with critical_ms); both cover hidden spans. Client spans name their peer; unlinked_calls lists calls whose callee has no spans in this project. Attributes appear only for expandSpanId. For large traces set onlyServiceEntrySpans; maxTokens also caps the spans shown. Pass a known span time as timestamp, not startDate.
Get trace annotations
LAUNCH_DARKLY_MCP_GET_TRACE_ANNOTATIONSGet the review (annotation) on one span of a trace: correctness, explanation, and expectedOutputOverride (the output the span should have produced). traceId, spanId, and timestamps come from search-traces and get-trace (observability toolset). toolCallsOverride and variablesOverride also go into a promoted row but can only be changed in LaunchDarkly. No review fails with "Annotation not found". Text over 2,000 characters is cut and flagged with a *Truncated field. Timestamps in the result are UTC.
Get trace promotions
LAUNCH_DARKLY_MCP_GET_TRACE_PROMOTIONSGet a create-trace-promotion job: queued, processing, completed (with the row), or failed (with an error code and message). While it is queued or processing, poll again every second or two. If the span is already in the dataset, nothing was added: ask the user, don't retry. Row text is cut to 2,000 characters.