ld_list_flags
Pack: launchdarkly · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ld_list_flags for the schema, then POST the same URL with its arguments for the data.
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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the launchdarkly pack
{
"mcpServers": {
"launchdarkly": {
"url": "https://gateway.pipeworx.io/launchdarkly/mcp"
}
}
}
See Getting Started for client-specific install steps.