ld_list_flags
Pack: launchdarkly · Endpoint: https://gateway.pipeworx.io/launchdarkly/mcp
Return bounded LaunchDarkly feature flags with keys, variations, tags, maintainers, experiment links, lifecycle state, and optional environment rollout configuration. Answers which features are live, experimental, deprecated, or archived.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
project_key | string | yes | |
environment_key | string | no | |
query | string | no | |
filter | string | no | LaunchDarkly filter expression such as hasExperiment:true or state:live |
Example call
Arguments
{
"_apiKey": "your-launchdarkly-reader-token",
"project_key": "web-app",
"environment_key": "production",
"filter": "hasExperiment:true",
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/launchdarkly/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ld_list_flags","arguments":{"_apiKey":"your-launchdarkly-reader-token","project_key":"web-app","environment_key":"production","filter":"hasExperiment:true","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ld_list_flags', {
"_apiKey": "your-launchdarkly-reader-token",
"project_key": "web-app",
"environment_key": "production",
"filter": "hasExperiment:true",
"limit": 20
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"launchdarkly": {
"url": "https://gateway.pipeworx.io/launchdarkly/mcp"
}
}
}
See Getting Started for client-specific install steps.