- Home
- MCP servers
- DigitalOcean
DigitalOcean
- typescript
73
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"digitalocean-digitalocean-mcp": {
"command": "npx",
"args": [
"@digitalocean/mcp"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN"
}
}
}
}DigitalOcean MCP Server lets you manage DigitalOcean App Platform resources directly from your preferred MCP client. By exposing a standardized set of tools, you can deploy, redeploy, monitor, and control apps without writing code or memorizing API endpoints.
How to use
You interact with the DigitalOcean MCP Server through your MCP client. After you configure the server, you can perform common app management tasks from your assistant, including creating new apps from GitHub, deploying updates, viewing logs, and managing deployments and environments. Use natural language prompts like list all active apps, create an app from a repository, show logs for a service, or cancel a deployment. The MCP server translates your requests into DigitalOcean App Platform actions and returns structured results you can act on.
How to install
Prerequisites you need before installing the MCP server:
- Node.js (≥ 12)
- npm
- A DigitalOcean Personal Access Token with App Platform permissions
- A supported MCP client (Claude Desktop v1.9+, Claude Code, Cursor, Windsurf)
Install or run the MCP server with a single command via npx, no local installation required.
Add the server to your MCP client
Add the following MCP configuration to your client to connect to the DigitalOcean MCP Server. This launches the MCP server via npx and passes your DigitalOcean API token through the environment.
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": ["@digitalocean/mcp"],
"env": {
"DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN"
}
}
}
}
Claude Desktop
Configure Claude Desktop to load the DigitalOcean MCP Server.
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": ["@digitalocean/mcp"],
"env": {
"DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN"
}
}
}
}
Cursor
Add the same snippet to Cursor’s MCP configuration at the global level.
{
"digitalocean": {
"command": "npx",
"args": ["@digitalocean/mcp"],
"env": {
"DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN"
}
}
}
Windsurf Setup
In Windsurf, add a custom MCP server pointing to the same configuration to enable access from Windsurf.
{
"digitalocean": {
"command": "npx",
"args": ["@digitalocean/mcp"],
"env": {
"DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN"
}
}
}
Available tools
list_apps
List all apps in your DigitalOcean account.
create_app
Create a new app from a repository or configuration.
get_app
Retrieve details for a specific app.
update_app
Update app configuration or environment.
delete_app
Delete an app from your account.
restart_app
Restart a running app.
list_deployments
Show deployments for an app.
create_deployment
Create a new deployment for an app.
get_deployment
Get details of a specific deployment.
cancel_deployment
Cancel an ongoing deployment.
retrieve_active_deployment_logs
Fetch logs for the currently active deployment.
download_logs
Download deployment logs as a file.
list_app_regions
List supported regions for apps.
list_instance_sizes
List available instance sizes for deployments.
list_app_alerts
List alert destinations for an app.
update_app_alert_destinations
Update where alerts are sent for an app.
validate_app_rollback
Validate a proposed rollback for an app.
rollback_app
Rollback to a previous app version.
commit_app_rollback
Commit a rollback to make it permanent.
revert_app_rollback
Revert a rollback if needed.
get_app_bandwidth_daily_metrics
Get daily bandwidth metrics for an app.
get_all_app_bandwidth_daily_metrics
Get daily bandwidth metrics for all apps.
validate_app_spec
Validate an app specification before deploying.