ld_get_flag

Pack: launchdarkly · Endpoint: https://gateway.pipeworx.io/launchdarkly/mcp

Return one LaunchDarkly feature flag with variations, maintainer, experiment links, and optional environment targeting or rollout configuration. Answers exactly how a feature is configured for release or experimentation.

Parameters

NameTypeRequiredDescription
project_keystringyes
flag_keystringyes
environment_keystringno

Example call

Arguments

{
  "_apiKey": "your-launchdarkly-reader-token",
  "project_key": "web-app",
  "flag_key": "new-checkout",
  "environment_key": "production"
}

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_get_flag","arguments":{"_apiKey":"your-launchdarkly-reader-token","project_key":"web-app","flag_key":"new-checkout","environment_key":"production"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ld_get_flag', {
  "_apiKey": "your-launchdarkly-reader-token",
  "project_key": "web-app",
  "flag_key": "new-checkout",
  "environment_key": "production"
});

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.

Regenerated from source · build August 12, 2026