Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the LaunchDarkly MCP server

Vendor MCP
Open markdown

The LaunchDarkly MCP connector routes your AI agent's tool calls to LaunchDarkly's own MCP server through Scalekit. Each user signs in to LaunchDarkly once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 162 tools.

Tools
162
What they doRead · write · destructive
75 · 57 · 3075 read57 write30 destructive
Users sign in with
OAuth app
Scalekit's or your own

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the LaunchDarkly MCP connection

    In AgentKit > Connections, create a LaunchDarkly MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Scalekit credentials are available for LaunchDarkly MCP server, so you don't need to register an OAuth app.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'launchdarklymcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize LaunchDarkly MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'launchdarklymcp_find_o11y_project',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • launchdarklymcp_find_o11y_projectFind the LaunchDarkly project that holds a service's observability data (logs, traces, metrics, errors).Read-only

    Find O11y Project

    Find the LaunchDarkly project that holds a service's observability data (logs, traces, metrics, errors). Use this before other observability tools when you know a service but not its project; a project's name often does not match the services it holds. A match means the project has had data for the service, not that it is sending now; confirm the window with get-keys key=service_name. Pass the returned projectKey to the other observability toolruntime.

    Inputs

    projectQuerystring
    Only check LaunchDarkly projects whose name or key contains this text. Omit to check every project.
    serviceNamestring
    Service name or a part of it, case-insensitive, e.g. checkout or checkout-api. Omit to list every project that has reported any service.
  • launchdarklymcp_get_agent_config_approvalsList approval requests for an AgentControl Config.Read-only

    Get Agent Config Approvals

    List approval requests for an AgentControl Config. Pass projectKey and configKey, or only id. Each request has a url that opens it in LaunchDarkly. reviewStatus is the reviewers' decision: pending, approved, or declined. status is the change itself: pending, scheduled, completed (applied), or failed. Pass id to return only that request, for example to check whether it was approved; the id from create is enough on its own, and any key passed with it must match the request's resource. Each request lists its reviews with kind and comment, so a decline shows its reason. For integration-managed approvals with auto-apply on, reading a request can make LaunchDarkly apply it once approved.

    Inputs

    configKeystring
    No description.
    envstring
    Environment key. If the user hasn't named one, ask; don't guess.
    idstring
    Return only this approval request.
    projectKeystring
    Project key. If the user hasn't named one, ask; don't guess.
  • launchdarklymcp_get_agent_configsWithout configKey: search and browse AgentControl Configs (query, tags, view, modes, maintainerId, maintainerTeamKey, sort, limit, offset; filters combine with AND).Read-only

    Get Agent Configs

    Without configKey: search and browse AgentControl Configs (query, tags, view, modes, maintainerId, maintainerTeamKey, sort, limit, offset; filters combine with AND). With configKey: get one config; section is config (default, with variations), health (missing variations, models, prompts, tool references), status (lifecycle across every environment; no env needed), targeting (one environment; requires env), or versions (every saved version of one variation, newest first; requires variationKey). To restore an earlier prompt or model, pass that version's model and messages to update-agent-config resource=variation.

    Inputs

    projectKeystringrequired
    Project key. If the user hasn't named one, ask; don't guess.
    configKeystring
    No description.
    envstring
    Required for section=targeting; not used by the other sections.
    limitinteger
    No description.
    maintainerIdstring
    A member ID.
    maintainerTeamKeystring
    No description.
    modesarray
    No description.
    offsetinteger
    No description.
    querystring
    No description.
    sectionstring
    Only with configKey. Defaults to config.one of confighealthstatustargetingversions
    sortstring
    No description.one of creationDate-creationDatelastModified-lastModifiedname-name
    tagsarray
    No description.
    variationKeystring
    Required for section=versions; not used by the other sections.
    viewstring
    No description.
  • launchdarklymcp_get_agent_graphsWithout graphKey: list AgentControl graphs in a project (limit, offset).Read-only

    Get Agent Graphs

    Without graphKey: list AgentControl graphs in a project (limit, offset). With graphKey: get one graph including its edges. Timestamps in the result are UTC.

    Inputs

    projectKeystringrequired
    Project key. If the user hasn't named one, ask; don't guess.
    graphKeystring
    No description.
    limitinteger
    No description.
    offsetinteger
    No description.
  • launchdarklymcp_get_agent_skillsAgentControl agent skills: versioned SKILL.md documents that AgentControl Config variations attach by {key, version}.Read-only

    Get Agent Skills

    AgentControl agent skills: versioned SKILL.md documents that AgentControl Config variations attach by {key, version}. These are not the LaunchDarkly workflow guides served by get-skills and load-skill. Without skillKey: list skills (query matches key, name, or description); when hasMore is true, pass nextOffset as offset. With skillKey: section skill (default) returns the latest version with its markdown; versions lists every version newest first with its markdown; references lists the variations that attach the skill and the version each one pins.

    Inputs

    projectKeystringrequired
    Project key. If the user hasn't named one, ask; don't guess.
    limitinteger
    Defaults to 25. Not used by section skill.
    offsetinteger
    Pass nextOffset from the previous page.
    querystring
    Only without skillKey.
    sectionstring
    Only with skillKey. Defaults to skill.one of skillversionsreferences
    skillKeystring
    No description.
  • launchdarklymcp_get_ai_configGet details about a specific AI Config including its variations and metadata.Read-only

    GetAiConfig

    Get details about a specific AI Config including its variations and metadata.

    Inputs

    configKeystringrequired
    The key of the AI Config to retrieve.
    projectKeystringrequired
    The project key where the AI Config resides.
  • launchdarklymcp_get_ai_config_healthGet the health status of an AI Config including latency, error rates, and evaluation metrics.Read-only

    GetAiConfigHealth

    Get the health status of an AI Config including latency, error rates, and evaluation metrics.

    Inputs

    configKeystringrequired
    The key of the AI Config to retrieve health status for.
    environmentKeystringrequired
    The environment key to retrieve health metrics from.
    projectKeystringrequired
    The project key identifying which project contains the AI Config.
  • launchdarklymcp_get_ai_config_status_across_envsGet the status of an AI Config across all environments in a project.Read-only

    GetAiConfigStatusAcrossEnvs

    Get the status of an AI Config across all environments in a project.

    Inputs

    configKeystringrequired
    The key of the AI Config to retrieve status across all environments.
    projectKeystringrequired
    The project key identifying which project contains the AI Config.