The DigitalOcean MCP Server enables AI assistants to interact with DigitalOcean resources programmatically through comprehensive API access. With this server, you can:
Configure API Credentials: Set up DigitalOcean API tokens for authentication
Discover Endpoints: List, search, and get details for over 471 API endpoints
Execute API Calls: Make authenticated requests to any DigitalOcean API endpoint
Browse by Category: Filter endpoints by tags (e.g., Droplets, Databases, Load Balancers)
Manage Resources: Perform common cloud infrastructure tasks programmatically
The server dynamically extracts endpoints from the OpenAPI specification, ensuring complete and up-to-date API coverage with secure, authenticated operations.
Provides dynamic access to 471+ DigitalOcean API endpoints extracted from their OpenAPI specification, allowing management of resources like Droplets, Databases, Kubernetes clusters, Load Balancers, Block Storage, and more with full CRUD operations across all DigitalOcean service categories.
DigitalOcean MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to all DigitalOcean API endpoints, dynamically extracted from their OpenAPI specification. This server enables AI assistants to interact with your DigitalOcean resources programmatically.
Features
Complete API Coverage: Access to 471+ DigitalOcean API endpoints across all services
Dynamic Endpoint Discovery: Automatically extracts and indexes endpoints from DigitalOcean's OpenAPI spec
Intelligent Search: Find endpoints by operation ID, summary, description, or tags
Detailed Documentation: Get parameter details, descriptions, and requirements for each endpoint
Authenticated API Calls: Execute API calls through the MCP server with proper authentication
Tag-based Organization: Browse endpoints by category (Droplets, Load Balancers, Databases, etc.)
Auto-configuration: Automatically configures from
DIGITALOCEAN_API_TOKEN
environment variable
Quick Start
Installation
Environment Setup
Create a .env
file or set the environment variable:
Running the Server
Or for development with auto-reload:
MCP Tools
The server provides these MCP tools for AI assistants:
1. configure_digitalocean_api
Set up API credentials (optional if using environment variable)
2. list_endpoints
List all available endpoints with optional filtering by tag
3. search_endpoints
Search endpoints by query string
4. get_endpoint_details
Get detailed information about a specific endpoint
5. call_digitalocean_api
Execute API calls with authentication
6. list_tags
Show all available endpoint categories
Usage Examples
Basic Droplet Management
Discovery and Search
Architecture
extract_endpoints.py: Python script that parses the OpenAPI spec and extracts endpoint definitions
src/endpoints.ts: TypeScript module for loading and searching endpoint data
src/api-client.ts: HTTP client for making authenticated API calls
src/index.ts: Main MCP server implementation
API Coverage
The server provides access to all DigitalOcean API endpoints across categories including:
1-Click Applications
Account Management
Billing
Block Storage Volumes
CDN Endpoints
Certificates
Container Registry
Databases
Domains and DNS
Droplets
Firewalls
Floating IPs
Images
Kubernetes
Load Balancers
Monitoring
Projects
Reserved IPs
Snapshots
SSH Keys
Tags
VPCs
And more...
Development
To regenerate the endpoint data:
To rebuild the server:
Claude Configuration
Claude Desktop
Add to your Claude Desktop MCP configuration (~/Library/Application Support/Claude/claude_desktop_config.json
on macOS):
Claude Code (CLI)
For Claude Code users, the server auto-configures from environment variables:
Real-World Examples
Infrastructure Management
Database Operations
Load Balancer Management
Security
API tokens are handled securely and never logged
All requests use HTTPS
Rate limiting is handled automatically
Environment variables are preferred for token storage
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License - see LICENSE file for details
Support
GitHub Issues: Report bugs or request features
Documentation: See the examples above and endpoint details via the
get_endpoint_details
toolDigitalOcean API Docs: Official API Documentation
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Provides access to all 471+ DigitalOcean API endpoints through an MCP server that dynamically extracts them from the OpenAPI specification, enabling search, filtering, and direct API calls with proper authentication.
Related MCP Servers
- -securityAlicense-qualityA Python-based MCP server that integrates OpenAPI-described REST APIs into MCP workflows, enabling dynamic exposure of API endpoints as MCP tools.Last updated -121MIT License
Pipedreamofficial
-securityFlicense-qualityRun your own MCP server for over 2,500 apps and APIs. * Run your own MCP server for over 2,500 APIs * Manage servers for your users, in your own app. * Connect accounts, configure params, and make API requests, all via tools * Fully-managed OAuth and credential storage )Last updated -19810,636- -securityAlicense-qualityGenerate an MCP server for any OpenAPI documented endpoint.Last updated -299MIT License
- -securityAlicense-qualityAn MCP server that provides deep knowledge about OpenAI APIs and SDKs, enabling users to query technical information through various MCP clients including ChatGPT Deep Research, Cursor, and OpenAI Responses API.Last updated -11MIT License