DigitalOcean — MCP server for Claude Code: what it does
An MCP server for managing DigitalOcean infrastructure and resources via AI agents. It enables deploying applications, configuring databases, and controlling cloud components directly from your chat.
MIT ★ 139 updated 2026-11-16
claude mcp add --transport http mcp https://mcp.digitalocean.com/mcpWhat DigitalOcean does
This MCP server provides an interface to interact with the DigitalOcean API, covering Droplets, App Platform, Kubernetes, managed databases, and Spaces. It uses a single router endpoint to forward commands to the appropriate cloud management tools.
Authentication is handled via OAuth 2.0 or a personal API token. If using a token, you must set the DIGITALOCEAN_API_TOKEN environment variable to keep your credentials out of configuration files and version control.
What it helps with
- deploy an application to App Platform
- provision and configure a new Droplet
- manage Kubernetes clusters
- configure network settings and Spaces
Example prompts for the agent
- Create a new Droplet with Ubuntu 24.04
- List all running Kubernetes clusters
- Deploy the current project to DigitalOcean App Platform
How to install DigitalOcean
Platform CLI: remote server
claude mcp add --transport http mcp https://mcp.digitalocean.com/mcpPlatform CLI: remote server
codex mcp add digitalocean --url https://mcp.digitalocean.com/mcpConfig file
{
"mcpServers": {
"digitalocean": {
"url": "https://mcp.digitalocean.com/mcp"
}
}
}Config file
{
"servers": {
"digitalocean": {
"type": "http",
"url": "https://mcp.digitalocean.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http digitalocean https://mcp.digitalocean.com/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DigitalOcean
How to install DigitalOcean in Claude Code?
Run the command claude mcp add --transport http digitalocean https://mcp.digitalocean.com/mcp in your terminal.
What does the DigitalOcean MCP server do?
It provides tools to manage DigitalOcean resources, allowing your AI agent to perform cloud infrastructure operations via API.
What is required to use DigitalOcean?
You need a DigitalOcean account and an API token (or OAuth 2.0 authorization). It is recommended to store the API token in the DIGITALOCEAN_API_TOKEN environment variable.