
digitalocean-labs/mcp-digitalocean
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 디지털오션 통합
개요
MCP DigitalOcean Integration은 DigitalOcean 자원을 관리하고 DigitalOcean API를 사용하여 동작을 수행하는 데 포괄적인 인터페이스를 제공하는 오픈소스 프로젝트입니다. godo 라이브러리와 MCP 프레임워크 위에 구축된 이 프로젝트는 클라우드 인프라 관리를 단순화하는 다양한 도구를 제공합니다. "DigitalOcean 계정과 상호작용하기 위해 MCP 기술을 사용하는 것은 위험을 수반할 수 있습니다" DigitalOcean API 토큰을 어떤 설정 파일(예: claude_desktop_config.json, ~/.cursor/config.json, VS Code 설정)에 직접 붙여넣지 마세요. 이 파일들을 GitHub에 커밋하면 토큰이 노출되고 GitHub가 계정을 보호하기 위해 자동으로 차단하거나 취소합니다. 안전한 방법은 토큰을 컴퓨터에 저장한 후 설정 파일에서 참조하는 것입니다. 클라이언트 설치를 진행하기 전에 운영체제에 맞는 아래 단계를 따르세요. 2. 어떤 셸을 사용하고 있는지 확인하세요: - /bin/zsh가 출력되면 편집 ~/→.
개요(AI 번역)
MCP DigitalOcean Integration은 DigitalOcean 자원을 관리하고 DigitalOcean API를 사용하여 동작을 수행하는 데 포괄적인 인터페이스를 제공하는 오픈소스 프로젝트입니다. godo 라이브러리와 MCP 프레임워크 위에 구축된 이 프로젝트는 클라우드 인프라 관리를 단순화하는 다양한 도구를 제공합니다.
면책 조항: “MCP 기술을 사용하여 DigitalOcean 계정과 상호작용하는 것은 위험을 수반할 수 있습니다”
인증
호스팅(원격) MCP 서버는 두 가지 인증 방식을 지원합니다:
- OAuth 2.0 (권장). 서버 URL만 추가하세요 —
Authorization헤더 없이 말이죠. 클라이언트는 첫 사용 시 브라우저를 열어 DigitalOcean에 로그인하므로, 생성, 저장, 회전할 토큰이 없습니다. 지원되는 클라이언트(예: 최근 Claude와 Cursor)는 이 작업을 자동으로 처리하며, 아래 1–2단계를 건너뛸 수 있습니다. - API 토큰. 로컬 설치나 OAuth 지원이 없는 클라이언트의 경우,
Authorization: Bearer헤더(원격) 또는DIGITALOCEAN_API_TOKEN환경 변수(로컬)를 통해 DigitalOcean 개인 액세스 토큰을 사용합니다. 아래 1–2단계를 참조하세요.
보안: API 토큰을 하드코딩하지 마세요
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP DigitalOcean Integration
MCP DigitalOcean Integration is an open-source project that provides a comprehensive interface for managing DigitalOcean resources and performing actions using the DigitalOcean API. Built on top of the godo library and the MCP framework, this project exposes a wide range of tools to simplify cloud infrastructure management.
DISCLAIMER: “Use of MCP technology to interact with your DigitalOcean account can come with risks”
Authentication
The hosted (remote) MCP servers support two ways to authenticate:
- OAuth 2.0 (recommended). Just add the server URL — no
Authorizationheader. Your client opens a browser to sign in to DigitalOcean on first use, so there’s no token to create, store, or rotate. Supported clients (e.g. recent Claude and Cursor) handle this automatically, and you can skip Steps 1–2 below. - API token. For local installs or clients without OAuth support, use a DigitalOcean personal access token via an
Authorization: Bearerheader (remote) or theDIGITALOCEAN_API_TOKENenvironment variable (local). See Steps 1–2 below.
Security: Never Hardcode Your API Token
WARNING: Do NOT paste your DigitalOcean API token directly into any config file (e.g.,
claude_desktop_config.json,~/.cursor/config.json, VS Code settings). If you commit these files to GitHub, your token will be exposed and GitHub will automatically block or revoke it to protect your account.
The safe approach is to store your token in an environment variable on your machine and reference it from your config file. Follow the steps below for your operating system before proceeding with any client installation.
Step 1: Set Up Your API Token as an Environment Variable
macOS / Linux
Option A: Set it in your shell profile (Recommended — persists across reboots)
-
Open a terminal.
-
Determine which shell you are using:
echo $SHELL- If it outputs
/bin/zsh→ edit~/.zshrc - If it outputs
/bin/bash→ edit~/.bashrcor~/.bash_profile
- If it outputs
-
Open the file in a text editor:
# For zsh (default on macOS Monterey and later) nano ~/.zshrc # For bash nano ~/.bashrc -
Add the following line at the bottom of the file:
export DIGITALOCEAN_API_TOKEN="your_actual_token_here"Replace
your_actual_token_herewith your real token from the DigitalOcean API Tokens page. -
Save and exit:
- In
nano: pressCtrl + O, thenEnterto save, thenCtrl + Xto exit.
- In
-
Reload your shell to apply the change:
source ~/.zshrc # or source ~/.bashrc -
Verify it is set correctly:
설치
npx mcp-remote https://apps.mcp.digitalocean.com/mcp설정
{
"mcpServers": {
"digitalocean-apps": {
"command": "npx",
"args": ["mcp-remote", "https://apps.mcp.digitalocean.com/mcp"]
}
}
}