cloud
DigitalOcean MCP, CLI, and Lua Integration for AI Agents
DigitalOcean integration docs for AI agents: MCP gateway setup, DigitalOcean CLI commands, Lua API reference, credentials, and function schemas.
10 functions 7 read 3 write Bearer token auth
DigitalOcean for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
digitalocean- route_slug
digitalocean- package
digitalocean- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. DigitalOcean CLIHeadless setup and direct function calls. DigitalOcean MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
DigitalOcean MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for DigitalOcean.
Claude Code DigitalOcean MCP setup for Claude Code. Cursor DigitalOcean MCP setup for Cursor. Codex DigitalOcean MCP setup for Codex. OpenAI Agents DigitalOcean MCP setup for OpenAI Agents SDK. Claude Agent SDK DigitalOcean MCP setup for Claude Agent SDK. Vercel AI SDK DigitalOcean MCP setup for Vercel AI SDK. LangChain DigitalOcean MCP setup for LangChain. LangGraph DigitalOcean MCP setup for LangGraph. CrewAI DigitalOcean MCP setup for CrewAI. MCP clients DigitalOcean MCP setup for Generic MCP Clients.
DigitalOcean CLI Matrix
Use these pages for direct DigitalOcean CLI workflows in scripts, CI, cron, and agent wrappers.
CI DigitalOcean CLI for CI. Cron Jobs DigitalOcean CLI for cron jobs. Shell Scripts DigitalOcean CLI for shell scripts. Headless Automation DigitalOcean CLI for headless automation. Coding Agents DigitalOcean CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
digitalocean.digitalocean_list_droplets | Read read | 2 | List all droplets (virtual machines) in the DigitalOcean account. Returns IDs, names, status, size, region, and IP addresses. |
digitalocean.digitalocean_get_droplet | Read read | 1 | Get details for a specific DigitalOcean droplet by ID. Returns full droplet information including networks, image, and region. |
digitalocean.digitalocean_create_droplet | Write write | 9 | Create a new DigitalOcean droplet (virtual machine). Requires a name, region, size, and image. |
digitalocean.digitalocean_delete_droplet | Write write | 1 | Permanently delete a DigitalOcean droplet. This action is irreversible and will destroy all data on the droplet. |
digitalocean.digitalocean_reboot_droplet | Write write | 1 | Reboot a DigitalOcean droplet. The droplet will be power-cycled and will be temporarily unavailable. |
digitalocean.digitalocean_list_domains | Read read | 2 | List all DNS domains managed in the DigitalOcean account. |
digitalocean.digitalocean_get_domain | Read read | 1 | Get details for a specific DNS domain in DigitalOcean, including zone file and TTL information. |
digitalocean.digitalocean_list_spaces | Read read | 2 | List Spaces (S3-compatible object storage buckets) in the DigitalOcean account. |
digitalocean.digitalocean_list_kubernetes | Read read | 2 | List Kubernetes (DOKS) clusters in the DigitalOcean account. |
digitalocean.digitalocean_get_current_user | Read read | 0 | Get information about the current authenticated DigitalOcean account, including email, UUID, and status. |