New advertisers: 50% off your first month with code FIRSTMONTHSee slots
launchdarkly avatar

Launchdarkly Flag Targeting

Controls LaunchDarkly flag targeting, rollouts, and environment promotion through the hosted MCP server with safety checks.

skills.sh installs
2.5K
GitHub stars
32
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers toggling flags on or off, percentage rollouts, custom targeting rules, individual targets, and copying configuration between environments
  • Includes get-flags, toggle-flag, update-rollout, update-targeting-rules, and update-flag-targeting, plus optional approval and copy tools
  • Enforces a pre-change safety checklist and routes approval-required environments through approval requests rather than bypassing them
  • Designed for teams changing who sees a feature flag, where rule evaluation order and context availability determine whether a change takes effect

Install

$ npx -y skills add launchdarkly/ai-tooling --skill launchdarkly-flag-targeting -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

LaunchDarkly Flag Targeting & Rollout

You're using a skill that will guide you through changing who sees what for a feature flag. Your job is to understand the current state of the flag, figure out the right targeting approach for what the user wants, make the changes safely, and verify the resulting state.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • get-flags: understand current state before making changes
  • toggle-flag: turn targeting on or off for a flag in an environment
  • update-rollout: change the default rule (fallthrough) variation or percentage rollout
  • update-targeting-rules: add, remove, or modify custom targeting rules
  • update-flag-targeting: add or remove specific users/contexts from individual targeting

Optional MCP tools:

  • copy-flag-config: copy targeting configuration from one environment to another
  • create-approval-request: create an approval request when direct changes are blocked
  • get-approval-requests: check on pending approval requests for a flag
  • apply-approval-request: apply an already-approved approval request

Details

Repository
github.com/launchdarkly/ai-tooling
Categories
DevOps & Cloud, Code Review & Quality
First seen
May 16, 2026

More from launchdarkly/ai-tooling

All 40

Similar to Launchdarkly Flag Targeting

More DevOps & Cloud