Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Dragonfly Cloud MCP server

Vendor MCP
Open markdown

The Dragonfly Cloud MCP connector routes your AI agent's tool calls to Dragonfly Cloud's own MCP server through Scalekit. Each user connects their own Dragonfly Cloud access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 36 tools.

Tools
36
What they doRead · write · destructive
22 · 9 · 522 read9 write5 destructive
Users sign in with

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 Dragonfly Cloud MCP connection

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

  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 = 'dragonflycloudmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Dragonfly Cloud 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: 'dragonflycloudmcp_dfcloud_list_backups',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Dragonfly Cloud MCP server credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • dragonflycloudmcp_dfcloud_datastore_infoRun the INFO command on a datastore and return the result as JSON.Read-only

    Retrieve Dragonfly Cloud Datastore RESP INFO Output

    Run the INFO command on a datastore and return the result as JSON.

    Inputs

    datastore_idstringrequired
    the ID of the datastore to retrieve INFO from
    node_idstring
    optional ID of a specific node (see dfcloud_list_datastore_nodes) to target, e.g. a shard master in a clustered datastore; defaults to the datastore master
  • dragonflycloudmcp_dfcloud_datastore_metricsFetch the instant Prometheus metrics for a datastore (optionally for a single node via node_id; CPU, memory, ops/sec, hit rate, connected clients, etc).Read-only

    Retrieve Dragonfly Cloud Datastore Instant Metrics

    Fetch the instant Prometheus metrics for a datastore (optionally for a single node via node_id; CPU, memory, ops/sec, hit rate, connected clients, etc).

    Inputs

    datastore_idstringrequired
    the ID of the datastore to retrieve metrics for
    node_idstring
    optional ID of a specific node (see dfcloud_list_datastore_nodes) to restrict metrics to; defaults to all nodes of the datastore
  • dragonflycloudmcp_dfcloud_datastore_objhistRun the DEBUG OBJHIST command on a datastore and return the result as JSON.Read-only

    Retrieve Dragonfly Cloud Datastore OBJHIST

    Run the DEBUG OBJHIST command on a datastore and return the result as JSON.

    Inputs

    datastore_idstringrequired
    the ID of the datastore to retrieve object histogram from
    node_idstring
    optional ID of a specific node (see dfcloud_list_datastore_nodes) to target, e.g. a shard master in a clustered datastore; defaults to the datastore master
  • dragonflycloudmcp_dfcloud_datastore_resource_usageQuery time-series resource usage (CPU and/or memory) for a datastore over a time range.Read-only

    Retrieve Dragonfly Cloud Datastore Memory Usage

    Query time-series resource usage (CPU and/or memory) for a datastore over a time range. Defaults to the last hour when start/end are not provided.

    Inputs

    datastore_idstringrequired
    the ID of the datastore to retrieve usage for
    endinteger
    end timestamp as Unix seconds; if unset, defaults to now
    resourcestring
    which resource to query: 'cpu', 'memory', or empty for both (default: both)
    startinteger
    start timestamp as Unix seconds; if unset, defaults to 1 hour before end
    stepinteger
    query step in seconds (default: 30)
  • dragonflycloudmcp_dfcloud_datastore_slowlogRun SLOWLOG GET on a datastore and return the slow query log entries as JSON.Read-only

    Retrieve Dragonfly Cloud Datastore Slow Log

    Run SLOWLOG GET on a datastore and return the slow query log entries as JSON.

    Inputs

    datastore_idstringrequired
    the ID of the datastore to retrieve the slow log from
    countinteger
    maximum number of slow log entries to return (default: 128)
    node_idstring
    optional ID of a specific node (see dfcloud_list_datastore_nodes) to target, e.g. a shard master in a clustered datastore; defaults to the datastore master
  • dragonflycloudmcp_dfcloud_list_backupsList backups.Read-only

    List Dragonfly Cloud Backups

    List backups. Supports filtering by datastore ID.

    Inputs

    datastore_idstring
    only return backups taken from this datastore
    limitinteger
    maximum number of backups to return
  • dragonflycloudmcp_dfcloud_list_byoc_accountsList Bring Your Own Cloud (BYOC) accounts.Read-only

    List BYOC Accounts

    List Bring Your Own Cloud (BYOC) accounts. Supports filtering by customer ID (superuser only) and including deleted accounts.

    Inputs

    This tool takes no inputs.

  • dragonflycloudmcp_dfcloud_list_connectionsList all network connections.Read-only

    List Dragonfly Cloud Private Network Connections

    List all network connections.

    Inputs

    This tool takes no inputs.