Dragonfly Cloud MCP server for AI agents

Live

BEARER TOKEN

DATASTORES

Developer Tools

Dragonfly Cloud MCP gives your agent control of your Dragonfly Cloud datastores: inspect datastore status and metrics, run RESP commands, manage backups, and create networks and VPC peering connections.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Dragonfly Cloud MCP
agent · Acme Q3
Run
Show me the slow log for the sessions datastore.
S
dragonflycloudmcp_dfcloud_datastore_slowlog
164ms
Datastore agent
3 slow queries on the sessions datastore, all KEYS-style scans over 100ms. The slowest took 412ms.
Sources: Dragonfly Cloud sessions datastore, 3 entries
dragonflycloudmcp
3 entries
18:29
Message Claude...

Tools your datastore agent reaches for on Dragonfly Cloud MCP, scoped per user.

CALL ANY TOOL
36 tools for datastores in Dragonfly Cloud: list and inspect datastores, read metrics and slow logs, run RESP commands, manage backups and networks, and query the audit log.
dragonflycloudmcp_dfcloud_backup_restore
Restore dfcloud backup
Restore a specific backup into a specific existing datastore. This replaces the datastore’s current data and is destructive. Only call this tool when the user has explicitly asked to restore the identified backup into the identified datastore. Never choose the backup or target datastore yourself. If either is ambiguous, ask the user to identify it before proceeding. The datastore enters restoring while the restore runs. After the call, report the backup, target datastore, and current status. If the status is still restoring, ask: “Would you like me to poll dfcloud_show_datastore until the datastore returns to active or reports an error?” Do not poll unless the user agrees. If the user agrees, poll until the restore finishes or reports an error, then report the outcome.
Parameters
Name
Type
Required
Description
backup_id
string
Required
the ID of the backup to restore
datastore_id
string
Required
the ID of the datastore to restore the backup into
force
boolean
Optional
bypass the check that the backup fits within the datastore's memory capacity
region
string
Optional
the region to restore the backup from; required if the backup was stored in multiple regions
dragonflycloudmcp_dfcloud_create_connection
Dfcloud create connection
dragonflycloudmcp_dfcloud_create_datastore
Dfcloud create datastore
dragonflycloudmcp_dfcloud_create_datastore_backup
Dfcloud create datastore backup
dragonflycloudmcp_dfcloud_datastore_info
Dfcloud datastore info
dragonflycloudmcp_dfcloud_datastore_metrics
Dfcloud datastore metrics
dragonflycloudmcp_dfcloud_datastore_objhist
Dfcloud datastore objhist
dragonflycloudmcp_dfcloud_datastore_resource_usage
Dfcloud datastore resource usage
dragonflycloudmcp_dfcloud_delete_backup
Dfcloud delete backup
dragonflycloudmcp_dfcloud_delete_connection
Dfcloud delete connection
dragonflycloudmcp_dfcloud_delete_datastore
Dfcloud delete datastore
dragonflycloudmcp_dfcloud_import_backup
Dfcloud import backup
dragonflycloudmcp_dfcloud_list_backups
Dfcloud list backups
dragonflycloudmcp_dfcloud_list_byoc_accounts
Dfcloud list byoc accounts
dragonflycloudmcp_dfcloud_list_connections
Dfcloud list connections
dragonflycloudmcp_dfcloud_list_datastore_migrations
Dfcloud list datastore migrations
dragonflycloudmcp_dfcloud_list_datastore_shards
Dfcloud list datastore shards
dragonflycloudmcp_dfcloud_list_datastores
Dfcloud list datastores
dragonflycloudmcp_dfcloud_list_instance_families
Dfcloud list instance families
dragonflycloudmcp_dfcloud_list_networks
Dfcloud list networks
dragonflycloudmcp_dfcloud_query_audit_log
Log dfcloud query audit
dragonflycloudmcp_dfcloud_run_datastore_command
Dfcloud run datastore command
dragonflycloudmcp_dfcloud_run_readonly_datastore_command
Dfcloud run readonly datastore command
dragonflycloudmcp_dfcloud_show_backup
Dfcloud show backup
dragonflycloudmcp_dfcloud_show_byoc_account
Dfcloud show byoc account
dragonflycloudmcp_dfcloud_show_connection
Dfcloud show connection
dragonflycloudmcp_dfcloud_show_datastore
Dfcloud show datastore
dragonflycloudmcp_dfcloud_start_datastore
Dfcloud start datastore
dragonflycloudmcp_dfcloud_stop_datastore
Dfcloud stop datastore
dragonflycloudmcp_dfcloud_update_datastore
Dfcloud update datastore

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Dragonfly Cloud tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["dragonflycloudmcp"], toolNames: [
    "dragonflycloudmcp_dfcloud_list_datastores",
    "dragonflycloudmcp_dfcloud_datastore_metrics",
    "dragonflycloudmcp_dfcloud_create_datastore_backup"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my datastores, check the metrics on the sessions datastore, and take a manual backup of it" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["dragonflycloudmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my datastores, check the metrics on the sessions datastore, and take a manual backup of it" }],
  tools,
});

// Execute the tool call with the user's vaulted Dragonfly Cloud access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["dragonflycloudmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my datastores, check the metrics on the sessions datastore, and take a manual backup of it" }],
  tools,
});

// Tool call runs with the user's vaulted Dragonfly Cloud access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["dragonflycloudmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "datastore_agent",
  model: "gemini-2.5-pro",
  instruction: "Dragonfly Cloud tools scoped to this user",
  tools,
});

await agent.run("List my datastores, check the metrics on the sessions datastore, and take a manual backup of it");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Dragonfly Cloud MCP tool. Click to copy, paste into your agent, done.
Datastores
Copy the prompt
Copied
List all my datastores and their status.
Copy the prompt
Copied
Show the resource usage for the sessions datastore over the last 6 hours.
Copy the prompt
Copied
Run INFO on the cache datastore.
Backups and networks
Copy the prompt
Copied
List the backups for the sessions datastore.
Copy the prompt
Copied
Trigger a manual backup of the cache datastore.
Copy the prompt
Copied
Show the status of my private networks and connections.
Commands and audit
Copy the prompt
Copied
Run a read-only command to check the TTL of this key.
Copy the prompt
Copied
List the shards of the orders cluster datastore and their slot ranges.
Copy the prompt
Copied
Query the audit log for datastore changes this week.
SEE HOW AUTH WORKS
Each user connects their own Dragonfly Cloud access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Dragonfly Cloud MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Dragonfly Cloud MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Dragonfly Cloud MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Dragonfly Cloud MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other database and developer tools connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Test other agents
See the same per-user auth pattern across other database and developer tools connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Dragonfly Cloud access token looks fine in a demo. In production every datastore change and delete looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Dragonfly Cloud today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Dragonfly Cloud as the user or through a shared token?
As the user. Each user connects their own Dragonfly Cloud access token once, and Scalekit sends it with every call. Audit logs attribute every datastore change, backup, and delete to that user, not a shared service account.
Where is the Dragonfly Cloud access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Dragonfly Cloud?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, show, and metrics tools without dragonflycloudmcp_dfcloud_delete_datastore, dragonflycloudmcp_dfcloud_backup_restore, or dragonflycloudmcp_dfcloud_run_datastore_command, which runs any RESP command. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Dragonfly Cloud access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent run commands on a Dragonfly Cloud datastore?
dragonflycloudmcp_dfcloud_run_readonly_datastore_command runs a read-only RESP command and returns the result as JSON. dragonflycloudmcp_dfcloud_run_datastore_command runs any RESP command, so leave it out of toolNames if the agent should only read.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""dragonflycloudmcp"": {
""url"": ""https://mcp.scalekit.com/dragonflycloudmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.dragonflycloudmcp]
url = ""https://mcp.scalekit.com/dragonflycloudmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""dragonflycloudmcp"": {
""url"": ""https://mcp.scalekit.com/dragonflycloudmcp"",
""type"": ""http""
}
}
}