ld_list_environments
Pack: launchdarkly · Endpoint: https://gateway.pipeworx.io/launchdarkly/mcp
Return bounded LaunchDarkly environments for a project with keys, names, colors, tags, approval settings, and archival state. Answers where feature releases and experiments run.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
project_key | string | yes |
Example call
Arguments
{
"_apiKey": "your-launchdarkly-reader-token",
"project_key": "web-app",
"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_environments","arguments":{"_apiKey":"your-launchdarkly-reader-token","project_key":"web-app","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ld_list_environments', {
"_apiKey": "your-launchdarkly-reader-token",
"project_key": "web-app",
"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.