devtools
LaunchDarkly MCP, CLI, and Lua Integration for AI Agents
LaunchDarkly integration docs for AI agents: MCP gateway setup, LaunchDarkly CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
LaunchDarkly for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
launchdarkly- route_slug
launchdarkly- package
launchdarkly- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. LaunchDarkly CLIHeadless setup and direct function calls. LaunchDarkly MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
LaunchDarkly MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for LaunchDarkly.
Claude Code LaunchDarkly MCP setup for Claude Code. Cursor LaunchDarkly MCP setup for Cursor. Codex LaunchDarkly MCP setup for Codex. OpenAI Agents LaunchDarkly MCP setup for OpenAI Agents SDK. Claude Agent SDK LaunchDarkly MCP setup for Claude Agent SDK. Vercel AI SDK LaunchDarkly MCP setup for Vercel AI SDK. LangChain LaunchDarkly MCP setup for LangChain. LangGraph LaunchDarkly MCP setup for LangGraph. CrewAI LaunchDarkly MCP setup for CrewAI. MCP clients LaunchDarkly MCP setup for Generic MCP Clients.
LaunchDarkly CLI Matrix
Use these pages for direct LaunchDarkly CLI workflows in scripts, CI, cron, and agent wrappers.
CI LaunchDarkly CLI for CI. Cron Jobs LaunchDarkly CLI for cron jobs. Shell Scripts LaunchDarkly CLI for shell scripts. Headless Automation LaunchDarkly CLI for headless automation. Coding Agents LaunchDarkly CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
launchdarkly.launchdarkly_list_flags | Read read | 4 | List feature flags in a LaunchDarkly project. Returns flag keys, names, descriptions, and their on/off state per environment. |
launchdarkly.launchdarkly_get_flag | Read read | 3 | Get detailed information about a specific LaunchDarkly feature flag, including targeting rules, variations, and per-environment state. |
launchdarkly.launchdarkly_toggle_flag | Write write | 4 | Turn a LaunchDarkly feature flag on or off in a specific environment. Use this to enable or disable a feature flag. |
launchdarkly.launchdarkly_list_environments | Read read | 1 | List all environments for a LaunchDarkly project. Returns environment keys, names, and their SDK keys for reference. |
launchdarkly.launchdarkly_list_projects | Read read | 0 | List all LaunchDarkly projects. Returns project keys, names, and the number of environments in each project. |
launchdarkly.launchdarkly_get_project | Read read | 1 | Get detailed information about a specific LaunchDarkly project, including its environments and settings. |
launchdarkly.launchdarkly_get_current_user | Read read | 0 | Get information about the currently authenticated LaunchDarkly user. Useful for verifying API credentials. |