Digital ocean MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Digital ocean MCP or direct API to create droplets, monitor servers, manage volumes, and automate scaling through natural language.
Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Digital ocean Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try Digital ocean now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Create Custom ImageCreates a custom image in DigitalOcean by importing a Linux VM disk image from a publicly accessible URL.
Create Database ClusterCreates a new managed database cluster on DigitalOcean.
Create New Block Storage VolumeTool to create a new block storage volume.
Create New DomainCreates a new domain in DigitalOcean's DNS management system.
Create Domain RecordTool to create a new DNS record for a domain.
Create New DropletTool to create a new Droplet.
Create New FirewallCreates a new cloud firewall with custom inbound and outbound rules.
Create New Kubernetes ClusterCreates a new DigitalOcean Kubernetes (DOKS) cluster with managed control plane.
Create New Load BalancerTool to create a new load balancer.
Create New SSH KeyRegisters a new SSH public key with your DigitalOcean account.
Create New TagCreates a new tag in DigitalOcean for organizing and grouping resources.
Create New VPCCreates a new Virtual Private Cloud (VPC) in a specified DigitalOcean region.
Delete Block Storage VolumePermanently deletes a block storage volume by its unique ID.
Delete Database ClusterTool to delete a database cluster by UUID.
Delete DomainDeletes a domain from DigitalOcean DNS.
Delete Domain RecordTool to delete a DNS record by its record ID for a domain.
Delete Existing DropletTool to delete a Droplet by ID.
Delete FirewallTool to delete a firewall by ID.
Delete ImageDeletes a user-created custom image or snapshot from your DigitalOcean account by its numeric ID.
Delete Load BalancerTool to delete a load balancer instance by ID.
Delete SSH KeyTool to delete a public SSH key.
Delete TagDeletes a tag from your DigitalOcean account.
Delete VPCDelete a VPC (Virtual Private Cloud) by its unique identifier.
List All DatabasesTool to list all managed database clusters on your account.
List All DomainsLists all DNS domains configured in your DigitalOcean account.
List All DropletsLists all Droplets (virtual machines) in your DigitalOcean account with pagination support.
List All FirewallsList all cloud firewalls configured in your DigitalOcean account.
List All ImagesTool to list all images available on your account.
List All Kubernetes ClustersTool to list all Kubernetes clusters on your account.
List All Load BalancersList all load balancers in your DigitalOcean account with pagination support.
List All SnapshotsTool to list all snapshots available on your DigitalOcean account.
List All SSH KeysLists all SSH keys associated with your DigitalOcean account.
List All TagsTool to list all tags in your account.
List All VolumesTool to list all block storage volumes available on your account.
List All VPCsTool to list all VPCs on your account.
List AppsTool to list all App Platform apps in your DigitalOcean account.
List Database OptionsLists all available configuration options for DigitalOcean managed database clusters, including supported engines (PostgreSQL, MySQL, MongoDB, Valkey, Kafka, OpenSearch), versions, regions, and cluster sizes/layouts.
List Domain RecordsTool to list all DNS records for a domain.
Retrieve DomainRetrieves complete details about a specific domain including its TTL and DNS zone file configuration.
Retrieve Domain RecordTool to retrieve a specific DNS record for a domain by its record ID.
Retrieve Existing DropletRetrieve detailed information about a specific DigitalOcean Droplet by its unique numeric ID.
Retrieve Existing ImageTool to retrieve information about an image by ID or slug.
Retrieve TagTool to retrieve an individual tag by name.
Retrieve VPCTool to retrieve details about a specific VPC by its ID.
Tag ResourceTool to tag resources by name.
Untag ResourceTool to untag resources by tag name.
Update Domain RecordTool to update an existing DNS record for a domain.
Update VPCTool to update information about a VPC.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Digital ocean tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Create a new droplet named web-app in nyc1 using Ubuntu 22.04')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Why Use Composio?

AI Native Digital ocean Integration

  • Supports both Digital ocean MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for provisioning, monitoring, and scaling your Digital ocean resources

Managed Auth

  • Built-in OAuth and API key handling with automatic token rotation
  • Central place to manage, scope, and revoke Digital ocean access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Digital ocean
  • Scoped, least privilege access to Digital ocean resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Digital ocean with Composio?

Yes, Digital ocean requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.