Digital ocean Integration 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.
Digital ocean Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Create Custom ImageTool to create a new custom image by providing a url to a linux vm image.
Create Database ClusterTool to create a new managed database cluster.
Create New Block Storage VolumeTool to create a new block storage volume.
Create New DomainTool to create a new domain.
Create Domain RecordTool to create a new dns record for a domain.
Create New DropletTool to create a new droplet.
Create New FirewallTool to create a new firewall.
Create New Kubernetes ClusterTool to create a new kubernetes cluster.
Create New SSH KeyTool to create a new ssh key.
Create New TagTool to create a new tag.
Create New VPCTool to create a new vpc.
Delete Block Storage VolumeTool to delete a block storage volume by id.
Delete Database ClusterTool to delete a database cluster by uuid.
Delete DomainTool to delete a domain by name.
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 ImageTool to delete a snapshot or custom image by id.
Delete Load BalancerTool to delete a load balancer instance by id.
Delete SSH KeyTool to delete a public ssh key.
Delete TagTool to delete a tag by name.
Delete VPCTool to delete a vpc by its id.
Create New Load BalancerTool to create a new load balancer.
List Domain RecordsTool to list all dns records for a domain.
List All DatabasesTool to list all managed database clusters on your account.
List All DomainsTool to list all domains in your digitalocean account.
List All DropletsTool to list all droplets in your account.
List All FirewallsTool to list all firewalls on 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 BalancersTool to list all load balancer instances on your account.
List All SnapshotsTool to list all snapshots available on your digitalocean account.
List All SSH KeysTool to list all ssh keys in your 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 Database OptionsTool to list valid database engine, version, region, and size options.
Retrieve DomainTool to retrieve details about a specific domain by its name.
Retrieve Domain RecordTool to retrieve a specific dns record for a domain by its record id.
Retrieve Existing DropletTool to show information about an individual droplet by 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.

Connect Digital ocean MCP Tool with your Agent

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

Connect Digital ocean API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Digital ocean Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Create a new droplet named web-server in nyc3 using Ubuntu 22.04.'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Digital ocean actions with your 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
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
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.