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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_digitalocean-0.1.1.tar.gz.
File metadata
- Download URL: mcp_server_digitalocean-0.1.1.tar.gz
- Upload date:
- Size: 73.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc82ec2842da381ee85b84f9a880bc05760b319828a9aac4d97bb1310f6fc67e
|
|
| MD5 |
691ef14a43c652b0074341d8d9da50be
|
|
| BLAKE2b-256 |
45693416f3a949bb031408831e9ff42495d09a73ac124bcaa156b26e7da25919
|
File details
Details for the file mcp_server_digitalocean-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_server_digitalocean-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55acaf4cad4c00a1073f3cbe804d74ed93b534cc36820c8b27c4ba2c20299c89
|
|
| MD5 |
cd9646ba9e7fc5730583add6a97c4813
|
|
| BLAKE2b-256 |
3aa3535e6bfa82eca0ef4f0fa19adbd454f19a4015bc7567612419d01a410b90
|