icon for mcp server

DigitalOcean Integration

STDIO

Comprehensive interface for managing DigitalOcean resources using their API.

MCP DigitalOcean Integration

MCP DigitalOcean Integration is an open-source project that provides a comprehensive interface for managing DigitalOcean resources and performing actions using the DigitalOcean API. Built on top of the godo library and the MCP framework, this project exposes a wide range of tools and resources to simplify cloud infrastructure management.

DISCLAIMER: “Use of MCP technology to interact with your DigitalOcean account can come with risks

Features

Resources

Resources provide read-only access to DigitalOcean entities, allowing users to retrieve detailed information about their infrastructure. The following resources are supported:

ResourceDescription
DropletsRetrieve details about droplets, including actions and neighbors.
SizesList all available droplet sizes.
AccountFetch account information.
BalanceView current account balance.
BillingAccess billing history.
InvoicesRetrieve a list of all invoices.
ActionsGet details about specific actions.
ImagesRetrieve information about distribution images or specific images.
CDNsFetch details about CDN configurations.
CertificatesRetrieve certificate details.
DomainsAccess domain and domain record information.
FirewallsGet details about firewalls.
SSH KeysRetrieve information about SSH keys.
RegionsList all available regions.
Reserved IPsFetch details about reserved IPv4 and IPv6 addresses.
Partner AttachmentsRetrieve partner attachment details.
VPCsGet information about Virtual Private Clouds (VPCs).

Tools

Tools provide actionable capabilities for managing DigitalOcean resources. These tools are grouped by resource type and allow users to perform various operations. Below is an overview of the supported tools:

Droplet Tools

  • Create, delete, resize, and rename droplets.
  • Power on/off, reboot, and snapshot droplets.
  • Manage backups, private networking, and IPv6.

CDN Tools

  • Create and delete CDNs.
  • Flush CDN caches.

Certificate Tools

  • Create and delete certificates.
  • Retrieve certificate details.

Domain Tools

  • Create and delete domains.
  • Manage domain records (create, edit, delete).

Firewall Tools

  • Create and delete firewalls.
  • Configure inbound and outbound rules.

SSH Key Tools

  • Create and delete SSH keys.

Reserved IP Tools

  • Reserve and release IPv4/IPv6 addresses.
  • Assign and unassign reserved IPs to/from droplets.

Partner Attachment Tools

  • Create, update, and delete partner attachments.
  • Retrieve service keys and BGP configurations.

VPC Tools

  • Create and delete VPCs.
  • List VPC members.

Installation

  1. Clone the repository:

    git clone https://github.com/your-repo/mcp-digitalocean.git cd mcp-digitalocean
  2. Install dependencies:

    go mod tidy
  3. Build the project:

    make build-bin

Usage

  1. Set up your DigitalOcean API token:

    export DO_TOKEN=your_token
  2. Run the MCP server:

    ./bin/mcp-digitalocean
  3. Use the tools and resources to interact with your DigitalOcean infrastructure.


Contributing

Contributions are welcome! If you encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request.

How to Contribute

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Submit a pull request with a clear description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Be the First to Experience MCP Now