Developer Tools

LaunchDarkly 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

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Update automated rollout config

    Modify an automated rollout config that has not started releasing. Pass only what changes: environments, repoFullName, prNumber, or prUrl; omitted fields stay as they are. environments REPLACES the whole ordered plan, so an environment you omit is removed: read the config with get-automated-rollout-config, edit that list, and send it back complete. An environment sent without triggerType keeps its stored trigger_type, including manual and promotion; a newly added one starts on flag_eval. Each environment takes the shape create-automated-rollout-config accepts: releaseType is override (default) or policy, never immediate, so an immediate release passes only environmentKey. The config must be active with an unmerged PR, and an environment is editable only while its status is "pending" and release_lifecycle_status is "not_started". Otherwise LaunchDarkly returns a conflict, which is terminal: do not retry. Returns updated and the config as stored.

  • Update dashboard

    Change an existing dashboard, or with graphId one of its graphs. Only the fields you send change; the rest is kept. Without graphId send name, description, timePreset, graphIds, variables, tags, maintainerId, or maintainerTeamKey. With graphId send graph fields (title, description, query, expressions, groupBy, funnelSteps, ...); the graph must be on dashboardId. Get IDs from get-dashboards. Use create-graph to add a graph. For one point per period at any time range (a Daily or per-hour graph), set bucketInterval in seconds: 3600 hourly, 86400 daily, 604800 weekly; bucketCount instead fixes the number of points. Sending bucketCount clears a stored bucketInterval.

  • 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. Beta API. default: true makes this plan the default and replaces any current default; the response names it as previousDefaultKey. The plan's configuration must be complete. default: false clears the environment's default only when this plan currently is it; the plan itself is kept. Returns changed and the plan as read back after the change; changed is false when the plan was already in the requested state.

  • Update environment release plan

    Update an environment release plan's name, description, or progressive-release configuration. Beta API. Send only the fields to change; omitted fields keep their current values, including inside progressiveRelease, so a single field such as advancementMode or cleanupBehavior can be changed on its own without reading the plan first. progressiveRelease.phases and progressiveRelease.metrics are each replaced wholesale when provided, so include every phase or metric to keep. Editing a plan changes what releases started from it will do. progressiveRelease follows the same rules as in create-environment-release-plan. To change the environment's default plan, use update-default-environment-release-plan. The response lists the fields whose values changed and the plan as read back after the update.

  • Update error group state

    Triage an error group: set its state to OPEN, RESOLVED, or IGNORED, and optionally snooze it until a time. Changes whether Errors alerts fire for the group. Requires confirm=true. Check the group with get-error-group first. Returns the state and snoozed_until read back after the change.

  • Update experiment

    Update fields on an experiment or its current iteration. Only fields mutable in the current status are applied; rejected fields are returned under skipped. Timestamps in the result are UTC.

  • Update expiring targets

    List, add, update, or remove expiring targets on a flag. Expiring targets are automatically removed from targeting after a specified date. Timestamps in the result are UTC.

  • Update flag

    Update a flag's top-level settings and variations without changing environment targeting. It takes no environment: names, descriptions, tags, maintainers, custom properties, and variations are project-wide, so never ask for one. Pass any combination of name, description, tags {add, remove}, maintainer {memberId or teamKey}, temporary (true or false), customProperties {add, replace, remove}, defaultVariations {on, off} as variation values, not indexes, addVariations, and updateVariations; at least one is required. Repeating an addVariation with the same value, name and description is a no-op; the same value with a different name or description is rejected (use updateVariations). variationJsonSchema replaces the flag's variation schema and cannot be combined with any other change; make two separate calls. Turning a flag on or off is environment-scoped: use toggle-flag. Requires confirm=true.

  • Update flag release plan

    Update a flag release plan's name, description, maintainer, executionMode, applicationKeys, default, or environments. Beta API. Send only the fields to change; omitted fields keep their current values, including default. environments and applicationKeys are each replaced wholesale when provided, so include every entry to keep. default: true makes this plan the project's default and demotes the current one; default: false unsets this plan as the default and keeps the plan, so the project has no default until another plan is set. To delete a plan, use delete-flag-release-plan. The update is checked against the version that was read, so a concurrent edit returns an error instead of being overwritten; retry to apply it to the current plan. Flag releases already started from the plan are not affected. environments follow the RULES of create-flag-release-plan. Returns the plan as read back after the update.

  • Update flag targeting

    Add, remove, or replace users or contexts in individual flag targeting, and add or remove flag prerequisites, in one environment. Accepts only the instruction kinds addTargets, removeTargets, replaceTargets, addPrerequisite and removePrerequisite; use update-targeting-rules for rules.

  • Update metric

    Change an existing metric. Send only the fields to change; each replaces the current value, so tags and analysisUnits must list every entry to keep, and denominator replaces the whole term. percentile sets analysisType percentile. JSON null clears a window offset, a winsor bound, traceQuery, traceValueLocation, unitAggregationField, filters, or the denominator. An analysis unit must be a context kind available for experiments in the project. Timestamps in the result are UTC.

  • Update off variation

    Set the variation a flag serves when its targeting is off in each environment in envs, or every environment with ["*"]. fallthroughVariationIndex also sets the default rule. Environments that already match are skipped; environments that require approval are reported with the instructions for create-approval-request while the rest apply.

  • Update playground

    Update an LLM playground's name, variants, or archived status. Supply only the fields to change. Requires confirm=true. Timestamps in the result are UTC.

  • Update project

    Rename a LaunchDarkly project or change its tags. Send only the fields to change; each one replaces the current value, so tags must list every tag the project should keep. To add a tag, read the current tags with get-projects first. The project key cannot change. Requires confirm=true.

  • Update prompt snippet

    Update a prompt snippet and create a new version. Requires confirm=true. Timestamps in the result are UTC.

  • 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. Clauses within a rule are ANDed; multiple rules use OR logic. Approval-required changes return instructions for create-approval-request.

  • Update segment targets

    Add or remove individual context keys from a segment's included or excluded lists. Included targets always match; excluded targets never match. The response lists user keys in included and excluded and other context kinds in includedContexts and excludedContexts. Approval-required changes return instructions for create-approval-request.

  • 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. Removing or reordering rules needs no guide. Add, remove, or modify custom targeting rules for a flag in one environment. Accepts only the instruction kinds addRule, removeRule, updateRuleVariationOrRollout, addClauses, removeClauses, addValuesToClause, removeValuesFromClause, updateClause and reorderRules; for addTargets, removeTargets or replaceTargets use update-flag-targeting. To add or remove values on an existing clause (for example "add X to the rule"), call get-flags with flagKey and take the rule `_id` and clause `_id`, then use addValuesToClause or removeValuesFromClause with ruleId, clauseId and values. Do not removeClauses and addClauses to change a clause's values: that replaces the whole clause and produces an unreviewable diff. Use updateClause with ruleId, clauseId and a full clause only to change the attribute, operator, context kind or negation.

  • Update trace annotation

    Change the review (annotation) on one span of a trace. Requires confirm=true. Only the fields you pass change; null clears one. Setting correctness to correct doesn't clear expectedOutputOverride, which still becomes the row's expected output; clear it too unless the user wants it kept. No review fails with "Annotation not found". Rows already in a dataset keep their old review.

PreviousPage 2 / 3Next