LaunchDarkly MCP Server
An MCP server that lets AI assistants manage LaunchDarkly feature flags via natural language.
README
LaunchDarkly MCP Server
An MCP (Model Context Protocol) server that lets AI assistants (Claude, Cursor, etc.) manage LaunchDarkly feature flags via natural language.
Quick Start
Prerequisites
- Python 3.10+
- A LaunchDarkly API access token (create one here)
Install & Run
# Install from PyPI
pip install launchdarkly-mcp-server
# Set your API key
export LD_API_KEY="your-api-key-here"
# Run the server
launchdarkly-mcp
Or use uvx (no install needed):
export LD_API_KEY="your-api-key-here"
uvx launchdarkly-mcp-server
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"launchdarkly": {
"command": "uvx",
"args": ["launchdarkly-mcp-server"],
"env": {
"LD_API_KEY": "your-api-key-here"
}
}
}
}
Restart Claude Desktop and look for the hammer icon — your LaunchDarkly tools are ready.
Available Tools
Phase 1 — Read-only
| Tool | Description |
|---|---|
list_projects |
List all projects in the account |
list_flags |
List feature flags for a project (filterable by env, limit, offset) |
get_flag |
Get detailed flag config including targeting rules |
get_environments |
List environments for a project |
search_audit_log |
Search audit log with LD filter syntax or convenience params |
get_flag_status |
Check if a flag is on/off in a specific environment |
Phase 2 — Write operations
| Tool | Description |
|---|---|
toggle_flag |
Turn a flag on/off in a specific environment |
update_flag_targeting |
Add or remove users/contexts from targeting |
create_flag |
Create a new feature flag skeleton |
get_flag_prerequisites |
Check flag dependencies |
Examples
Ask Claude:
"What projects do I have in LaunchDarkly?"
"List my feature flags in the production environment"
"Turn on the
new-checkoutflag in staging"
"Who made changes to the
dark-modeflag in the last week?"
"Add user
alice@example.comto the beta flag targeting"
Development
git clone https://github.com/your-org/launchdarkly-mcp-server
cd launchdarkly-mcp-server
uv venv
uv pip install -e ".[dev]"
Run tests:
uv run pytest
Architecture
AI Assistant ── MCP (stdio) ──► launchdarkly-mcp-server ── HTTPS ──► LaunchDarkly API
Built with fastmcp (Python).
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.