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.
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.
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"]}}}