Best for
- Teams using LaunchDarkly Federal or EU environments
- Developers who want to manage feature flags via AI clients
The LaunchDarkly local MCP server is a self-managed solution for Federal and EU environments with limited features compared to the hosted version. It requires an API key and allows AI clients to interact with LaunchDarkly data via stdio or SSE. Suitable for users who cannot use the hosted MCP, but be aware of security risks and feature limitations.
Strongest · Setup experience 11/20 Weakest · Reliability 8/20
Static review · not runListed 2026-09-10
Read the FMRS scoring method →Runtime:Node.js · Docker · Prebuilt binary
LD_ACCESS_TOKEN
LaunchDarkly API access token, generated on LaunchDarkly's Authorization page.
MCP_LD_TOKEN
An API token supplied via environment variable, referenced through the $LD_ACCESS_TOKEN placeholder to inject real credentials.
For Cursor, create a .cursor/mcp.json file in your project root with the content {"mcpServers":{"LaunchDarkly":{"command":"npx","args":["-y","--package","@launchdarkly/mcp-server","--","mcp","start","--api-key","api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}}}, replacing the api-key with your LaunchDarkly API key. For Claude Desktop, add the same content to claude_desktop_config.json. For Qodo Gen, click 'Connect more tools', then '+ Add new MCP', add the same configuration and save. For GitHub Copilot CLI, run /mcp add or edit ~/.copilot/mcp-config.json. Alternatively, install via standalone binary, local clone, or Docker.
{"mcpServers":{"LaunchDarkly":{"command":"npx","args":["-y","--package","@launchdarkly/mcp-server","--","mcp","start","--api-key","api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]}}}
Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"LaunchDarkly": {
"command": "npx",
"args": [
"-y",
"--package",
"@launchdarkly/mcp-server",
"--",
"mcp",
"start",
"--api-key",
"api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add LaunchDarkly -- npx -y --package @launchdarkly/mcp-server -- mcp start --api-key api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Run it in a terminal; replace any <…> placeholders with your own values first.
After installation, check the client's tool list for tools like getTargeting, list, and getStatus; then ask "list my feature flags" — a returned list of LaunchDarkly flags proves the API key and connection work.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
This is the local Model Context Protocol (MCP) server for LaunchDarkly, specifically designed for LaunchDarkly's Federal and European Union (EU) environments. These environments do not yet support the hosted MCP, so LaunchDarkly provides this self-managed server as an alternative. LaunchDarkly strongly recommends using the hosted server where available, as it is more feature complete and receives more frequent updates. The server can be installed via npx, standalone binary, local clone, or Docker, and allows AI clients to connect via stdio or through a URL using SSE. It requires a LaunchDarkly API key and supports specifying the commercial, Federal, or EU environment via the --server-url argument.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision c3d39cfb0858 Data synced 2026-10-19 Read the FMRS scoring method