Skip to main content

A Model Context Protocol server for DigitalOcean cloud infrastructure

Project description

mcp-server-digitalocean

A Model Context Protocol server for DigitalOcean cloud infrastructure.

Features

Manage DigitalOcean resources from any MCP-compatible client:

  • Account: Get account info and limits
  • Droplets: List, get, create, and delete Droplets
  • Databases: List and get managed database clusters
  • Domains: List, create, and delete domains
  • Regions: List available datacenter regions
  • Sizes: List available Droplet sizes with pricing

Installation

Using uv (recommended)

uv tool install mcp-server-digitalocean

Using pip

pip install mcp-server-digitalocean

Configuration

Set your DigitalOcean API token:

export DIGITALOCEAN_TOKEN="dop_v1_xxxx"

Get a token at https://cloud.digitalocean.com/account/api/tokens

Claude Desktop

Add to your claude_desktop_config.json:

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

With stdio transport (default)

mcp-server-digitalocean --transport stdio

Usage Examples

Once configured, you can ask your MCP client:

  • "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"

Development

# Install dependencies
uv sync

# Run tests
uv run pytest

# Run linter
uv run ruff check src/ tests/

# Type check
uv run pyright

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_digitalocean-0.1.1.tar.gz (73.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_digitalocean-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_digitalocean-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mcp_server_digitalocean-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cc82ec2842da381ee85b84f9a880bc05760b319828a9aac4d97bb1310f6fc67e
MD5 691ef14a43c652b0074341d8d9da50be
BLAKE2b-256 45693416f3a949bb031408831e9ff42495d09a73ac124bcaa156b26e7da25919

See more details on using hashes here.

File details

Details for the file mcp_server_digitalocean-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_digitalocean-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55acaf4cad4c00a1073f3cbe804d74ed93b534cc36820c8b27c4ba2c20299c89
MD5 cd9646ba9e7fc5730583add6a97c4813
BLAKE2b-256 3aa3535e6bfa82eca0ef4f0fa19adbd454f19a4015bc7567612419d01a410b90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page