DigitalOcean MCP
@digitalocean-labsDigitalOcean's open-source MCP server: manage Droplets, App Platform, databases, DNS, Kubernetes and more from an AI agent.
Official DigitalOcean server with full API reach under your token or OAuth login (429 tools, 56 delete-style, 50 high-risk at commit 28eda15); scope the token and enable only the services you need.
Install DigitalOcean MCP in Google Antigravity
Antigravity reads MCP servers from ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (one project) (official docs).
Install the "DigitalOcean MCP" MCP server for Google Antigravity. Follow the steps at https://www.antigravityskills.org/install/digital-ocean.md (source: https://github.com/digitalocean-labs/mcp-digitalocean). Before running anything, show me what you will download and whether it includes scripts, and wait for my OK. Ask me for any keys or paths it needs. When done, check that it is listed under Installed MCP Servers.
The agent reads the install file, shows you what it will download and waits for your OK.
Option 2: install it yourself
- 1. Create a DigitalOcean API token
cloud.digitalocean.com/account/api/tokens (README Step 2). Give it only the scopes you need; a read-only token is enough for looking around.
- 2. Check Node.js
node --version
Local mode runs through npx and needs Node.js 18 or later (README).
- 3. Open the global Antigravity MCP config
~/.gemini/config/mcp_config.json. Use the global file rather than .agents/mcp_config.json so the token never sits inside a project folder that could be committed (the README warns against tokens in config files that reach GitHub).
- 4. Add the server with only the services you need
{ "mcpServers": { "digitalocean": { "command": "npx", "args": ["@digitalocean/mcp", "--services", "apps,droplets"], "env": { "DIGITALOCEAN_API_TOKEN": "YOUR_TOKEN" } } } }Same command and args as the README's local Cursor config. Replace apps,droplets with the services you want (see the list of 24 below). We have not checked whether Antigravity expands ${VAR} placeholders here, so this example uses the token value.
- 5. Optional: a hosted endpoint instead
{ "mcpServers": { "digitalocean-docs": { "serverUrl": "https://docs.mcp.digitalocean.com/mcp" } } }Antigravity uses serverUrl for remote servers. The docs service needs no token. The README says OAuth sign-in works in clients that support it (it names recent Claude and Cursor); we have not checked whether Antigravity completes DigitalOcean's OAuth flow for the other services.
- 6. Check that it loaded
Settings > Customizations > Installed MCP Servers: digitalocean should be listed and switched on. Then ask "List all my DigitalOcean apps".
MCP servers are not skills: they do not go in .agents/skills/. The DigitalOcean README does not mention Antigravity; this uses its documented npx command in Antigravity's mcp_config.json.
Using Claude Code, Cursor or Codex? See other assistants below.
What is DigitalOcean MCP?
How to use DigitalOcean MCP?
Key features of DigitalOcean MCP
- ✓24 services, each also hosted as its own remote endpoint, e.g. https://droplets.mcp.digitalocean.com/mcp
- ✓OAuth 2.0 sign-in for the hosted endpoints, or a personal access token
- ✓Local mode with a --services filter (npx @digitalocean/mcp --services apps,droplets)
- ✓Tools such as droplet-resize, create-app-from-spec, domain-create, cdn-flush-cache, key-create and vpc-peering-delete
- ✓A docs service that searches DigitalOcean documentation without an API token
- ✓Every tool carries read/create/update/delete hints and a low/medium/high risk label in its metadata
- ✓Two tools run commands inside DigitalOcean-hosted environments, not on your computer: microvm-exec (labelled high risk) and harness-runtime-exec-in-sandbox (medium)
When to use DigitalOcean MCP
- 1Listing and resizing Droplets from chat
- 2Deploying an App Platform app from a GitHub repo
- 3Managing DNS records, firewalls and load balancers
- 4Checking balance and invoices
- 5Searching DigitalOcean docs while troubleshooting
Installation & Setup Guide
MCP Server IntegrationFollow these steps (taken from the project's own docs) to configure DigitalOcean MCP in your development environment.
claude mcp add --transport http digitalocean-apps https://apps.mcp.digitalocean.com/mcp
Claude prompts you to sign in on first use. Repeat with other service URLs. For a token instead, add --header "Authorization: Bearer $DIGITALOCEAN_API_TOKEN".
claude mcp add digitalocean-mcp -e DIGITALOCEAN_API_TOKEN=$DIGITALOCEAN_API_TOKEN -- npx @digitalocean/mcp --services apps,databases
Set DIGITALOCEAN_API_TOKEN in your shell profile first. Adds the server for the current folder only; the README shows -s user for all folders.
{
"mcpServers": {
"digitalocean-apps": {
"command": "npx",
"args": ["mcp-remote", "https://apps.mcp.digitalocean.com/mcp"]
}
}
}Add to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"digitalocean-apps": {
"url": "https://apps.mcp.digitalocean.com/mcp"
}
}
}The README says to add this to ~/.cursor/config.json; Cursor prompts you to sign in on first use. For local mode the README uses command npx, args ["@digitalocean/mcp", "--services", "apps"] and env DIGITALOCEAN_API_TOKEN.
Usage Example & Verification
1) README example (Cursor section, "Testing the Connection"): "List all my DigitalOcean apps" -> What happens: with the apps service enabled, the agent calls the App Platform list tool and returns your apps. A 401 means the token is missing or wrong. 2) Our example: "Search the DigitalOcean docs for how to add a custom domain to an App Platform app." -> What happens: with the docs service, the agent uses docs-search (and docs-get-quickstart if useful). The README says this service needs no API token. 3) Our example: "Resize droplet web-1 to the next size up. Show me the size and price change first and wait for my OK." -> What happens: with the droplets service, the agent lists your Droplets and sizes, then calls droplet-resize after you confirm. This changes a billed resource.
Open Settings > Customizations > Installed MCP Servers in Antigravity and check that digitalocean is listed and on, then ask "List all my DigitalOcean apps" (needs the apps service).
Security Review
Static reviewOfficial DigitalOcean server with full API reach under your token or OAuth login (429 tools, 56 delete-style, 50 high-risk at commit 28eda15); scope the token and enable only the services you need.
Full review: scope, findings, risks
Static review at commit 28eda15. README.md documents two auth paths: OAuth 2.0 for the hosted remote servers (recommended) and a personal access token, sent as an Authorization Bearer header (remote) or read from DIGITALOCEAN_API_TOKEN (local). cmd/mcp-digitalocean/main.go reads the token, an API endpoint defaulting to https://api.digitalocean.com, the service list, and the transport (stdio by default; http binds to 127.0.0.1:8080 unless changed). WebSocket logging is off unless WS_LOGGING_URL is set. A search of non-test Go files found no os/exec. The npm package @digitalocean/mcp (scripts/npm, version 1.6.1) has no postinstall script; index.js only spawns the prebuilt binary that matches your OS and CPU. Each of the 429 tools carries hint annotations and a risk label (pkg/registry/common/annotations.go); we counted 50 high-risk labels and 56 delete hints, so the agent can change and remove billable resources. Two tools execute commands remotely: microvm-exec (high risk) runs a one-shot command in a DigitalOcean MicroVM and harness-runtime-exec-in-sandbox (medium) in a session sandbox; both run on DigitalOcean's side, not on your machine. The GenAI dataset tools download files from URLs the agent supplies, from the machine running the server. The README has a section on never hardcoding tokens and a checklist for keeping them out of git.
Operational Notes & Known Limitations
Known Limitations
- •Needs a DigitalOcean account. Token setups need a personal access token; local mode needs Node.js 18+ and npm 8+ (README)
- •The server can create, resize and delete paid resources: we counted 56 tools using the delete hint profile and 50 labelled high risk. The README opens with a risk disclaimer
- •Each hosted service is a separate MCP entry. Enabling everything locally loads all 429 tool definitions; networking alone has 61 (we counted)
- •Antigravity is not mentioned anywhere in the repository (we searched). The README documents Claude Code, Claude Desktop, Cursor and VS Code; the Antigravity config below is our adaptation
- •The README puts Cursor's MCP config at ~/.cursor/config.json; Cursor's own docs use ~/.cursor/mcp.json, so check which file your Cursor version reads
- •The tool set moves fast: at commit 28eda15 we counted 429 tools, up from 357 at 88ab382 (our review on 2026-10-06), and the 24 services include new harness-runtime, microvms and signals entries. Re-check the tool list after upgrading
Frequently Asked Questions
Is the DigitalOcean MCP safe?
It is DigitalOcean's own code, but it acts on your real account: at commit 28eda15 we counted 56 tools using the delete hint profile and 50 labelled high risk. Enable only the services you need, use a token with limited scopes, keep the token out of project files, and ask the agent to confirm before changes.
How do I install the DigitalOcean MCP in Antigravity?
Add the README's local command (npx @digitalocean/mcp --services apps,droplets) with DIGITALOCEAN_API_TOKEN to ~/.gemini/config/mcp_config.json, then check Installed MCP Servers. The repo does not mention Antigravity.
Do I need an API token?
For local mode, yes (DIGITALOCEAN_API_TOKEN). The hosted endpoints also accept OAuth sign-in in clients that support it, and the docs service needs no token at all.
Which services and how many tools are there?
24 services (apps, accounts, databases, doks, droplets, docr, networking, spaces, functions, volumes, nfs, insights, marketplace, docs, vector-databases, signals, harness-runtime, microvms and six GenAI/inference services) with 429 tool definitions at commit 28eda15 (we counted).
Supported Platforms
Keep exploring this topic
Browse the full Antigravity skills directory for more source-linked skills with install steps and static safety reviews.
Related Skills
Portainer MCP
@portainer
Portainer's MCP server (now deprecated upstream): lets AI agents inspect environments and manage Docker, Kubernetes and GitOps stacks through the Portainer API.
Cloudflare Wrangler
@cloudflare
Cloudflare's official wrangler skill: tells an AI agent how to deploy, configure and debug existing Wrangler-based Workers projects using current Cloudflare docs.
GitHub MCP Server
@github
GitHub's own MCP server: lets an agent read repositories and manage issues, pull requests, Actions runs and security alerts through your GitHub account, as a hosted remote server or a local Docker image.
Popular Skills
View All →Agent Manager
@sickn33
Manage multiple local CLI agents via tmux sessions.
Systematic Debugging
@sickn33
Debug systematically, not randomly. Find and fix bugs methodically.
Browser Automation (Playwright)
@sickn33
Expert browser automation for cleaning scraping and reliable testing.