Skip to content

MCP server

DigitalOcean MCP server

DigitalOcean's MCP server lets AI list and inspect resources and create, update and delete apps and infrastructure.

At a glance

Maintained by
DigitalOcean (digitalocean-labs)
Tools exposed
7 listed below
Reviewed
September 24, 2026

Why it matters

What it does and why it matters

DigitalOcean is popular with small teams and startups for simple cloud hosting. Its MCP server, from DigitalOcean Labs, lets an assistant list and inspect resources such as App Platform apps, check deployment status, read logs, and create, update and delete apps and infrastructure.

For small teams without a dedicated operations person, it helps answer "why is the app down" by reading deployment status and logs in one go.

It can delete apps and infrastructure, so we use a token with limited scopes, and require approval for anything that deletes or changes production. Start with the read tools for logs and status.

Use cases

Best business use cases

App status

Check deployment status and logs.

Failed deploys

Explain why an app deployment failed.

New apps

Create an app from a spec.

Updates

Update app settings with approval.

Inventory

List resources across the account.

Tools

Available tools

Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.

Main service shown is App Platform (apps). Other services (droplets, databases, doks, networking, spaces and more) add their own tools.

Read and write: Read and write: list and inspect resources, plus create, update and delete apps and infrastructure.

  • apps-list

    List all App Platform apps.

  • apps-get-info

    Get details for one app.

  • apps-get-deployment-status

    Get the active deployment and its health.

  • apps-get-logs

    Get live and past log URLs for an app component.

  • apps-create-app-from-spec

    Create a new app from an app spec.

  • apps-update

    Update an app's settings or redeploy it.

  • apps-delete

    Delete an app. Cannot be undone.

Workflows

Example workflows

Diagnose a failed deploy

  1. 1

    Ask about the latest deployment.

  2. 2

    The assistant checks its status.

  3. 3

    It reads the logs.

  4. 4

    It explains the error.

  5. 5

    A developer fixes it.

Create a staging app

  1. 1

    Share the app spec.

  2. 2

    The assistant creates the app.

  3. 3

    It checks deployment status.

  4. 4

    It returns the staging URL.

  5. 5

    The team tests it.

Prompts

Example prompts

  • “Why did the latest deployment of the api app fail?”

  • “Show the last 100 log lines for the web app.”

  • “Create a staging app from this spec.”

Setup

Installation and configuration

Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.

Claude Desktop: claude_desktop_config.json

{
    "mcpServers": {
        "digitalocean": {
            "command": "npx",
            "args": [
                "@digitalocean/mcp",
                "--services",
                "apps"
            ],
            "env": {
                "DIGITALOCEAN_API_TOKEN": "${DIGITALOCEAN_API_TOKEN}"
            }
        }
    }
}

Claude Code: terminal

claude mcp add --transport http digitalocean-apps https://apps.mcp.digitalocean.com/mcp --header "Authorization: Bearer $DIGITALOCEAN_API_TOKEN"
  • Hosted server: One hosted endpoint per service, e.g. https://apps.mcp.digitalocean.com/mcp, https://droplets.mcp.digitalocean.com/mcp, https://databases.mcp.digitalocean.com/mcp.
  • Local server: npm: @digitalocean/mcp (stdio, pick services with --services).
  • Needs: DigitalOcean API token (DIGITALOCEAN_API_TOKEN) or OAuth for the hosted endpoints..

Security

Security considerations

  • Read-only first

    Start with read access and add actions only for reviewed tasks.

  • Scoped credentials

    Use a dedicated role or token with the least access, never an owner or admin key.

  • Separate environments

    Keep production changes out of assistant sessions, or require approval for them.

  • Audit

    Review changes in DigitalOcean's activity history.

Related servers

Servers that pair well with it

Coolify

Coolify's official MCP server lets AI see self-hosted infrastructure, find unhealthy resources, review deployments and deploy with the right token.

Vercel

Vercel's official MCP server lets AI search Vercel docs, list teams, projects and deployments, read build and runtime logs and deploy with confirmation.

AWS

The AWS API MCP server from AWS Labs lets AI run AWS CLI commands, suggest commands and plan changes, with read-only and consent modes.

Keep exploring

FAQ

Questions people ask us

Have a question that is not here? Ask us directly.

Start a project

Want this connected to your own systems? We build AI workflows with MCP.

Send a short brief. We reply with questions, a suggested plan and an estimate you can compare with other offers.

Your privacy choices

We use necessary storage to run this site. With your permission we also use Google Analytics to see which pages help people, and load maps from Google. You can change this at any time. Read the cookie policy.