DigitalOcean MCP server
DigitalOcean's official MCP server: manage App Platform, Droplets, managed databases, Kubernetes, networking, storage, and GenAI from an agent.
The DigitalOcean MCP server is the official DigitalOcean Labs integration that gives an agent a comprehensive interface over the DigitalOcean API, built on the godo library. Rather than exposing every endpoint as a flat list, it is organized into services that you enable individually with the --services flag, so you only load the tools you need: apps for App Platform deployments, droplets for virtual machines, databases for managed Postgres/MySQL/Redis clusters, doks for Kubernetes, networking for domains, DNS, firewalls, load balancers and VPCs, plus container registry, Spaces object storage, volumes, NFS, serverless functions, marketplace, account/billing, insights monitoring, and a full suite of GenAI services. Each enabled service contributes its own set of create, read, update, and delete tools.
The local server installs over stdio with npx (@digitalocean/mcp) and authenticates with a DigitalOcean personal access token in the DIGITALOCEAN_API_TOKEN environment variable; you pick the active services with, for example, --services apps,databases. DigitalOcean also runs every service as a standalone hosted remote MCP endpoint under *.mcp.digitalocean.com, which you connect to over HTTPS with the same token as a bearer header and no local process. The docs service even works without a token for searching public documentation.
Quick install
Copy-paste configs are provided for all 8 supported clients. Pick your client below.
Add to ~/.claude.json
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": [
"@digitalocean/mcp",
"--services",
"apps,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<DIGITALOCEAN_API_TOKEN>"
}
}
}
}claude mcp add digitalocean -- npx @digitalocean/mcp --services apps,databasesAvailable tools
| Tool | Description |
|---|---|
| apps | Manage App Platform applications, including deployments, rollbacks, logs, alerts, regions, and configuration. |
| droplets | Create, manage, resize, snapshot, and monitor Droplets (virtual machines). |
| databases | Provision, manage, and monitor managed database clusters (Postgres, MySQL, Redis, and more). |
| doks | Manage DigitalOcean Kubernetes (DOKS) clusters and node pools. |
| networking | Manage domains, DNS records, certificates, firewalls, load balancers, reserved IPs, BYOIP prefixes, VPCs, and CDNs. |
| docr | Manage Container Registry repositories, tags, manifests, and garbage collection. |
| spaces | Manage Spaces S3-compatible object storage and Spaces access keys. |
| volumes | Manage block storage volumes and volume snapshots. |
| nfs | Manage NFS file shares and file-share snapshots. |
| functions | Manage serverless function namespaces, actions, packages, triggers, and activations. |
| account | Get account information, billing, balance, invoices, and SSH keys. |
| insights | Monitor resources and endpoints and alert on slowness, downtime, or expiring SSL certificates. |
| marketplace | Discover and manage DigitalOcean Marketplace applications. |
| docs | Search and retrieve DigitalOcean public documentation (no API token required). |
| genai | Build and manage GenAI agents, knowledge bases, and related resources. |
| genai-batchinference | Create, manage, and monitor batch inference jobs for asynchronous bulk AI processing. |
| genai-custom-models | Import, list, update, and delete custom (bring-your-own) models on the GenAI platform. |
| genai-evaluation | Manage and run evaluation workflows in the GenAI platform. |
| dedicated-inference | Manage Dedicated Inference instances for GPU-accelerated model serving. |
| inference-modelcatalog | Browse the Inference model catalog, search for models, and get model cards. |
Required configuration
- DIGITALOCEAN_API_TOKENRequired
DigitalOcean personal access token. Required for all services except the public docs service.
What you can do with it
Deploy and operate an app
Enable the apps service so the agent can create an App Platform application, trigger deployments, tail logs, and roll back a bad release, all from chat.
Provision full-stack infrastructure
Combine the droplets, databases, and networking services to spin up a VM, a managed Postgres cluster, and the DNS records and firewall rules to connect them.
FAQ
- Is it free?
- The MCP server is open source and free to run; you pay only for the DigitalOcean resources it provisions. The docs service is usable with no API token at all.
- Does it support remote/OAuth?
- Yes. Besides the local npx server, DigitalOcean hosts each service as a remote MCP endpoint under *.mcp.digitalocean.com, which you reach over HTTPS with your DIGITALOCEAN_API_TOKEN sent as an Authorization: Bearer header.