DigitalOcean MCP server

OfficialDigitalOceanConfig last verified Jun 1, 2026

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

~/.claude.json
json
{
  "mcpServers": {
    "digitalocean": {
      "command": "npx",
      "args": [
        "@digitalocean/mcp",
        "--services",
        "apps,databases"
      ],
      "env": {
        "DIGITALOCEAN_API_TOKEN": "<DIGITALOCEAN_API_TOKEN>"
      }
    }
  }
}
Or via CLI
bash
claude mcp add digitalocean -- npx @digitalocean/mcp --services apps,databases

Available tools

ToolDescription
appsManage App Platform applications, including deployments, rollbacks, logs, alerts, regions, and configuration.
dropletsCreate, manage, resize, snapshot, and monitor Droplets (virtual machines).
databasesProvision, manage, and monitor managed database clusters (Postgres, MySQL, Redis, and more).
doksManage DigitalOcean Kubernetes (DOKS) clusters and node pools.
networkingManage domains, DNS records, certificates, firewalls, load balancers, reserved IPs, BYOIP prefixes, VPCs, and CDNs.
docrManage Container Registry repositories, tags, manifests, and garbage collection.
spacesManage Spaces S3-compatible object storage and Spaces access keys.
volumesManage block storage volumes and volume snapshots.
nfsManage NFS file shares and file-share snapshots.
functionsManage serverless function namespaces, actions, packages, triggers, and activations.
accountGet account information, billing, balance, invoices, and SSH keys.
insightsMonitor resources and endpoints and alert on slowness, downtime, or expiring SSL certificates.
marketplaceDiscover and manage DigitalOcean Marketplace applications.
docsSearch and retrieve DigitalOcean public documentation (no API token required).
genaiBuild and manage GenAI agents, knowledge bases, and related resources.
genai-batchinferenceCreate, manage, and monitor batch inference jobs for asynchronous bulk AI processing.
genai-custom-modelsImport, list, update, and delete custom (bring-your-own) models on the GenAI platform.
genai-evaluationManage and run evaluation workflows in the GenAI platform.
dedicated-inferenceManage Dedicated Inference instances for GPU-accelerated model serving.
inference-modelcatalogBrowse 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.
← Browse all cloud-infra servers