
DigitalOcean MCP
OfficialDigitalOcean's App Platform MCP: deploy apps, tail logs, roll back. Archived — superseded by mcp-digitalocean.
Add to your client
Copy the config for your MCP client and paste it into its config file.
npx @digitalocean/mcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"digitalocean-mcp": {
"command": "npx",
"args": [
"@digitalocean/mcp"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<your-do-token>"
}
}
}
}Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Node.js 12+ with npm/npx
- DigitalOcean Personal Access Token with App Platform scopes (cloud.digitalocean.com/account/api/tokens)
- An MCP client: Claude Desktop v1.9+, Claude Code, Cursor or Windsurf
About DigitalOcean MCP
The server wraps DigitalOcean's App Platform API in MCP tools so an assistant can ship and operate apps without the dashboard or doctl. You generate a Personal Access Token with App Platform scopes at cloud.digitalocean.com/account/api/tokens, drop the three-line npx config into Claude Desktop (v1.9+), Claude Code, Cursor or Windsurf, and prompts like 'create a new app from this GitHub repo with 1GB RAM in NYC3' become API calls.
The tool set covers the full app lifecycle: apps (list/create/get/update/delete/restart), deployments (list/create/get/cancel), logs (active deployment logs plus downloadable archives), infrastructure discovery (regions, instance sizes), alert destinations, bandwidth metrics, and app spec validation. Rollbacks are a proper four-step flow — validate, rollback, commit, revert — rather than a single destructive call.
The important caveat is lifecycle status: DigitalOcean archived this repo and consolidated MCP work into digitalocean-labs/mcp-digitalocean, which extends coverage beyond App Platform. The archived package keeps working for App Platform tasks and its narrow surface is easy to audit, but new integrations should start on the successor.
Practical notes: Node.js ≥ 12 is the only local requirement, npx @digitalocean/mcp run directly in a terminal is the quickest smoke test, and the GitHub CLI is handy alongside it for repo-based deploy flows.
Tools & capabilities (23)
list_appsList all App Platform apps on the account.
create_appCreate a new app, e.g. from a GitHub repo.
get_appGet details of an app.
update_appUpdate an app's spec or settings.
delete_appDelete an app.
restart_appRestart an app or its components.
list_deploymentsList deployments for an app.
create_deploymentTrigger a new deployment.
get_deploymentGet details of a deployment.
cancel_deploymentCancel an in-progress deployment.
retrieve_active_deployment_logsFetch logs from the active deployment.
download_logsDownload log archives.
list_app_regionsList available App Platform regions.
list_instance_sizesList available instance sizes.
list_app_alertsList configured alerts for an app.
update_app_alert_destinationsUpdate alert destinations.
validate_app_rollbackCheck whether a rollback is possible.
rollback_appRoll an app back to a previous deployment.
commit_app_rollbackCommit a rollback permanently.
revert_app_rollbackRevert a rollback.
get_app_bandwidth_daily_metricsDaily bandwidth metrics for one app.
get_all_app_bandwidth_daily_metricsDaily bandwidth metrics across all apps.
validate_app_specValidate an app spec before deploying.
What this server can do
DigitalOcean MCP provides tools for these capabilities — tap one to see every MCP server that does the same:
When to use it
- Deploy a new App Platform app straight from a GitHub repo by prompt
- Tail active deployment logs and restart a misbehaving component
- Validate and execute a rollback when a deploy goes bad
- Audit regions, instance sizes and bandwidth metrics across your apps
Quick setup
- 1Create a Personal Access Token with App Platform scopes at cloud.digitalocean.com/account/api/tokens
- 2Add the npx @digitalocean/mcp config block with DIGITALOCEAN_API_TOKEN to claude_desktop_config.json or ~/.cursor/mcp.json
- 3Restart the client and confirm digitalocean appears in the MCP server list
- 4Smoke-test with: List all active apps on my account
- 5For new projects, evaluate the successor @digitalocean-labs/mcp-digitalocean first
Security notes
This repo is archived: it still runs via npx but receives no updates or security fixes — DigitalOcean's notice points to @digitalocean-labs/mcp-digitalocean as the successor. The DIGITALOCEAN_API_TOKEN you supply can create and delete real apps and deployments, so scope it to App Platform permissions only and rotate it regularly.
DigitalOcean MCP FAQ
Is the DigitalOcean MCP server still maintained?
No — the repository is archived. DigitalOcean's archive notice points to digitalocean-labs/mcp-digitalocean as the replacement. The @digitalocean/mcp npm package still runs, but it is frozen: no new features and no security fixes.
Can it manage Droplets or managed databases?
No. This server covers App Platform only: apps, deployments, logs, alerts, rollbacks and bandwidth metrics. For broader DigitalOcean coverage, use the successor project mcp-digitalocean.
Is it safe to keep using an archived server with my DO token?
It works, with a shrinking safety margin: the code runs locally via npx and talks only to DigitalOcean's API, but unpatched issues stay unpatched. Use a token scoped strictly to App Platform, rotate it regularly, and plan a migration to the successor.
Alternatives to DigitalOcean MCP
Compare all alternatives →GitHub's official server for repos, issues, PRs, and Actions — local Docker or hosted remote.
Official AWS Labs server that lets agents call any AWS API via the AWS CLI surface.
Bulk Kubernetes port forwarding with an MCP server that lets AI assistants forward services, inspect pods, and monitor traffic.
Compare DigitalOcean MCP with: