At a glance
- Availability: Experimental (how to enable).
- Authentication: API key.
- Connection: The key comes from
LAUNCHDARKLY_API_TOKEN. - Provider documentation: Authentication reference.
Credentials
Set these per environment. See Connect an integration.Setup
- Sign in to LaunchDarkly: Use an existing account or start a trial at https://app.launchdarkly.com. A project with a couple of test flags is enough to exercise all tools.
- Create an access token: Go to Organization settings → Authorization (https://app.launchdarkly.com/settings/authorization) and create a personal or service access token. A Reader role token is enough for the read tools; toggling flags needs Writer access to the relevant projects.
- Set the environment variable: Add the token to your .env as LAUNCHDARKLY_API_TOKEN=…
- Verify access: Run List Projects, then List Feature Flags with a project key.
Provider notes
- The Authorization header contains the raw token with no Bearer prefix
- Toggle Feature Flag uses LaunchDarkly’s semantic patch format: Content-Type ‘application/json; domain-model=launchdarkly.semanticpatch’ with an instructions array
- EU and Federal instances use different hosts (app.eu.launchdarkly.com, app.launchdarkly.us); these tools target the commercial instance at app.launchdarkly.com
Tools
Verify the connection
Call a read tool such aslaunchdarkly__list_projects with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.