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.0.tar.gz (73.5 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.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_digitalocean-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7cb6fc69aaa31fa5c3524f164a2d6789a14b5cb777089a7df095c53a5ed13e7
MD5 5eb8996157d84fc31f7b14452841f37f
BLAKE2b-256 ffd88020efc8f50134145db6e520026b6267ea02bc2890c53e5d1a18132d3dd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_digitalocean-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8a52ac92402771881500cb0c3175094e44f7e56d52a12c20864194824eeb48
MD5 347c30d8e3884f9015fe51ac674d9a5e
BLAKE2b-256 caf82c2dd3bd55edabe22ec215e39d7699f9261b5d7e4d4162663ee1bbf5ba4d

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