DigitalOcean MCP Server — Hosted Api Connectors, Any AI Agent
MCP Server language Hosted language PublicManage DigitalOcean Droplets, App Platform, Kubernetes, Databases, Firewalls, VPCs, DNS, Container Registry, and Spaces.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"digitalocean": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-digitalocean",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify digitalocean credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-digitalocean — DigitalOcean MCP Server
Manage Droplets, App Platform apps, Kubernetes clusters, Databases, Firewalls, VPCs, DNS, Container Registry, Spaces, and account billing — all from any AI agent via the DigitalOcean API.
DigitalOcean is a leading cloud infrastructure provider used by developers and teams worldwide. This MCP server gives your agents full access to the DigitalOcean v2 REST API: creating and managing Droplets, deploying App Platform apps, configuring DNS, managing firewalls and VPCs, inspecting Kubernetes clusters, and monitoring account billing.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-digitalocean
What You Can Do
- List, create, and delete Droplets — with SSH keys, backups, IPv6, and tags
- Resize Droplets vertically and create Droplet snapshots
- Deploy App Platform apps from GitHub repos or container images, trigger deployments, tail logs, and delete apps
- Manage Kubernetes clusters and check their status
- Create and query managed Database clusters (PostgreSQL, MySQL, Redis, MongoDB)
- Configure Cloud Firewalls with granular inbound/outbound rules and attach them to Droplets
- Create, manage, and delete VPCs with custom IP ranges and inspect their members
- Manage DNS domains and records (A, AAAA, CNAME, MX, TXT, SRV, NS), and delete entire domains
- Inspect the Container Registry and list repositories and image tags
- List Spaces (S3-compatible object storage buckets)
- List and delete snapshots for Droplets and volumes
- Discover all available Droplet sizes and regions
- Check Droplet neighbors (colocation on same physical host)
- Check account info, current balance, and recent invoices
Available Tools
Droplets
| Tool | Description |
|---|---|
list_droplets |
List all Droplets with optional pagination |
get_droplet |
Get full details of a specific Droplet |
create_droplet |
Create a new Droplet (name, region, size, image required) |
delete_droplet |
Delete a Droplet by ID |
resize_droplet |
Vertically scale a Droplet to a different size (Droplet must be powered off) |
snapshot_droplet |
Create a snapshot of a Droplet |
get_droplet_neighbors |
List Droplets running on the same physical hardware |
App Platform
| Tool | Description |
|---|---|
list_apps |
List all App Platform apps |
get_app |
Get full app details including spec and active deployment |
create_app |
Create a new app from a GitHub repo or container image |
get_app_deployments |
List the 5 most recent deployments for an app |
create_deployment |
Trigger a new deployment for an app |
get_app_logs |
Get recent runtime logs for an app |
delete_app |
Delete an App Platform application and all its deployments |
Kubernetes
| Tool | Description |
|---|---|
list_kubernetes_clusters |
List all Kubernetes clusters |
get_kubernetes_cluster |
Get details of a specific cluster |
Databases
| Tool | Description |
|---|---|
list_databases |
List all managed database clusters |
get_database |
Get details of a specific database cluster |
Firewalls
| Tool | Description |
|---|---|
list_firewalls |
List all Cloud Firewalls |
get_firewall |
Get details of a specific firewall |
create_firewall |
Create a firewall with inbound/outbound rules |
add_droplets_to_firewall |
Attach Droplets to an existing firewall |
delete_firewall |
Delete a firewall |
VPCs
| Tool | Description |
|---|---|
list_vpcs |
List all VPCs |
get_vpc |
Get details of a specific VPC |
create_vpc |
Create a new VPC in a region with optional IP range |
list_vpc_members |
List all resources (Droplets, etc.) in a VPC |
delete_vpc |
Delete a VPC (must have no members first) |
Domains / DNS
| Tool | Description |
|---|---|
list_domains |
List all domains |
get_domain |
Get details of a specific domain |
create_domain |
Create a new domain with optional A record |
delete_domain |
Delete a domain and all its DNS records |
list_domain_records |
List all DNS records for a domain |
create_domain_record |
Create a DNS record (A, AAAA, CNAME, MX, TXT, SRV, NS) |
delete_domain_record |
Delete a DNS record by ID |
Container Registry
| Tool | Description |
|---|---|
get_registry |
Get your account's Container Registry details |
list_registry_repositories |
List all repositories in the registry |
list_registry_tags |
List image digests/tags in a repository |
Spaces
| Tool | Description |
|---|---|
list_spaces |
List all Spaces buckets in the account |
Volumes & Load Balancers
| Tool | Description |
|---|---|
list_volumes |
List all block storage volumes |
list_load_balancers |
List all load balancers |
Snapshots
| Tool | Description |
|---|---|
list_snapshots |
List all snapshots for droplets or volumes |
delete_snapshot |
Delete a snapshot |
Sizes & Regions
| Tool | Description |
|---|---|
list_droplet_sizes |
List all available droplet sizes with CPU, RAM, disk, and monthly price |
list_regions |
List all DigitalOcean regions with availability status |
Account / Billing
| Tool | Description |
|---|---|
get_account |
Get account info, Droplet limits, and status |
get_balance |
Get current balance and month-to-date usage |
list_invoices |
List 5 most recent invoices |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
DIGITALOCEAN_TOKEN |
Yes | DigitalOcean Personal Access Token | cloud.digitalocean.com → API → Tokens → Generate New Token. Grant Read scope for read-only tools; grant Write scope to create/delete resources. |
The token must have the appropriate scopes. A read-only token works for all
list_*,get_*, and_pingtools. Write operations (create, delete, deploy) require a write-enabled token.
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "DigitalOcean" and click Add to Workspace
- Add your
DIGITALOCEAN_TOKENunder Project → Secrets
Once added, every AI agent in your workspace can manage DigitalOcean infrastructure automatically.
Example Prompts
"List all my Droplets and show their sizes and regions"
"Create a new Ubuntu 22.04 Droplet in nyc3 called web-01 using the s-1vcpu-1gb size"
"What App Platform apps do I have and when was each last deployed?"
"Show me the inbound rules for all my Cloud Firewalls"
"List all DNS records for example.com"
"What's my current DigitalOcean balance and month-to-date usage?"
"Create a VPC called production in sfo3 with IP range 10.20.0.0/20"
"Trigger a new deployment for my app abc123"
Direct API Call
# Ping / auth check
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-digitalocean \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-DIGITALOCEAN-TOKEN: your-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"_ping","arguments":{}}}'
# List Droplets
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-digitalocean \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-DIGITALOCEAN-TOKEN: your-token' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_droplets","arguments":{}}}'
terminal Tools (49)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify DigitalOcean credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
list_droplets #2 List all Droplets in your DigitalOcean account
get_droplet #3 Get details of a specific Droplet
create_droplet #4 Create a new DigitalOcean Droplet
delete_droplet #5 Delete a Droplet
list_domains #6 List all domains in your DigitalOcean account
get_domain #7 Get details of a specific domain
create_domain #8 Create a new domain
list_domain_records #9 List DNS records for a domain
create_domain_record #10 Create a new DNS record for a domain
delete_domain_record #11 Delete a DNS record from a domain
list_databases #12 List all managed database clusters
get_database #13 Get details of a specific managed database cluster
list_kubernetes_clusters #14 List all Kubernetes clusters
get_kubernetes_cluster #15 Get details of a specific Kubernetes cluster
list_volumes #16 List all block storage volumes
list_load_balancers #17 List all load balancers
list_apps #18 List all App Platform apps
get_app #19 Get full details of an App Platform app including spec and active deployment
create_app #20 Create a new App Platform app
get_app_deployments #21 List recent deployments for an App Platform app
create_deployment #22 Trigger a new deployment for an App Platform app
get_app_logs #23 Get recent runtime logs for an App Platform app
list_spaces #24 List all Spaces (S3-compatible object storage buckets) in your account
list_firewalls #25 List all Cloud Firewalls in your account
get_firewall #26 Get details of a specific Cloud Firewall
create_firewall #27 Create a new Cloud Firewall
add_droplets_to_firewall #28 Add one or more Droplets to an existing Cloud Firewall
delete_firewall #29 Delete a Cloud Firewall
list_vpcs #30 List all VPCs in your account
get_vpc #31 Get details of a specific VPC
create_vpc #32 Create a new VPC
list_vpc_members #33 List all resources (Droplets, etc.) that are members of a VPC
get_registry #34 Get your account's DigitalOcean Container Registry details
list_registry_repositories #35 List all repositories in the Container Registry
list_registry_tags #36 List all image digests/tags in a Container Registry repository
get_account #37 Get account info including Droplet limits and account status
get_balance #38 Get current account balance and month-to-date usage
list_invoices #39 List recent invoices for the account
delete_app #40 Delete an App Platform application and all its deployments
delete_vpc #41 Delete a VPC (must have no members first)
delete_domain #42 Delete a domain and all its DNS records from DigitalOcean
resize_droplet #43 Resize (vertically scale) a droplet. Droplet must be powered off first for most resizes.
snapshot_droplet #44 Create a snapshot of a droplet
list_droplet_sizes #45 List all available droplet sizes with CPU, RAM, disk, and monthly price
list_regions #46 List all DigitalOcean regions with availability status
list_snapshots #47 List all snapshots for droplets or volumes
delete_snapshot #48 Delete a snapshot
get_droplet_neighbors #49 List droplets running on the same physical hardware as this droplet
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-digitalocean
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
Tags
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the DigitalOcean MCP server and what can it do? +
The DigitalOcean MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_droplets`, `get_droplet`, `create_droplet`, `delete_droplet`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the DigitalOcean MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the DigitalOcean MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same DigitalOcean MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the DigitalOcean MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-digitalocean": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-digitalocean"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the DigitalOcean MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-digitalocean", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-digitalocean"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does DigitalOcean MCP require authentication? +
Yes. DigitalOcean requires authentication. Check the MCP's documentation for the required credentials.