
DigitalOcean
STDIOMCP server for managing DigitalOcean App Platform through AI assistants
MCP server for managing DigitalOcean App Platform through AI assistants
This MCP server exposes DigitalOcean App Platform functionality through standardized tools that can be used by any MCP client, including Claude Desktop and Cursor. It enables AI assistants to directly manage your DigitalOcean apps without writing code or memorizing API endpoints.
You can now do things like:
...and more!
To use the DigitalOcean MCP Server, you’ll need:
💡 You do not need to install anything—this server runs via npx, with just a one-line config added to your MCP client.
Head to DigitalOcean’s API settings and create a new Personal Access Token with App Platform permissions.
Add this JSON snippet to your client’s MCP config file:
{ "mcpServers": { "digitalocean": { "command": "npx", "args": ["@digitalocean/mcp"], "env": { "DIGITALOCEAN_API_TOKEN": "YOUR_DO_TOKEN" } } } }
Here’s what each part of the snippet does:
npx
or full path)Then follow the instructions for your specific tool:
claude_desktop_config.json
YOUR_DO_TOKEN
with your token
Setting up DigitalOcean MCP Server in Claude Desktop
~/.cursor/mcp.json
YOUR_DO_TOKEN
with your token
Setting up DigitalOcean MCP Server in Cursor
~/.codeium/windsurf/mcp_config.json
YOUR_DO_TOKEN
with your tokenSetting up DigitalOcean MCP Server in Windsurf
Once it’s configured, try asking your assistant:
“List all active apps on my account”
“Create a new app from https://github.com/do-community/do-one-click-deploy-flask with 1GB RAM in NYC3”
“Show logs for checkout-service”
“Cancel the current deployment for marketing-site”
“Delete the old `staging-env` app”
The assistant will send the request → the MCP server talks to DigitalOcean → you get structured results, ready to act on.
Category | Commands |
---|---|
Apps | list_apps , create_app , get_app , update_app , delete_app , restart_app |
Deployments | list_deployments , create_deployment , get_deployment , cancel_deployment |
Logs | retrieve_active_deployment_logs , download_logs |
Infra | list_app_regions , list_instance_sizes |
Alerts | list_app_alerts , update_app_alert_destinations |
Rollbacks | validate_app_rollback , rollback_app , commit_app_rollback , revert_app_rollback |
Metrics | get_app_bandwidth_daily_metrics , get_all_app_bandwidth_daily_metrics |
Validation | validate_app_spec |
You can also test the server directly by running:
npx @digitalocean/mcp
We’d love your help improving this! Bug reports, new features, and docs improvements are all welcome.
git checkout -b feature/awesome-tool
)This project is licensed under the MIT License.