Logo von LaunchDarkly's Model Context Protocol (MCP) Server

LaunchDarkly's Model Context Protocol (MCP) Server

Organisation
launchdarkly

LaunchDarkly's Model Context Protocol (MCP) Server

Herausgeberlaunchdarkly
Repositorymcp-server
SpracheTypeScript
Forks
18
Sterne
28
Verfügbare Tools
19
Transporttypstdio
Kategorien
LizenzMIT
Links
  • Tools mit KI-Workflows verbinden

    LaunchDarkly's Model Context Protocol (MCP) Server stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 19 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    28 Sterne und 18 Forks im verlinkten Repository.

LaunchDarkly local MCP server

The local Model Context Protocol (MCP) server for LaunchDarkly federal and European Union (EU) environments.

[!IMPORTANT] Use the LaunchDarkly hosted MCP server where available

LaunchDarkly strongly recommends using the hosted MCP server where it is available. The hosted server is more feature complete and receives more frequent updates than this self-managed server.

LaunchDarkly provides this self-managed MCP server for LaunchDarkly EU or Federal instances, which do not yet support the hosted MCP.

Table of Contents

Installation

This MCP server can be installed in any AI client that supports the MCP protocol. Refer to your AI client's instructions if it isn't listed here.

Cursor installation steps

Create a .cursor/mcp.json file in your project root with the following content:

json
{
  "mcpServers": {
    "LaunchDarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      ]
    }
  }
}

Specify your API key as found on LaunchDarkly's Authorization page.

Claude installation steps

Add the following server definition to your claude_desktop_config.json file:

json
{
  "mcpServers": {
    "LaunchDarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      ]
    }
  }
}

Specify your API key as found on LaunchDarkly's Authorization page.

Qodo Gen installation steps

  1. Open Qodo Gen chat panel in VSCode or IntelliJ.
  2. Click Connect more tools.
  3. Click + Add new MCP.
  4. Add the following configuration:
json
{
  "mcpServers": {
    "LaunchDarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      ]
    }
  }
}

Specify your API key as found on LaunchDarkly's Authorization page.

  1. Click Save.

GitHub Copilot CLI installation steps

Use the Copilot CLI to interactively add the MCP server:

bash
/mcp add

Or create/edit ~/.copilot/mcp-config.json with the following content:

json
{
  "mcpServers": {
    "LaunchDarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      ]
    }
  }
}

Specify your API key as found on LaunchDarkly's Authorization page.

For more information, see the GitHub Copilot CLI documentation.

Standalone binary installation steps

You can also run the MCP server as a standalone binary with no additional dependencies. You must pull these binaries from available GitHub releases while specifying the appropriate tag value:

bash
curl -L -o mcp-server https://github.com/launchdarkly/mcp-server/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
chmod +x mcp-server

Installation steps from a local clone

You can also run the MCP server locally by cloning this repository. Once cloned, you'll need to install dependencies (npm install) and build the server (npm run build).

Then, configure your server definition to reference your local clone. For example:

json
{
  "mcpServers": {
    "launchdarkly": {
      "command": "node",
      "args": [
        "/path/to/mcp-server/bin/mcp-server.js", "start",
        "--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      ]
    }
  }
}

Installation steps using environment variables

Some AI clients allow for accessing environment variables within MCP configurations. In AI clients where this is supported, you can configure your MCP server to read from an environment variable like MCP_LD_TOKEN as follows:

json
{
  "mcpServers": {
    "launchdarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "$LD_ACCESS_TOKEN"
      ],
      "env": {
        "LD_ACCESS_TOKEN": "MCP_LD_TOKEN"
      }
    }
  }
}

Installation steps for Docker

If installing the MCP server from the AWS Markeplace, pull the image using an authenticated role using the provided instructions in the marketplace listing.

To run the container:

bash
docker run --rm -p 8080:8080 709825985650.dkr.ecr.us-east-1.amazonaws.com/launchdarkly/mcp --api-key api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 

Then, configure your server definition to reference your local clone. For example:

json
{
  "mcpServers": {
    "launchdarkly": {
      "command": "npx",
      "args": [
        "-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
        "--api-key", "$LD_ACCESS_TOKEN"
      ],
      "env": {
        "LD_ACCESS_TOKEN": "MCP_LD_TOKEN"
      }
      "url": "http://localhost:8080/sse"
    }
  }
}

This won't work in AI clients (such as Cursor) which don't support accessing environment variables directly within MCP configurations. As a workaround, you can invoke a local script from your MCP configuration. See here for an example.

Requirements

For supported JavaScript runtimes, please consult RUNTIMES.md.

Available Resources and Operations

AiConfigs

AuditLog

CodeReferences

Environments

FeatureFlags

  • getStatus - Get flag status across environments
  • list - List feature flags
  • create - Create a feature flag
  • get - Get feature flag
  • patch - Update feature flag
  • delete - Delete feature flag

Available Environments

Most customer accounts run on LaunchDarkly's commercial (default) environment. Customers on other environments can specify the --server-url argument to connect to the appropriate environment. For example, customers on LaunchDarkly's Federal environment should specify the --server-url https://app.launchdarkly.us argument when starting their MCP server.

EnvironmentServer URL
Commercial (Default)https://app.launchdarkly.com
Federalhttps://app.launchdarkly.us
EUhttps://app.eu.launchdarkly.com

Contributions

While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.

About LaunchDarkly

  • LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
    • Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
    • Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
    • Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
    • Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan).
    • Disable parts of your application to facilitate maintenance, without taking everything offline.
  • LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read our documentation for a complete list.
  • Explore LaunchDarkly

Installation

TypingMind
Voraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "launchdarkly-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@launchdarkly/mcp-server"
      ]
    }
  }
}

Verfügbare Tools

  • get-code-references

    Identifies which repositories have code references to a given flag, helping agents determine if they're operating on the correct repository and understand the scope of cleanup (single vs multi-repo).

  • get-flag-status-across-environments

    Returns lifecycle status (new, active, inactive, launched) based on actual usage patterns, evaluation counts, and configuration stability. This is the key intelligence for removal readiness assessment.

  • list-feature-flags

    Retrieves all feature flags within a project, including metadata and targeting rules. Enables AI agents to enumerate existing flags for inspection, configuration analysis, or generating flag usage reports across environments.

  • create-feature-flag

    Creates a new feature flag within a project. AI agents can use this operation to define feature toggles for controlled rollouts, experimentation, or gated features, automating the flag setup process.

  • get-feature-flag

    Fetches the full configuration for a specific feature flag, including environments, variations, and targeting rules. Useful for agents auditing or managing specific feature toggles in a detailed, contextual manner.

  • update-feature-flag

    Updates the configuration of an existing feature flag. Enables agents to change targeting rules, modify variations, or adapt rollout strategies dynamically in response to user behavior or experiment results.

  • delete-feature-flag

    Removes a feature flag from the project. Used by AI agents to clean up deprecated toggles that are no longer in use, improving system hygiene and maintainability.

  • get-environments

    Identifies which environments exist in a project and determines which are marked as "critical" (production, staging, etc.). Allows agents to programmatically identify critical environments instead of hardcoding assumptions.

  • get-ai-config-targeting

    Retrieves the targeting details of a specific AI Config, including individual targets, rules, and rollouts.

  • update-ai-config-targeting

    Updates the targeting of an existing AI Config.

  • list-ai-configs

    Retrieves AI configuration settings for a specific project. This endpoint allows agents to access and modify AI-related configurations, ensuring that the AI's behavior aligns with project requirements and user expectations.

  • create-ai-config

    Creates a new AI Config within a project. Useful for setting up LLM configurations programmatically.

  • delete-ai-config

    Deletes an AI Config and its associated variations. Intended for cleanup or deprecation workflows.

  • get-ai-config

    Retrieves details of a specific AI Config, including variations and model settings.

  • update-ai-config

    Updates metadata or configuration of an existing AI Config.

  • create-ai-config-variation

    Adds a new variation to an AI Config, supporting experimentation or multi-model strategies.

  • delete-ai-config-variation

    Deletes an AI Config variation.

  • get-ai-config-variation

    Retrieves an AI configuration variation.

  • update-ai-config-variation

    Updates a specific variation within an AI Config. Enables fine-tuned control of model behavior.

LaunchDarkly's Model Context Protocol (MCP) Server MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald LaunchDarkly's Model Context Protocol (MCP) Server verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

LaunchDarkly's Model Context Protocol (MCP) Server als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für LaunchDarkly's Model Context Protocol (MCP) Server ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "launchdarkly-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@launchdarkly/mcp-server"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von LaunchDarkly's Model Context Protocol (MCP) Server. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von LaunchDarkly's Model Context Protocol (MCP) Server.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit LaunchDarkly's Model Context Protocol (MCP) Server bei dieser Aufgabe helfen?
LaunchDarkly's Model Context Protocol (MCP) Server
Gerne. Ich habe es gelesen.
Das habe ich mit LaunchDarkly's Model Context Protocol (MCP) Server gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server LaunchDarkly's Model Context Protocol (MCP) Server verwendet?

LaunchDarkly's Model Context Protocol (MCP) Server ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich LaunchDarkly's Model Context Protocol (MCP) Server MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie LaunchDarkly's Model Context Protocol (MCP) Server mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum LaunchDarkly's Model Context Protocol (MCP) Server MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald LaunchDarkly's Model Context Protocol (MCP) Server verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich LaunchDarkly's Model Context Protocol (MCP) Server MCP mit TypingMind?

LaunchDarkly's Model Context Protocol (MCP) Server wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt LaunchDarkly's Model Context Protocol (MCP) Server MCP in TypingMind bereit?

LaunchDarkly's Model Context Protocol (MCP) Server stellt 19 MCP-Tools bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um LaunchDarkly's Model Context Protocol (MCP) Server MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls LaunchDarkly's Model Context Protocol (MCP) Server eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇