Mcp Server Digitalocean

io.github.truecallerabrehamPublished by GitHub account truecallerabrehamv0.1.1Updated Oct 24, 2026

MCP server for DigitalOcean — manage Droplets, databases, domains, and more

The publisher's own server: DigitalOcean

VerifiedSTDIODesktop onlyDatabasesCloud & Infrastructure

Overview

AI-generated overview

A local MCP server for DigitalOcean that lets an assistant list, create and delete Droplets, inspect managed databases, manage domains and check account usage.

What you can do
List, create, get details on and delete Droplets, including choosing a region and size with pricing information and listing available regions and sizes. List and inspect managed database clusters. List, create and delete domains. View account information and usage limits.
When to use it
Useful when you want to manage DigitalOcean cloud resources conversationally from an MCP client, for example checking Droplets and database clusters, looking up regions and sizes, or creating and removing Droplets and domains without switching to the control panel.
Requirements
Runs locally as a Python package (Python 3.10 or newer) launched with uvx or installed via uv or pip. Needs a DigitalOcean Personal Access Token supplied through the DIGITALOCEAN_TOKEN environment variable, and a supported MCP client such as Claude Desktop, Claude Code, Cursor or Windsurf. Network access to the DigitalOcean API is required.
Before you install
The token grants access to your DigitalOcean account, so scope it carefully and keep it out of shared config files. The server can create and delete Droplets and domains, which changes real infrastructure and may incur charges; deleting a Droplet or domain is destructive. Review assistant actions before confirming.

Installation

In SourceWeft

  1. Open Mcp Server Digitalocean in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

DigitalOcean MCP Server

[PyPI version] [License: MIT] [Python 3.10+]

A Model Context Protocol server for DigitalOcean cloud infrastructure. Manage Droplets, databases, domains, and more — all through your AI assistant.

What Can You Do With It?

  • Manage Droplets — list, create, get details, and delete Droplets
  • Query Databases — list and inspect managed database clusters
  • Handle Domains — list, create, and delete domain records
  • Explore Infrastructure — browse available regions and Droplet sizes with pricing
  • Check Account — view account info and usage limits

Table of Contents


Prerequisites


Installation

Using uv (recommended)

bash
uv tool install mcp-server-digitalocean

Using pip

bash
pip install mcp-server-digitalocean

Setup

1. Generate Your API Token

Go to DigitalOcean API Tokens and create a new Personal Access Token.

2. Add the Server to Your MCP Client

Add this JSON snippet to your client's MCP config file:

json
{  "mcpServers": {    "digitalocean": {      "command": "uvx",      "args": ["mcp-server-digitalocean"],      "env": {        "DIGITALOCEAN_TOKEN": "YOUR_DO_TOKEN"      }    }  }}

Then follow the instructions for your specific client:

Claude Desktop

  1. Go to Settings > Developer > Edit Config
  2. Add the snippet above to claude_desktop_config.json
  3. Replace YOUR_DO_TOKEN with your token
  4. Save and restart Claude Desktop
  5. You'll see "digitalocean" listed as an available server

Cursor

  1. Go to Settings > Cursor Settings > MCP > Add a new global MCP server
  2. Cursor will open ~/.cursor/mcp.json
  3. Add the snippet above to this JSON file
  4. Replace YOUR_DO_TOKEN with your token
  5. Save and return to MCP Settings

Windsurf

  1. Go to Settings > Windsurf Settings > Cascade > MCP > Add Server > Add custom server
  2. Windsurf will open ~/.codeium/windsurf/mcp_config.json
  3. Add the snippet above to this JSON file
  4. Replace YOUR_DO_TOKEN with your token
  5. Save and return to MCP Settings

Claude Code

  1. Run in your terminal:
bash
claude mcp add digitalocean -- uvx mcp-server-digitalocean
  1. Set the environment variable:
bash
export DIGITALOCEAN_TOKEN="your-token-here"

Available Tools

CategoryTools
Accountget_account_info
Dropletslist_droplets, get_droplet, create_droplet, delete_droplet
Databaseslist_database_clusters, get_database_cluster
Domainslist_domains, create_domain, delete_domain
Infrastructurelist_regions, list_sizes

Example Prompts

Once configured, try asking your assistant:

"List all my Droplets""Create a new 1GB Droplet in NYC1 running Ubuntu 24.04""Show me all available regions""List my database clusters""Delete droplet 42""What Droplet sizes are available and how much do they cost?"

Development

bash
# Clone the repogit clone https://github.com/truecallerabreham/mcp-server-digitalocean.gitcd mcp-server-digitalocean
# Install dependenciesuv sync
# Run testsuv run pytest
# Run linteruv run ruff check src/ tests/
# Type checkuv run pyright

Troubleshooting

The server doesn't appear in your client?

  • Make sure your JSON config is saved and valid (no trailing commas)
  • Restart your MCP client (Claude, Cursor, Windsurf)
  • Check that uvx is in your PATH

Token not working?

Still having issues?

Test the server directly:

bash
DIGITALOCEAN_TOKEN="your-token" uvx mcp-server-digitalocean

Contributing

Contributions are welcome! Bug reports, new features, and docs improvements are all appreciated.

  1. Fork this repo
  2. Create a branch (git checkout -b feature/my-feature)
  3. Make your changes
  4. Run tests (uv run pytest)
  5. Open a PR

License

This project is licensed under the MIT License.

Source: README.md at commit 8a7ba48

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Digitalocean integrations