Purpose: This project is a Model Context Protocol (MCP) server that provides programmatic access to the DigitalOcean API, enabling MCP clients to manage DigitalOcean infrastructure through a unified interface.
Main capabilities: The server exposes a total of 48 tools across 7 main service categories. Droplet management supports listing, viewing, creating, deleting, resizing (CPU/RAM/disk), and creating snapshots; block storage volume management supports listing, viewing, creating, deleting, attaching, detaching, resizing, and creating volume snapshots; snapshot operations support listing all snapshots, filtering by volume or Droplet, viewing details, and deleting; image management supports listing, viewing, updating metadata, deleting custom images, transferring across regions, and converting to snapshots; floating IP management supports listing, viewing, creating, releasing, assigning, and unassigning; load balancers support full CRUD, adding or removing Droplet pool members, and adding or removing forwarding rules; firewall management supports listing, viewing, creating, updating, deleting, assigning or removing Droplets, adding or removing tags, and adding or removing security rules; Kubernetes supports listing, viewing, creating, and deleting clusters; container registries support listing registries and viewing registry details and repositories; in addition, a test_connection tool is provided to verify API connectivity and authentication.
Usage: Go 1.19 or later is required, and the DigitalOcean API Token environment variable must be set, otherwise the server cannot run. It can be installed via Go Install or run directly with Go; after startup, the server listens for MCP requests via stdio transport. To obtain an API Token: log in to the DigitalOcean control panel, go to API in the sidebar, click Generate New Token, name it and select the appropriate permission scope, then copy the generated Token.
Applicable scenarios: Suitable for development and operations scenarios that require programmatic management of DigitalOcean cloud resources through MCP clients, including Droplet lifecycle management, block storage and snapshot backup, image migration, floating IP assignment, load balancing configuration, firewall security policy management, Kubernetes cluster operations, and container registry viewing.
Limitations: The materials do not provide specific MCP client configuration example content, pricing information, or performance data; tool calls may encounter errors such as invalid or missing API Token, insufficient permissions, nonexistent resources, API rate limits, and network connection issues. The project uses the MIT license.