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

  • Update 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. Requires confirm=true. Timestamps in the result are UTC.

PreviousPage 9 / 9