Skills
Skill 44 of 49
Configure the LaunchDarkly hosted MCP server during onboarding. Use when the parent LaunchDarkly onboarding skill reaches the MCP offer, after the first flag works.
6 minutes · 1,277 words · 12 sections
Install
npx skills add launchdarkly/ai-tooling --skill mcp-configurenpx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Configures the LaunchDarkly hosted MCP server so flag management skills and onboarding can use MCP tools. Uses OAuth for authentication — no API keys needed for the hosted server.
This skill is nested under LaunchDarkly onboarding; the parent skill hands off here once the first flag works.
https://app.launchdarkly.com/signup?source=agent)LaunchDarkly provides a unified hosted MCP server for all functionality:
| Server | URL | Purpose |
|---|---|---|
| LaunchDarkly (unified) | https://mcp.launchdarkly.com/mcp/launchdarkly | Feature flags and AgentControl |
The legacy mcp/fm and mcp/aiconfigs URLs are deprecated — migrate any existing usage to the unified server (see Edge Cases).
For onboarding, the unified server is all that’s needed.
If the parent onboarding skill already identified the agent, use that context. Otherwise infer from agent-specific directories, config files, and the tools available to you at runtime. Do not ask the user — pick the strongest match.
The fastest path is the quick install link. Present it to the user:
LaunchDarkly MCP: https://mcp.launchdarkly.com/mcp/launchdarkly/install (opens in a new tab)
Important: tell the user what to expect after clicking the link. The install link may open in the browser, but the authorization or “add server” prompt typically appears back in the coding environment (the editor or host app where the agent runs), not in the browser. Immediately after presenting the link, include guidance like:
If the quick install link doesn’t work (agent doesn’t support it, or user prefers manual setup), proceed to Step 3.
Locate the MCP config file for the detected agent and add the hosted server entry. See MCP Config Templates (opens in a new tab) for the exact JSON per agent.
| Agent | Config file location |
|---|---|
| Cursor | .cursor/mcp.json (project) or global Cursor settings |
| Claude Code | .mcp.json (project) or ~/.claude.json (global) |
| GitHub Copilot | Repo Settings on GitHub.com → Copilot → Cloud agent → MCP (see MCP UI links (opens in a new tab)) |
| Windsurf | Agent-specific MCP config |
Add the unified LaunchDarkly server for onboarding. This single server handles feature flags and AgentControl.
After writing the config, some agents need extra steps. Do not send users through long manual menu paths only—use MCP UI links (opens in a new tab) (HTTPS docs + command: shortcuts for VS Code / Cursor).
Cursor:
command: link when clickable).VS Code (when applicable):
mcp.json / Settings links (opens in a new tab); trust or start the server if prompted.Claude Code:
GitHub Copilot:
Restart is no longer required for Cursor or Claude Code after enabling an MCP server. Probe for tools immediately after the user confirms they’ve enabled and authorized the server.
Tell the user to enable and authorize the server. In Cursor: toggle on the LaunchDarkly server in MCP settings and click Connect. In Claude Code: the OAuth prompt appears on first tool call. Do not tell them to restart yet.
Probe immediately. After the user confirms the server is enabled, call a lightweight MCP tool (e.g. list-feature-flags with the user’s project key). Do not ask the user whether MCP is working — just try it.
3a. Auth failure path. The MCP server is reachable but OAuth is incomplete or expired — restarting the editor won’t help.
3b. Server-not-found path. The editor likely hasn’t loaded the new MCP config yet.
On resume after restart: The parent onboarding skill detects live state, so no log file is needed. When the next turn starts:
If the failure looks like a config issue (wrong file path, server not enabled), mention the likely cause so the user can fix it on their own time — but do not block progress.
mcp/launchdarkly) is present and working, skip configuration. If the deprecated mcp/fm or mcp/aiconfigs is present, see below.mcp/aiconfigs or mcp/fm server: These URLs are deprecated. Do not auto-migrate. Use a blocking question:{
"questions": [
{
"id": "legacy_migration",
"prompt": "I found a deprecated LaunchDarkly MCP URL in your config (mcp/fm or mcp/aiconfigs). It should be replaced with the unified LaunchDarkly server (mcp/launchdarkly), which handles both feature flags and AgentControl. Do you want me to migrate?",
"options": [
{ "id": "yes", "label": "Yes, remove the old server and add the unified one" },
{ "id": "no", "label": "No, leave it as is for now" }
]
}
]
}If yes: remove the deprecated entry, ensure the unified mcp/launchdarkly server is present (do not duplicate if it’s already there), and continue.
If no: leave the config untouched and continue with onboarding — the deprecated server may still work for now.
User has the old npx-based local server: Migrate them to the hosted server. Remove the old npx @launchdarkly/mcp-server entry and any LD_ACCESS_TOKEN env vars. Replace with the hosted server config.
Agent not in known list: Provide the generic pattern: the user needs to add an MCP server entry pointing to https://mcp.launchdarkly.com/mcp/launchdarkly using whatever format their agent expects.
User opts out of MCP during onboarding: Document that choice and continue; do not block SDK work.
mcp/aiconfigs — always ask via the blocking question.command: links to open MCP settings (Cursor, VS Code, Claude Code, Windsurf, GitHub)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.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/onboarding/mcp-configure/SKILL.mdmain, last pushed 21 September 2026.SKILL.md, not by matching a directory convention. 8 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LaunchDarkly, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./launchdarkly/ai-tooling.md, and each skill at its own .md URL.2 files · 8 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 44.
Documentation the agent loads on demand, rather than up front.