All skills
launchdarkly avatar

/mcp-configure

@45fcc25 official

Configure the LaunchDarkly hosted MCP server during onboarding. Use when the parent LaunchDarkly onboarding skill reaches the MCP offer, after the first flag works. Supports Cursor, Claude Code, Windsurf, GitHub Copilot, and other MCP-compatible agents. OAuth authentication; no API keys for the hosted server.

Use this Skill: https://skilld.dev/gh/launchdarkly/agent-skills/mcp-configure

This session only. Nothing lands on disk.

referencesmcp-config-templates.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

MCP Config Templates

Per-agent JSON snippets for configuring the LaunchDarkly hosted MCP server. All configurations use OAuth — no API keys required.

Source: https://launchdarkly.com/docs/home/getting-started/mcp-hosted

Unified Server (Recommended)

Use the unified server URL for new configurations:

Server URL Purpose
LaunchDarkly (unified) https://mcp.launchdarkly.com/mcp/launchdarkly Feature flags and AgentControl

Legacy URLs (deprecated):

  • mcp/fm — deprecated. Migrate to the unified server.
  • mcp/aiconfigs — deprecated. Migrate to the unified server.

See mcp-configure Edge Cases for migration guidance.

Cursor

Config file: .cursor/mcp.json in the project root.

Unified server (recommended)

{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly",
      "headers": {}
    }
  }
}

Legacy feature management only (deprecated)

Deprecated: mcp/fm is deprecated. Use the unified server URL above.

{
  "mcpServers": {
    "LaunchDarkly feature management": {
      "url": "https://mcp.launchdarkly.com/mcp/fm",
      "headers": {}
    }
  }
}

After adding the config: enable the server and complete OAuth in Cursor's MCP UI. Use MCP UI links — Cursor (HTTPS doc + optional command: links); do not rely only on nested Settings menu paths.

Claude Code

Config file: .mcp.json in the project root, or ~/.claude.json for global config.

Unified server (recommended)

{
  "mcpServers": {
    "LaunchDarkly": {
      "type": "http",
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly"
    }
  }
}

Legacy feature management only (deprecated)

Deprecated: mcp/fm is deprecated. Use the unified server URL above.

{
  "mcpServers": {
    "LaunchDarkly feature management": {
      "type": "http",
      "url": "https://mcp.launchdarkly.com/mcp/fm"
    }
  }
}

Authorization happens automatically via OAuth prompt on first MCP tool call.

GitHub Copilot

Configured via the GitHub web UI, not a local config file.

  1. Navigate to the target repository on GitHub
  2. Go to Settings > Code and automation > Copilot > Coding agent
  3. In the MCP configuration section, add:
{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly",
      "headers": {}
    }
  }
}
  1. Click Save

Windsurf

Windsurf uses a similar MCP configuration format. Add to the agent's MCP config:

{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly"
    }
  }
}

Consult Windsurf's documentation for the exact config file location.

Migrating from Deprecated mcp/fm

The mcp/fm URL is deprecated. Replace it with the unified server.

Remove this:

{
  "mcpServers": {
    "LaunchDarkly feature management": {
      "url": "https://mcp.launchdarkly.com/mcp/fm",
      "headers": {}
    }
  }
}

Replace with:

{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly",
      "headers": {}
    }
  }
}

Migrating from Deprecated mcp/aiconfigs

The mcp/aiconfigs URL is deprecated. Replace it with the unified server.

Remove this:

{
  "mcpServers": {
    "LaunchDarkly AI Configs": {
      "url": "https://mcp.launchdarkly.com/mcp/aiconfigs",
      "headers": {}
    }
  }
}

Replace with:

{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly",
      "headers": {}
    }
  }
}

The unified server handles both feature flags and AgentControl. If you also had mcp/fm, migrate it to the unified server — mcp/fm is deprecated and will be removed.

Note: Do not auto-migrate. Always ask the user via a blocking question before making changes (see mcp-configure Edge Cases).

Migrating from the Old Local Server

If the user has the old npx-based server configured with an inline API key, replace it with the hosted unified server:

Remove this:

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

Replace with the unified hosted server:

{
  "mcpServers": {
    "LaunchDarkly": {
      "url": "https://mcp.launchdarkly.com/mcp/launchdarkly",
      "headers": {}
    }
  }
}

Also remove any LD_ACCESS_TOKEN or LAUNCHDARKLY_API_KEY environment variables that were used for the local server. The hosted server handles authentication via OAuth.

Source: SKILL.md on GitHub

1 alert4mo4 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    This skill provides configuration guidance for the LaunchDarkly Model Context Protocol (MCP) server. It includes robust security practices for handling API tokens, such as explicit user warnings, blocking decision points, and instructions for using .gitignore to protect local secrets.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: HIGH · 2 issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 45fcc25. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last month
compatibility
Requires an MCP-compatible coding agent and a LaunchDarkly account
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0"
}
  • MCP
  • launchdarkly
  • oauth
  • cursor
  • claude
  • github-copilot
  • windsurf
  • feature-flags
  • onboarding

README badge

README badge for launchdarkly/agent-skills/mcp-configure

Configures the LaunchDarkly hosted MCP server for Cursor, Claude Code, Windsurf, GitHub Copilot, and other MCP-compatible agents during onboarding. Uses OAuth authentication to enable feature flag management and AgentControl tools without API keys.

Generated from the current SKILL.md.

Does this skill work with my coding agent?
Yes, if it's MCP-compatible. Cursor, Claude Code, Windsurf, and GitHub Copilot are explicitly supported. For other agents, you need to add an MCP server entry pointing to https://mcp.launchdarkly.com/mcp/launchdarkly in whatever config format your agent expects.
Do I need an API key to use the hosted MCP server?
No. The hosted server uses OAuth authentication, so no API keys are required.
What if I already have a deprecated MCP server configured?
The skill detects old endpoints (mcp/fm, mcp/aiconfigs, or the npx-based local server) and walks you through migrating to the unified mcp/launchdarkly server. You can choose to update or leave it as-is.
What happens if the quick install link doesn't work?
The skill falls back to manual configuration. You'll edit your agent's MCP config file (e.g. .cursor/mcp.json or .mcp.json) to add the hosted server entry, then authorize in your editor's MCP settings.
Do I need to restart my editor after configuring MCP?
Not always. Some agents (Cursor, Claude Code) enable MCP tools immediately. If tools don't appear, the skill will suggest a restart and resume from where you left off.

Generated from the current SKILL.md. These answers refresh after source changes.