PlugWiki
mcp-server logo

LaunchDarkly Local MCP Server: Setup for Claude, Cursor and Other Apps

OfficialLocal
Getnpm@launchdarkly/mcp-serverlaunchdarkly/mcp-server

Lets your assistant list, create and update LaunchDarkly feature flags, experiments, metrics and AI Configs.

This is LaunchDarkly's self-run server. It runs on your computer and uses a LaunchDarkly API access token. LaunchDarkly says to use its hosted server where you can, because it is more complete and updated more often. This local one is for EU and Federal accounts, which do not have the hosted server yet.

Good for

  • Teams on LaunchDarkly EU or Federal who want flag changes from their assistant
  • Developers who check flag status across environments while coding
  • Product teams that manage experiments and metrics

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install mcp-server

Claude Code

  1. 1

    Copy this prompt.

    Add the mcp-server server to Claude Code. Run this command:
    
    claude mcp add LaunchDarkly -- npx -y --package @launchdarkly/mcp-server -- mcp start --api-key api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js 22.23.4, 24.22.1, 26.12.1 or later.

Read-only mode: Add `--scope read` to the start command (after `mcp start`) to load only the read tools. The README does not mention this option; it comes from the server source.

Replace the example key with your LaunchDarkly API access token. For a Federal or EU account, add --server-url with your region's address after the key. The README says to prefer the hosted server where your account supports it.

From the project README. Source.

Tools

  • Lists your feature flags

    Lists the feature flags in a project.

    Try: “List the feature flags in my web project.”

    Network · list-feature-flags

  • Shows one flag

    Gets the details of a feature flag.

    Try: “Show me the new-checkout flag.”

    Network · get-feature-flag

  • Shows a flag's status in each environment

    Returns the status of a flag across environments.

    Try: “Is new-checkout on in production and staging?”

    Network · get-flag-status-across-environments

  • Creates a feature flag

    Creates a new feature flag.

    Try: “Create a boolean flag called dark-mode.”

    Write · create-feature-flag

  • Updates a flag

    Changes a flag, for example to turn it on or off or to edit its targeting.

    Try: “Turn on dark-mode for 10 percent of users in staging.”

    Write · update-feature-flag

  • Deletes a flag

    Deletes a feature flag.

    Try: “Delete the old-banner flag.”

    Delete · delete-feature-flag

  • Lists the environments in a project

    Lists the environments of a project.

    Try: “What environments does my web project have?”

    Network · get-environments

  • Shows recent changes in the audit log

    Lists audit log entries.

    Try: “Who changed flags this week?”

    Network · get-audit-log-entries

  • Lists repositories with flag references

    Lists the code repositories that reference your flags.

    Try: “Which repos use LaunchDarkly flags?”

    Network · get-code-references

  • Lists experiments

    Gets the experiments in a project.

    Try: “List my running experiments.”

    Network · list-experiments

  • Lists experiments in every environment

    Gets experiments across any environment.

    Try: “List experiments in all environments.”

    Network · list-experiments-any-environment

  • Shows one experiment

    Gets one experiment.

    Try: “Show the checkout experiment.”

    Network · get-experiment

Read from the source code

Permissions

high risk · 4 things to watch

High risk

It can change and delete feature flags and AI Configs, and a flag change can switch features on or off for real users. Use an access token with a reader role, or a role limited to a test project, unless you need changes.

What it can do

Watch out for

  • It can delete flags and AI Configs

    Delete tools remove flags, AI Configs and their variations. Start the server with `--scope read`, or use a reader token, if you only want to look.

  • A flag update can change what real users see

    Updating a flag or its targeting can turn features on or off in production. Ask for a review of the change before you approve it.

  • The token sits in your config file

    The README puts the API key in the command arguments. Keep the file private, or load it from an environment variable where your app supports that.

  • Use a patched Node.js version

    The README lists minimum Node.js versions, 22.23.4, 24.22.1 or 26.12.1, to protect the connection to LaunchDarkly.

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyAdd `--scope read` to the start command to load only read tools. The server source defines the scopes read and write; the README does not mention it.
Talks toLaunchDarkly API (commercial, Federal or EU address)
Scopes
  • LaunchDarkly API access token (its role decides what is allowed)

Questions

Is it official?

Yes. It comes from the LaunchDarkly GitHub organization.

Should I use this or the hosted LaunchDarkly server?

Use the hosted server if your account supports it. LaunchDarkly says it is more complete and updated more often. This local one is for EU and Federal accounts, which cannot use the hosted server yet.

Do I need an API key?

Yes. Use a LaunchDarkly API access token from the Authorization page of your account. The role on the token decides what it can do.

How do I use it with a Federal or EU account?

Add the --server-url option with your region's address. The README lists https://app.launchdarkly.us for Federal and https://app.eu.launchdarkly.com for EU.

Can I run it read-only?

Yes. Add --scope read to the start command to load only the read tools. This option is in the server source, not the README. A token with a reader role also stops changes.

Can it delete flags?

Yes. It can delete feature flags, AI Configs and their variations. Use --scope read or a reader token if you only want to look.

Information

updated Nov 2, 2026

Publisher
Official
Package
@launchdarkly/mcp-server
Registry
npm
Transport
stdio
Auth
API key
Version
0.7.2
License
MIT
Last commit
Oct 31, 2026
Open issues
11

GitHubnpmChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 2
  1. github.com · github.com
  2. LaunchDarkly MCP server README · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.