LaunchDarkly MCP connector
OAuth2.1/DCRDeveloper ToolsMonitoringAutomationConnect to LaunchDarkly's hosted MCP server to manage feature flags, experiments, and release controls directly from your AI workflows.
LaunchDarkly MCP connector
-
Install the SDK
Section titled “Install the SDK”Terminal window npm install @scalekit-sdk/nodeTerminal window pip install scalekit -
Set your credentials
Section titled “Set your credentials”Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret> -
Authorize and make your first call
Section titled “Authorize and make your first call”quickstart.ts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENV_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'launchdarklymcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize LaunchDarkly MCP:', link)process.stdout.write('Press Enter after authorizing...')await new Promise(r => process.stdin.once('data', r))// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'launchdarklymcp_find_members',toolInput: {},})console.log(result)quickstart.py import osfrom scalekit.client import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENV_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "launchdarklymcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize LaunchDarkly MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="launchdarklymcp_find_members",connection_name=connection_name,identifier=identifier,)print(result)
What you can do
Section titled “What you can do”Connect this agent connector to let your agent:
- Vent records — Report a missing capability, bug, parameter gap, or unclear error encountered while using LaunchDarkly MCP tools
- Updateexperiment records — Update an existing experiment’s configuration including name, description, metrics, treatments, and randomization unit
- Updateagentgraph records — Update an existing agent graph definition, modifying its nodes, edges, or metadata
- Update targeting rules, rollout, prompt snippet — Update the targeting rules for a feature flag in a specific environment
- Flag toggle, archive — Turn a feature flag on or off in a specific environment
- Stopguardedrollout records — Stop an active guarded rollout on a flag’s default rule
Tool list
Section titled “Tool list”Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.
launchdarklymcp_apply_approval_request#Apply an approved change request, executing the flag changes it contains.6 params
Apply an approved change request, executing the flag changes it contains.
environmentKeystringrequiredThe environment key where the approval request applies.featureFlagKeystringrequiredThe feature flag key associated with the approval request.idstringrequiredThe ID of the approval request to apply.projectKeystringrequiredThe project key where the approval request resides.commentstringoptionalOptional comment to include when applying the approval request.flagKeystringoptionalAlias for featureFlagKey.launchdarklymcp_archive_flag#Archive a feature flag, marking it as retired. Archived flags are hidden from the default list but can be restored.2 params
Archive a feature flag, marking it as retired. Archived flags are hidden from the default list but can be restored.
flagKeystringrequiredThe key of the feature flag to archive.projectKeystringrequiredThe project key where the flag resides.launchdarklymcp_check_removal_readiness#Check whether a feature flag is ready to be permanently removed from code. Analyzes SDK evaluations to confirm the flag is no longer in use.3 params
Check whether a feature flag is ready to be permanently removed from code. Analyzes SDK evaluations to confirm the flag is no longer in use.
envstringrequiredThe environment key to check flag removal readiness in.flagKeystringrequiredThe key of the feature flag to check for removal readiness.projectKeystringrequiredThe project key where the flag resides.launchdarklymcp_clone_ai_config_variation#Clone an existing AI Config variation to create a new variation with the same settings.4 params
Clone an existing AI Config variation to create a new variation with the same settings.
configKeystringrequiredThe key of the AI Config that contains the variation to clone.projectKeystringrequiredThe project key identifying which project contains the AI Config.variationIdstringrequiredThe ID of the variation to clone.namestringoptionalThe name for the new cloned variation.launchdarklymcp_copy_flag_config#Copy a flag's targeting configuration from one environment to another environment within the same project.4 params
Copy a flag's targeting configuration from one environment to another environment within the same project.
flagKeystringrequiredThe key of the feature flag whose configuration will be copied.projectKeystringrequiredThe project key where the flag resides.sourceobjectrequiredThe source environment to copy the flag configuration from.targetobjectrequiredThe target environment to copy the flag configuration to.launchdarklymcp_create_agent_graph#Create a new agent graph definition for multi-step AI workflows.5 params
Create a new agent graph definition for multi-step AI workflows.
namestringrequiredThe name of the agent graph.projectKeystringrequiredThe project key for the LaunchDarkly project.descriptionstringoptionalAn optional description of the agent graph.edgesarrayoptionalThe edges connecting nodes in the agent graph.nodesarrayoptionalThe nodes in the agent graph, each representing a step in the workflow.launchdarklymcp_create_ai_config#Create a new AI Config in a project. An AI Config manages AI model configurations with feature flag-style targeting and experimentation.5 params
Create a new AI Config in a project. An AI Config manages AI model configurations with feature flag-style targeting and experimentation.
keystringrequiredA unique key for the AI Config.namestringrequiredA human-readable name for the AI Config.projectKeystringrequiredThe project key where the AI Config will be created.descriptionstringoptionalAn optional description for the AI Config.tagsarrayoptionalOptional list of tags to associate with the AI Config.launchdarklymcp_create_ai_config_variation#Create a new variation for an AI Config with specific model, prompt, and parameter settings.5 params
Create a new variation for an AI Config with specific model, prompt, and parameter settings.
configKeystringrequiredThe key of the AI Config to create a new variation for.namestringrequiredThe name for the new variation.projectKeystringrequiredThe project key identifying which project contains the AI Config.modelobjectoptionalModel settings for the new variation such as model name and parameters.promptarrayoptionalPrompt messages array for the new variation.launchdarklymcp_create_ai_tool#Create a new AI tool definition for use in AI Config variations.4 params
Create a new AI tool definition for use in AI Config variations.
namestringrequiredThe name of the AI tool.projectKeystringrequiredThe project key for the LaunchDarkly project.descriptionstringoptionalAn optional description of the AI tool.parametersobjectoptionalThe parameters schema for the AI tool.launchdarklymcp_create_approval_request#Create an approval request for a proposed flag change. The change will not take effect until approved and applied.8 params
Create an approval request for a proposed flag change. The change will not take effect until approved and applied.
descriptionstringrequiredA description of the proposed change and reason for the approval request.envstringrequiredThe environment key where the proposed change would apply.featureFlagKeystringrequiredThe feature flag key that the approval request targets.instructionsarrayrequiredThe semantic patch instructions describing the proposed flag changes.projectKeystringrequiredThe project key where the approval request will be created.commentstringoptionalOptional comment to include with the approval request.flagKeystringoptionalAlias for featureFlagKey.notifyMemberIdsarrayoptionalList of member IDs to notify about the approval request.launchdarklymcp_create_flag#Create a new feature flag in a project. The flag is created across all environments with default targeting off.7 params
Create a new feature flag in a project. The flag is created across all environments with default targeting off.
keystringrequiredUnique key identifier for the new feature flag.namestringrequiredHuman-readable display name for the new feature flag.projectKeystringrequiredThe project key where the flag will be created.descriptionstringoptionalOptional description for the new feature flag.tagsarrayoptionalOptional array of tags to associate with the new flag.temporarybooleanoptionalWhether the flag is temporary (short-lived) or permanent.variationsarrayoptionalOptional array of variation objects defining the flag's possible values.launchdarklymcp_create_playground#Create a new AI playground for testing prompts and AI configurations.3 params
Create a new AI playground for testing prompts and AI configurations.
namestringrequiredName for the AI playground.projectKeystringrequiredThe project key to associate this playground with.descriptionstringoptionalDescription of the AI playground.launchdarklymcp_create_prompt_snippet#Create a new reusable prompt snippet.6 params
Create a new reusable prompt snippet.
keystringrequiredA unique key for the prompt snippet.namestringrequiredThe name of the prompt snippet.projectKeystringrequiredThe project key.textstringrequiredThe text content of the prompt snippet.descriptionstringoptionalA description of the prompt snippet.tagsarrayoptionalArray of tags to categorize the prompt snippet.launchdarklymcp_createdashboard#Create a new observability dashboard with custom panels and metrics.4 params
Create a new observability dashboard with custom panels and metrics.
namestringrequiredThe name of the dashboard.projectKeystringrequiredThe project key identifying which project to create the dashboard in.descriptionstringoptionalAn optional description for the dashboard.panelsarrayoptionalAn array of panel definitions for the dashboard.launchdarklymcp_createdataset#Create a new offline dataset for AI evaluation. Provide the filename and format (csv, json, or jsonl). The dataset is created in pending status and must be uploaded separately. Returns the dataset ID and upload URL.5 params
Create a new offline dataset for AI evaluation. Provide the filename and format (csv, json, or jsonl). The dataset is created in pending status and must be uploaded separately. Returns the dataset ID and upload URL.
filenamestringrequiredThe filename for the dataset including extension (e.g. data.csv).formatstringrequiredThe format of the dataset file. One of: csv, json, or jsonl.projectKeystringrequiredThe project key identifying which project to create the dataset in.checksumstringoptionalA checksum hash of the dataset file for integrity validation.sizenumberoptionalThe size of the dataset file in bytes.launchdarklymcp_createevaluation#Create a new AI evaluation definition. An evaluation defines a comparison between AI Config variations using a dataset and judge criteria. After creation, use run-evaluation to start an evaluation run.5 params
Create a new AI evaluation definition. An evaluation defines a comparison between AI Config variations using a dataset and judge criteria. After creation, use run-evaluation to start an evaluation run.
namestringrequiredA human-readable name for the evaluation.projectKeystringrequiredThe project key identifying which project to create the evaluation in.configKeystringoptionalThe key of the AI Config to evaluate.datasetIdstringoptionalThe ID of the offline dataset to use for this evaluation.variationKeysarrayoptionalArray of variation keys from the AI Config to include in the evaluation.launchdarklymcp_createexperiment#Create a new experiment in a project environment. An experiment measures the impact of flag variations on metrics.8 params
Create a new experiment in a project environment. An experiment measures the impact of flag variations on metrics.
environmentKeystringrequiredThe environment key where the experiment will run.flagKeystringrequiredThe feature flag key that this experiment is based on.namestringrequiredThe display name for the new experiment.projectKeystringrequiredThe project key identifying the project to create the experiment in.descriptionstringoptionalAn optional description for the experiment.metricsarrayoptionalArray of metric objects to assign to the experiment.randomizationUnitstringoptionalThe unit of randomization for the experiment (e.g. user, request).treatmentsarrayoptionalArray of treatment objects defining the flag variations to include in the experiment.launchdarklymcp_creategraph#Create a new agent graph definition. An agent graph defines a multi-step AI workflow with nodes and edges.5 params
Create a new agent graph definition. An agent graph defines a multi-step AI workflow with nodes and edges.
namestringrequiredThe name of the agent graph.projectKeystringrequiredThe project key identifying which project to create the graph in.descriptionstringoptionalAn optional description for the agent graph.edgesarrayoptionalAn array of edge definitions connecting nodes in the graph.nodesarrayoptionalAn array of node definitions for the graph.launchdarklymcp_createmetric#Create a new metric for use in experiments. Metrics define what to measure (click events, conversions, revenue, etc.) and how to analyze results.11 params
Create a new metric for use in experiments. Metrics define what to measure (click events, conversions, revenue, etc.) and how to analyze results.
keystringrequiredNo description.measureTypestringrequiredNo description.namestringrequiredNo description.projectKeystringrequiredNo description.successCriteriastringrequiredNo description.descriptionstringoptionalNo description.eventKeystringoptionalNo description.kindstringoptionalNo description.randomizationUnitsarrayoptionalNo description.tagsarrayoptionalNo description.unitstringoptionalNo description.launchdarklymcp_createproject#Create a new LaunchDarkly project. Projects are top-level containers for feature flags and environments.3 params
Create a new LaunchDarkly project. Projects are top-level containers for feature flags and environments.
keystringrequiredA unique key for the new project. Used in API calls and SDK configuration.namestringrequiredA human-readable name for the project.tagsarrayoptionalOptional list of tags to categorize the project.launchdarklymcp_delete_ai_config#Permanently delete an AI Config and all its variations. This is irreversible.2 params
Permanently delete an AI Config and all its variations. This is irreversible.
configKeystringrequiredThe key of the AI Config to permanently delete.projectKeystringrequiredThe project key identifying which project contains the AI Config to delete.launchdarklymcp_delete_ai_config_variation#Delete a variation from an AI Config. This is permanent and cannot be undone.3 params
Delete a variation from an AI Config. This is permanent and cannot be undone.
configKeystringrequiredThe key of the AI Config that contains the variation to delete.projectKeystringrequiredThe project key identifying which project contains the AI Config.variationIdstringrequiredThe ID of the variation to permanently delete.launchdarklymcp_delete_flag#Permanently delete a feature flag and all its targeting rules across all environments. This is irreversible.3 params
Permanently delete a feature flag and all its targeting rules across all environments. This is irreversible.
confirmbooleanrequiredMust be set to true to confirm permanent deletion of the flag.flagKeystringrequiredThe key of the feature flag to permanently delete.projectKeystringrequiredThe project key where the flag resides.launchdarklymcp_delete_prompt_snippet#Delete an existing prompt snippet permanently.1 param
Delete an existing prompt snippet permanently.
snippetIdstringrequiredThe ID of the prompt snippet to delete.launchdarklymcp_deleteagentgraph#Permanently delete an agent graph definition. This cannot be undone.2 params
Permanently delete an agent graph definition. This cannot be undone.
graphIdstringrequiredThe ID of the agent graph to permanently delete.projectKeystringrequiredThe key of the project that contains the agent graph.launchdarklymcp_deletedataset#Permanently delete an offline dataset and its associated metadata. THIS IS IRREVERSIBLE. Requires confirm=true to execute.3 params
Permanently delete an offline dataset and its associated metadata. THIS IS IRREVERSIBLE. Requires confirm=true to execute.
confirmbooleanrequiredMust be set to true to confirm the irreversible deletion of the dataset.datasetIdstringrequiredThe unique identifier of the dataset to permanently delete.projectKeystringrequiredThe project key identifying which project the dataset belongs to.launchdarklymcp_find_members#Search for organization members by email, name, or role.3 params
Search for organization members by email, name, or role.
limitnumberoptionalMaximum number of members to return per page.offsetnumberoptionalOffset for pagination.querystringoptionalSearch query to filter members by email, name, or role.launchdarklymcp_find_stale_flags#Find feature flags that haven't been evaluated recently and may be candidates for cleanup. Returns flags with their last evaluation time and staleness indicators.3 params
Find feature flags that haven't been evaluated recently and may be candidates for cleanup. Returns flags with their last evaluation time and staleness indicators.
envstringrequiredThe environment key to check flag evaluation staleness in.projectKeystringrequiredThe project key identifying which project to search for stale flags.limitnumberoptionalMaximum number of stale flags to return.launchdarklymcp_get_agent_graph#Get details about a specific agent graph definition.2 params
Get details about a specific agent graph definition.
graphIdstringrequiredThe unique identifier of the agent graph.projectKeystringrequiredThe project key for the LaunchDarkly project.launchdarklymcp_get_ai_config#Get details about a specific AI Config including its variations and metadata.2 params
Get details about a specific AI Config including its variations and metadata.
configKeystringrequiredThe key of the AI Config to retrieve.projectKeystringrequiredThe project key where the AI Config resides.launchdarklymcp_get_ai_config_health#Get the health status of an AI Config including latency, error rates, and evaluation metrics.3 params
Get the health status of an AI Config including latency, error rates, and evaluation metrics.
configKeystringrequiredThe key of the AI Config to retrieve health status for.environmentKeystringrequiredThe environment key to retrieve health metrics from.projectKeystringrequiredThe project key identifying which project contains the AI Config.launchdarklymcp_get_ai_config_status_across_envs#Get the status of an AI Config across all environments in a project.2 params
Get the status of an AI Config across all environments in a project.
configKeystringrequiredThe key of the AI Config to retrieve status across all environments.projectKeystringrequiredThe project key identifying which project contains the AI Config.launchdarklymcp_get_ai_config_targeting#Get the targeting rules and rollout configuration for an AI Config in a specific environment.3 params
Get the targeting rules and rollout configuration for an AI Config in a specific environment.
configKeystringrequiredThe key of the AI Config to retrieve targeting rules for.envstringrequiredThe environment key to retrieve targeting configuration from.projectKeystringrequiredThe project key identifying which project contains the AI Config.launchdarklymcp_get_ai_tool#Get details about a specific AI tool definition.2 params
Get details about a specific AI tool definition.
projectKeystringrequiredThe project key for the LaunchDarkly project.toolIdstringrequiredThe unique identifier of the AI tool.launchdarklymcp_get_flag#Get full details about a specific feature flag including all variations, targeting rules across environments, and metadata.3 params
Get full details about a specific feature flag including all variations, targeting rules across environments, and metadata.
flagKeystringrequiredThe feature flag key to retrieve full details for.projectKeystringrequiredThe project key identifying which project contains the flag.envstringoptionalOptional environment key to scope the flag details to a specific environment.launchdarklymcp_get_flag_health#Get health indicators for a feature flag including evaluation counts, error rates, and usage patterns.3 params
Get health indicators for a feature flag including evaluation counts, error rates, and usage patterns.
envstringrequiredThe environment key to check flag health in.flagKeystringrequiredThe feature flag key to retrieve health indicators for.projectKeystringrequiredThe project key identifying which project contains the flag.launchdarklymcp_get_flag_status_across_envs#Get the on/off status and targeting summary for a feature flag across all environments in a project.2 params
Get the on/off status and targeting summary for a feature flag across all environments in a project.
flagKeystringrequiredThe feature flag key to get status for across all environments.projectKeystringrequiredThe project key identifying which project contains the flag.launchdarklymcp_get_member_self#Get the profile of the currently authenticated member, including their role and permissions.0 params
Get the profile of the currently authenticated member, including their role and permissions.
launchdarklymcp_get_playground#Retrieve a single AI playground by ID.1 param
Retrieve a single AI playground by ID.
playgroundIdstringrequiredThe ID of the AI playground to retrieve.launchdarklymcp_get_prompt_snippet#Retrieve a single prompt snippet by ID.1 param
Retrieve a single prompt snippet by ID.
snippetIdstringrequiredThe ID of the prompt snippet to retrieve.launchdarklymcp_getdashboard#Get a specific observability dashboard by ID, including its panels and configuration.2 params
Get a specific observability dashboard by ID, including its panels and configuration.
dashboardIdstringrequiredThe unique identifier of the dashboard to retrieve.projectKeystringrequiredThe project key identifying which project the dashboard belongs to.launchdarklymcp_getdataset#Get details about a specific offline dataset by ID, including its processing status and row count.2 params
Get details about a specific offline dataset by ID, including its processing status and row count.
datasetIdstringrequiredThe unique identifier of the dataset to retrieve.projectKeystringrequiredThe project key identifying which project the dataset belongs to.launchdarklymcp_getenvironment#Get details about a specific environment in a project, including its keys and settings.2 params
Get details about a specific environment in a project, including its keys and settings.
environmentKeystringrequiredThe key of the environment to retrieve.projectKeystringrequiredThe key of the project that contains the environment.launchdarklymcp_getevaluation#Get details about a specific evaluation definition, including its configuration and last run status.2 params
Get details about a specific evaluation definition, including its configuration and last run status.
evaluationIdstringrequiredThe unique identifier of the evaluation definition to retrieve.projectKeystringrequiredThe project key identifying which project the evaluation belongs to.launchdarklymcp_getevaluationrunsummary#Get the summary results of a completed evaluation run, including pass/fail counts and aggregate scores.3 params
Get the summary results of a completed evaluation run, including pass/fail counts and aggregate scores.
evaluationIdstringrequiredThe unique identifier of the evaluation definition.projectKeystringrequiredThe project key identifying which project the evaluation belongs to.runIdstringrequiredThe unique identifier of the evaluation run to retrieve the summary for.launchdarklymcp_getexperiment#Get details about a specific experiment including its configuration, current iteration status, and metric assignments.3 params
Get details about a specific experiment including its configuration, current iteration status, and metric assignments.
environmentKeystringrequiredThe environment key where the experiment exists.experimentKeystringrequiredThe experiment key identifying the experiment to retrieve.projectKeystringrequiredThe project key identifying the project containing the experiment.launchdarklymcp_getexperimentmetricresults#Get the metric results for a specific metric in an experiment iteration. Returns statistical analysis including p-values, confidence intervals, and improvement percentages for each treatment variation compared to the control.5 params
Get the metric results for a specific metric in an experiment iteration. Returns statistical analysis including p-values, confidence intervals, and improvement percentages for each treatment variation compared to the control.
environmentKeystringrequiredThe environment key where the experiment is running.experimentKeystringrequiredThe experiment key identifying the experiment.iterationIdstringrequiredThe iteration ID for the experiment iteration to retrieve metric results from.metricKeystringrequiredThe metric key identifying the specific metric to retrieve results for.projectKeystringrequiredThe project key identifying the project containing the experiment.launchdarklymcp_getexperimentresults#Get the results for all metrics in an experiment iteration.4 params
Get the results for all metrics in an experiment iteration.
environmentKeystringrequiredThe environment key where the experiment is running.experimentKeystringrequiredThe experiment key identifying the experiment.iterationIdstringrequiredThe iteration ID for the experiment iteration to retrieve results from.projectKeystringrequiredThe project key identifying the project containing the experiment.launchdarklymcp_getkeys#Get the client-side SDK key, mobile key, and server-side SDK key for a specific environment. Use this to retrieve SDK initialization keys for a project environment.2 params
Get the client-side SDK key, mobile key, and server-side SDK key for a specific environment. Use this to retrieve SDK initialization keys for a project environment.
environmentKeystringrequiredThe environment key identifying the environment to retrieve SDK keys for.projectKeystringrequiredThe project key identifying the project to retrieve SDK keys for.launchdarklymcp_getmetric#Get details about a specific metric including its configuration and associated experiments.2 params
Get details about a specific metric including its configuration and associated experiments.
metricKeystringrequiredThe key of the metric to retrieve.projectKeystringrequiredThe key of the project that contains the metric.launchdarklymcp_getproject#Get details about a specific LaunchDarkly project, including its environments and settings.1 param
Get details about a specific LaunchDarkly project, including its environments and settings.
projectKeystringrequiredThe key of the project to retrieve.launchdarklymcp_getsdkactive#Check whether an SDK is actively connected and sending events for a specific environment. Returns the connection status and last seen time.2 params
Check whether an SDK is actively connected and sending events for a specific environment. Returns the connection status and last seen time.
environmentKeystringrequiredThe key of the environment to check SDK activity in.projectKeystringrequiredThe key of the project to check SDK activity for.launchdarklymcp_invite_members#Invite new members to the LaunchDarkly organization by email address.1 param
Invite new members to the LaunchDarkly organization by email address.
membersarrayrequiredList of members to invite, each with an email and optional role.launchdarklymcp_list_agent_graphs#List all agent graph definitions in a project.3 params
List all agent graph definitions in a project.
projectKeystringrequiredThe project key for the LaunchDarkly project.limitnumberoptionalMaximum number of agent graphs to return per page.offsetnumberoptionalOffset for pagination.launchdarklymcp_list_ai_configs#List all AI Configs in a project with their current status and variation count.4 params
List all AI Configs in a project with their current status and variation count.
projectKeystringrequiredThe project key to list AI Configs from.limitnumberoptionalMaximum number of AI Configs to return per page.offsetnumberoptionalOffset for pagination.querystringoptionalSearch query to filter AI Configs by name or key.launchdarklymcp_list_ai_tools#List all AI tool definitions in a project.3 params
List all AI tool definitions in a project.
projectKeystringrequiredThe project key for the LaunchDarkly project.limitnumberoptionalMaximum number of AI tools to return per page.offsetnumberoptionalOffset for pagination.launchdarklymcp_list_approval_requests#List pending and historical approval requests for flag changes in a project environment.6 params
List pending and historical approval requests for flag changes in a project environment.
envstringrequiredThe environment key to filter approval requests for.featureFlagKeystringrequiredThe feature flag key to filter approval requests for.projectKeystringrequiredThe project key to list approval requests from.flagKeystringoptionalAlias for featureFlagKey.limitnumberoptionalMaximum number of approval requests to return per page.offsetnumberoptionalOffset for pagination.launchdarklymcp_list_playgrounds#List all AI playgrounds in the account.3 params
List all AI playgrounds in the account.
limitnumberoptionalMaximum number of playgrounds to return per page.offsetnumberoptionalOffset for pagination.projectKeystringoptionalThe project key to filter playgrounds by.launchdarklymcp_list_prompt_snippets#List all reusable prompt snippets.3 params
List all reusable prompt snippets.
limitnumberoptionalMaximum number of prompt snippets to return per page.offsetnumberoptionalOffset for pagination.querystringoptionalFree-text search query to filter prompt snippets.launchdarklymcp_listdashboards#List observability dashboards in a project.3 params
List observability dashboards in a project.
projectKeystringrequiredThe project key identifying which project's dashboards to list.limitnumberoptionalMaximum number of dashboards to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_listdatasets#List offline datasets for a project. Returns id, name, status, row count, and creation info for each dataset.3 params
List offline datasets for a project. Returns id, name, status, row count, and creation info for each dataset.
projectKeystringrequiredThe project key identifying which project to list datasets for.limitnumberoptionalMaximum number of datasets to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_listevaluations#List AI Config evaluations in a project. Returns evaluation definitions with their names, associated config keys, and last run info.4 params
List AI Config evaluations in a project. Returns evaluation definitions with their names, associated config keys, and last run info.
projectKeystringrequiredThe project key identifying which project to list evaluations for.limitnumberoptionalMaximum number of evaluations to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.searchstringoptionalSearch term to filter evaluations by name.launchdarklymcp_listexperiments#List experiments in a project environment. Returns experiment configurations with their current iteration status.4 params
List experiments in a project environment. Returns experiment configurations with their current iteration status.
environmentKeystringrequiredThe environment key to scope the experiment list to.projectKeystringrequiredThe project key identifying the project whose experiments to list.limitnumberoptionalMaximum number of experiments to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_listflags#Search and browse feature flags in a project. Returns a paginated list scoped to a single environment.
Filtering:
- `query`: search by flag name or key (case-insensitive)
- `tags`: array of tags (all must match)
- `state`: lifecycle state — `live`, `deprecated`, or `archived`. Defaults to `live`
- `type`: `temporary` or `permanent`
- `maintainerId`: member ID of the flag maintainer (use get-member-self or find-members to resolve)
- `maintainerTeamKey`: team key of the maintaining team
- `sdkAvailability`: one of `client`, `mobile`, `anyClient`, `server`
Sorting: use `sort` with `creationDate` or `name`; prefix with `-` for descending. Defaults to `-creationDate`.
Pagination: responses include `totalCount` and `pageInfo.offset`. To get the next page, set `offset` to the current offset + limit.12 params
Search and browse feature flags in a project. Returns a paginated list scoped to a single environment. Filtering: - `query`: search by flag name or key (case-insensitive) - `tags`: array of tags (all must match) - `state`: lifecycle state — `live`, `deprecated`, or `archived`. Defaults to `live` - `type`: `temporary` or `permanent` - `maintainerId`: member ID of the flag maintainer (use get-member-self or find-members to resolve) - `maintainerTeamKey`: team key of the maintaining team - `sdkAvailability`: one of `client`, `mobile`, `anyClient`, `server` Sorting: use `sort` with `creationDate` or `name`; prefix with `-` for descending. Defaults to `-creationDate`. Pagination: responses include `totalCount` and `pageInfo.offset`. To get the next page, set `offset` to the current offset + limit.
projectKeystringrequiredThe project key identifying which project's flags to list.envstringoptionalThe environment key to scope the flag list to.limitnumberoptionalMaximum number of flags to return per page.maintainerIdstringoptionalMember ID of the flag maintainer. Use get-member-self or find-members to resolve.maintainerTeamKeystringoptionalTeam key of the maintaining team.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.querystringoptionalSearch by flag name or key (case-insensitive).sdkAvailabilitystringoptionalFilter by SDK availability: client, mobile, anyClient, or server.sortstringoptionalSort flags by creationDate or name. Prefix with - for descending. Defaults to -creationDate.statestringoptionalLifecycle state filter: live, deprecated, or archived. Defaults to live.tagsarrayoptionalArray of tags to filter by. All specified tags must match.typestringoptionalFilter by flag type: temporary or permanent.launchdarklymcp_listmetricevents#List metric event types available in a project. Metric events are the raw events tracked for custom metrics.3 params
List metric event types available in a project. Metric events are the raw events tracked for custom metrics.
projectKeystringrequiredThe key of the project to list metric events for.limitnumberoptionalMaximum number of metric events to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_listmetrics#List metrics in a project. Returns metric configurations for use in experiments.3 params
List metrics in a project. Returns metric configurations for use in experiments.
projectKeystringrequiredThe key of the project to list metrics for.limitnumberoptionalMaximum number of metrics to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_listreleasepolicies#List release policies for a project. Release policies define automated release pipeline stages.3 params
List release policies for a project. Release policies define automated release pipeline stages.
projectKeystringrequiredThe key of the project to list release policies for.limitnumberoptionalMaximum number of release policies to return per page.offsetnumberoptionalOffset for pagination. Set to current offset + limit to get the next page.launchdarklymcp_manage_expiring_targets#Add or update expiring user targets on a flag — targets that will be automatically removed after a specified date.4 params
Add or update expiring user targets on a flag — targets that will be automatically removed after a specified date.
envstringrequiredThe environment key where the expiring targets apply.flagKeystringrequiredThe key of the feature flag to manage expiring targets on.projectKeystringrequiredThe project key where the flag resides.targetsarrayoptionalArray of expiring target objects specifying users and their expiration dates.launchdarklymcp_previewgraph#Preview how an agent graph would execute for a given input without persisting any state. Returns the execution trace.2 params
Preview how an agent graph would execute for a given input without persisting any state. Returns the execution trace.
graphIdstringrequiredThe ID of the agent graph to preview.inputobjectrequiredThe input object to pass to the graph for preview execution.launchdarklymcp_query_change_history#Query the audit log to find what changed in a LaunchDarkly account.9 params
Query the audit log to find what changed in a LaunchDarkly account.
endDatestringoptionalEnd date for the audit log query (ISO 8601 format).envstringoptionalThe environment key to scope the query to.limitnumberoptionalMaximum number of audit log entries to return.projectKeystringoptionalThe project key to scope the audit log query to.querystringoptionalFree-text search query to filter audit log entries.resourceKeystringoptionalThe key of the specific resource to filter audit log entries for.resourceKindstringoptionalThe kind of resource to filter audit log entries for (e.g. flag, segment).startDatestringoptionalStart date for the audit log query (ISO 8601 format).tagsarrayoptionalArray of tags to filter audit log entries by.launchdarklymcp_queryaggregations#Query aggregated metric data for custom metrics in a project environment.6 params
Query aggregated metric data for custom metrics in a project environment.
environmentKeystringrequiredThe environment key to scope the aggregations query to.metricKeystringrequiredThe metric key identifying which custom metric to query aggregations for.projectKeystringrequiredThe project key identifying which project to query aggregations for.aggregationTypestringoptionalThe type of aggregation to apply to the metric data.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_queryerrorgroups#Query error groups for a project environment to identify recurring errors.5 params
Query error groups for a project environment to identify recurring errors.
environmentKeystringrequiredThe environment key to scope the error groups query to.projectKeystringrequiredThe project key identifying which project to query error groups for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).limitnumberoptionalMaximum number of error groups to return.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_queryflagevaluations#Query flag evaluation events for observability. Returns counts and details of flag evaluations over a time window.6 params
Query flag evaluation events for observability. Returns counts and details of flag evaluations over a time window.
environmentKeystringrequiredThe environment key to scope the flag evaluation query to.projectKeystringrequiredThe project key identifying which project to query flag evaluations for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).flagKeystringoptionalThe flag key to filter evaluations for a specific flag.limitnumberoptionalMaximum number of evaluation events to return.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_querylogs#Query log events for a project environment for debugging and observability.6 params
Query log events for a project environment for debugging and observability.
environmentKeystringrequiredThe environment key to scope the logs query to.projectKeystringrequiredThe project key identifying which project to query logs for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).limitnumberoptionalMaximum number of log events to return.querystringoptionalA search query string to filter log events.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_querysessions#Query session replay data for user sessions in a project.5 params
Query session replay data for user sessions in a project.
environmentKeystringrequiredThe environment key to scope the sessions query to.projectKeystringrequiredThe project key identifying which project to query session data for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).limitnumberoptionalMaximum number of sessions to return.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_querytimelineevents#Query timeline events for a project environment, such as flag changes, deployments, and other notable events.5 params
Query timeline events for a project environment, such as flag changes, deployments, and other notable events.
environmentKeystringrequiredThe environment key to scope the timeline events query to.projectKeystringrequiredThe project key identifying which project to query timeline events for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).limitnumberoptionalMaximum number of timeline events to return.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).launchdarklymcp_querytraces#Query distributed traces for a project environment for observability and debugging.6 params
Query distributed traces for a project environment for observability and debugging.
environmentKeystringrequiredThe environment key to scope the traces query to.projectKeystringrequiredThe project key identifying which project to query traces for.endTimestringoptionalThe end of the time window for the query (ISO 8601 format).limitnumberoptionalMaximum number of traces to return.startTimestringoptionalThe start of the time window for the query (ISO 8601 format).traceIdstringoptionalFilter traces by a specific trace ID.launchdarklymcp_runevaluation#Start a new run of an AI evaluation. This executes the evaluation against the configured dataset and judge criteria. Returns the run ID and status.2 params
Start a new run of an AI evaluation. This executes the evaluation against the configured dataset and judge criteria. Returns the run ID and status.
evaluationIdstringrequiredThe unique identifier of the evaluation to run.projectKeystringrequiredThe project key identifying which project the evaluation belongs to.launchdarklymcp_saveandstartexperimentiteration#Update an experiment's configuration and immediately start a new iteration. Combines update-experiment and start-experiment-iteration into one step.5 params
Update an experiment's configuration and immediately start a new iteration. Combines update-experiment and start-experiment-iteration into one step.
environmentKeystringrequiredThe environment key where the experiment will run.experimentKeystringrequiredThe experiment key identifying the experiment to update and start.projectKeystringrequiredThe project key identifying the project containing the experiment.metricsarrayoptionalArray of metric objects to assign to the experiment iteration.treatmentsarrayoptionalArray of treatment objects defining the flag variations to include in the experiment.launchdarklymcp_setup_ai_config#Initialize an AI Config with its first variation and targeting setup in one step.5 params
Initialize an AI Config with its first variation and targeting setup in one step.
configKeystringrequiredThe key of the AI Config to initialize.environmentKeystringrequiredThe environment key to set up the AI Config in.projectKeystringrequiredThe project key identifying which project to set up the AI Config in.modelobjectoptionalModel settings for the initial variation.promptarrayoptionalPrompt messages for the initial variation.launchdarklymcp_startexperimentiteration#Start a new iteration for an experiment. The experiment must be configured with metrics and treatments.3 params
Start a new iteration for an experiment. The experiment must be configured with metrics and treatments.
environmentKeystringrequiredThe environment key where the experiment will run.experimentKeystringrequiredThe experiment key identifying the experiment to start a new iteration for.projectKeystringrequiredThe project key identifying the project containing the experiment.launchdarklymcp_startguardedrollout#Start a guarded rollout on a flag's default rule. A guarded rollout progressively increases traffic to the test variation while monitoring metrics for regressions.9 params
Start a guarded rollout on a flag's default rule. A guarded rollout progressively increases traffic to the test variation while monitoring metrics for regressions.
controlVariationIdstringrequiredThe ID of the control variation to compare against during the rollout.environmentKeystringrequiredThe environment key where the guarded rollout will be started.flagKeystringrequiredThe key of the feature flag to start a guarded rollout on.metricsarrayrequiredArray of metric configurations to monitor for regressions during the rollout.projectKeystringrequiredThe project key identifying which project the flag belongs to.randomizationUnitstringrequiredThe context kind used to randomize traffic between variations (e.g. user, organization).stagesarrayrequiredArray of rollout stage configurations defining traffic percentages and hold durations.testVariationIdstringrequiredThe ID of the variation to progressively roll out as the test variation.commentstringoptionalAn optional comment explaining the purpose of this guarded rollout.launchdarklymcp_stopexperimentiteration#Stop the currently running iteration of an experiment. This ends data collection for the iteration.3 params
Stop the currently running iteration of an experiment. This ends data collection for the iteration.
environmentKeystringrequiredThe environment key where the experiment is running.experimentKeystringrequiredThe experiment key identifying the experiment whose iteration should be stopped.projectKeystringrequiredThe project key identifying the project containing the experiment.launchdarklymcp_stopguardedrollout#Stop an active guarded rollout on a flag's default rule. This immediately halts the progressive rollout.4 params
Stop an active guarded rollout on a flag's default rule. This immediately halts the progressive rollout.
environmentKeystringrequiredThe environment key where the guarded rollout is active.flagKeystringrequiredThe key of the feature flag with an active guarded rollout.projectKeystringrequiredThe project key identifying which project the flag belongs to.commentstringoptionalAn optional comment explaining why the rollout is being stopped.launchdarklymcp_toggle_flag#Turn a feature flag on or off in a specific environment. When off, all users receive the off variation.5 params
Turn a feature flag on or off in a specific environment. When off, all users receive the off variation.
envstringrequiredThe environment key where the flag should be toggled.flagKeystringrequiredThe feature flag key to toggle on or off.onbooleanrequiredSet to true to turn the flag on, or false to turn it off.projectKeystringrequiredThe project key identifying which project contains the flag.commentstringoptionalOptional comment describing why the flag was toggled.launchdarklymcp_update_ai_config#Update the metadata for an AI Config such as name, description, and tags.5 params
Update the metadata for an AI Config such as name, description, and tags.
configKeystringrequiredThe key of the AI Config to update.projectKeystringrequiredThe project key identifying which project contains the AI Config.descriptionstringoptionalThe updated description for the AI Config.namestringoptionalThe updated display name for the AI Config.tagsarrayoptionalArray of tags to associate with the AI Config.launchdarklymcp_update_ai_config_individual_targets#Update the individual user targeting for an AI Config in a specific environment.4 params
Update the individual user targeting for an AI Config in a specific environment.
configKeystringrequiredThe key of the AI Config to update.envstringrequiredThe environment key where the AI Config targeting will be updated.projectKeystringrequiredThe project key for the LaunchDarkly project.targetsarrayoptionalThe individual user targets to set for this AI Config.launchdarklymcp_update_ai_config_rollout#Update the rollout percentages for an AI Config's default rule in a specific environment.4 params
Update the rollout percentages for an AI Config's default rule in a specific environment.
configKeystringrequiredThe key of the AI Config to update.envstringrequiredThe environment key where the rollout will be updated.projectKeystringrequiredThe project key for the LaunchDarkly project.rolloutobjectoptionalThe rollout configuration defining percentage splits across variations.launchdarklymcp_update_ai_config_targeting_rules#Update the targeting rules for an AI Config in a specific environment.4 params
Update the targeting rules for an AI Config in a specific environment.
configKeystringrequiredThe key of the AI Config to update targeting rules for.envstringrequiredThe environment key where targeting rules will be updated.projectKeystringrequiredThe project key identifying which project contains the AI Config.rulesarrayoptionalArray of targeting rule objects to apply to the AI Config.launchdarklymcp_update_ai_config_variation#Update a specific variation of an AI Config, including its prompt, model settings, and parameters.6 params
Update a specific variation of an AI Config, including its prompt, model settings, and parameters.
configKeystringrequiredThe key of the AI Config that contains the variation to update.projectKeystringrequiredThe project key identifying which project contains the AI Config.variationIdstringrequiredThe ID of the variation to update.modelobjectoptionalModel settings for this variation such as model name and parameters.namestringoptionalThe updated name for the variation.promptarrayoptionalPrompt messages array for this variation.launchdarklymcp_update_flag_settings#Update a feature flag's global settings such as name, description, tags, temporary status, and maintainer.4 params
Update a feature flag's global settings such as name, description, tags, temporary status, and maintainer.
flagKeystringrequiredNo description.instructionsarrayrequiredNo description.projectKeystringrequiredNo description.commentstringoptionalNo description.launchdarklymcp_update_individual_targets#Update the individual user targets for a flag variation in a specific environment. Add or remove specific user keys from a variation's target list.4 params
Update the individual user targets for a flag variation in a specific environment. Add or remove specific user keys from a variation's target list.
envstringrequiredThe environment key where the individual targets should be updated.flagKeystringrequiredThe feature flag key to update individual targets for.projectKeystringrequiredThe project key identifying which project contains the flag.targetsarrayoptionalArray of target objects specifying user keys and their assigned variations.launchdarklymcp_update_playground#Update an existing AI playground configuration.4 params
Update an existing AI playground configuration.
playgroundIdstringrequiredThe ID of the AI playground to update.descriptionstringoptionalUpdated description of the AI playground.namestringoptionalUpdated name for the AI playground.projectKeystringoptionalThe project key the playground belongs to.launchdarklymcp_update_prerequisites#Update the prerequisite flags for a feature flag in a specific environment. Prerequisite flags must be in a specific variation before the dependent flag serves its variations.4 params
Update the prerequisite flags for a feature flag in a specific environment. Prerequisite flags must be in a specific variation before the dependent flag serves its variations.
envstringrequiredThe environment key where the prerequisites should be updated.flagKeystringrequiredThe feature flag key to update prerequisites for.projectKeystringrequiredThe project key identifying which project contains the flag.prerequisitesarrayoptionalArray of prerequisite flag objects, each with a key and required variation index.launchdarklymcp_update_prompt_snippet#Update an existing prompt snippet.4 params
Update an existing prompt snippet.
contentstringrequiredThe updated content of the prompt snippet.namestringrequiredThe updated name of the prompt snippet.snippetIdstringrequiredThe ID of the prompt snippet to update.tagsarrayoptionalUpdated array of tags for the prompt snippet.launchdarklymcp_update_rollout#Update the default rule (fallthrough) rollout percentages for a flag in a specific environment.4 params
Update the default rule (fallthrough) rollout percentages for a flag in a specific environment.
envstringrequiredThe environment key where the rollout should be updated.flagKeystringrequiredThe feature flag key to update rollout for.projectKeystringrequiredThe project key identifying which project contains the flag.rolloutobjectoptionalRollout configuration object specifying variation weights for the default rule.launchdarklymcp_update_targeting_rules#Update the targeting rules for a feature flag in a specific environment. Rules determine which users see which variation based on user attributes.4 params
Update the targeting rules for a feature flag in a specific environment. Rules determine which users see which variation based on user attributes.
envstringrequiredThe environment key where the targeting rules should be updated.flagKeystringrequiredThe feature flag key to update targeting rules for.projectKeystringrequiredThe project key identifying which project contains the flag.rulesarrayoptionalArray of targeting rule objects defining conditions and variation assignments.launchdarklymcp_updateagentgraph#Update an existing agent graph definition, modifying its nodes, edges, or metadata.6 params
Update an existing agent graph definition, modifying its nodes, edges, or metadata.
graphIdstringrequiredThe ID of the agent graph to update.projectKeystringrequiredThe key of the project that contains the agent graph.descriptionstringoptionalA new description for the agent graph.edgesarrayoptionalUpdated list of edge definitions connecting nodes in the agent graph.namestringoptionalA new display name for the agent graph.nodesarrayoptionalUpdated list of node definitions for the agent graph.launchdarklymcp_updateexperiment#Update an existing experiment's configuration including name, description, metrics, treatments, and randomization unit.7 params
Update an existing experiment's configuration including name, description, metrics, treatments, and randomization unit.
environmentKeystringrequiredThe environment key where the experiment exists.experimentKeystringrequiredThe experiment key identifying the experiment to update.projectKeystringrequiredThe project key identifying the project containing the experiment.descriptionstringoptionalThe updated description for the experiment.metricsarrayoptionalUpdated array of metric objects to assign to the experiment.namestringoptionalThe updated display name for the experiment.treatmentsarrayoptionalUpdated array of treatment objects defining the flag variations to include.launchdarklymcp_vent#Report a missing capability, bug, parameter gap, or unclear error encountered while using LaunchDarkly MCP tools. This feedback is collected and triaged to improve the toolset. Use this when a tool is missing, returns an unexpected error, or lacks a needed parameter.5 params
Report a missing capability, bug, parameter gap, or unclear error encountered while using LaunchDarkly MCP tools. This feedback is collected and triaged to improve the toolset. Use this when a tool is missing, returns an unexpected error, or lacks a needed parameter.
categorystringrequiredThe category of the issue being reported.descriptionstringrequiredA description of the issue or missing capability.contextstringoptionalAdditional context about the situation when the issue occurred.errorMessagestringoptionalThe error message received, if any.toolNamestringoptionalThe name of the tool that has the issue, if applicable.