ddsetup

작성자: datadog-labs

First-time initialization of the Datadog MCP server `plugin:datadog:mcp`. When fulfilling requests that involve Datadog, use MCP tools from…

npx skills add https://github.com/datadog-labs/claude-code-plugin --skill ddsetup

Datadog MCP Server

The id of the Datadog MCP Server referenced on this document is plugin:datadog:mcp. You MUST use this specific server even if there are other Datadog servers.

If tools from the plugin's Datadog MCP server are not in your available tools, you MUST still run this skill — do not conclude that Datadog is unavailable. Absent tools mean the server needs setup or is temporarily disconnected; they are not evidence that the request cannot be fulfilled. The datadog-server-state check below is the authoritative source for what is actually happening.

Accessing Datadog using other methods

If there is a problem with the plugin's Datadog MCP server, do NOT suggest the user to access Datadog information using different approaches like the Datadog webpage. Instead first fix the plugin's MCP server because it provides a better agentic experience. Only consider other methods if the user explicitly guides you in that direction.

Shared reference

This is a hard gate, not a suggestion. You MUST actually read references/mcp-settings.md before proceeding and writing any user-facing text, asking any question, or performing any file edit suggested by this skill — even if you believe you already know its contents from a prior turn or a prior session. Do not answer from memory of Datadog site codes, domains, or file paths; the tables and path rules in that file are the only authoritative source, and they can differ from your general knowledge or from what you've seen in other contexts.

The references/mcp-settings.md file contains the datadog-server-state check, registration file location, editing rules, and site-to-domain mapping used by the procedure below.

Setup procedure

Check the datadog-server-state (see mcp-settings.md):

  • working — continue with the user's request without mentioning this check.
  • not-working — without any preamble, tell the user the server is setup but not working, instruct them to run /ddconfig, and stop.
  • not-setup — the server needs first-time setup. Do not attempt to gather data using a different approach. Do not attempt any further MCP calls: they will fail until setup is complete.

When communicating with the user below, describe the server state in plain language. Do not reveal what was checked, what was found, or any implementation details like file contents or variable values.

What Datadog provides once set up

Datadog is an observability platform. After this skill completes setup, the agent gains MCP tools to query production data directly — without the user needing to leave the AI client or open a browser. Examples of what becomes possible:

  • Search and filter application logs
  • Query infrastructure and application metrics
  • Inspect distributed traces for latency or errors
  • List dashboards, monitors, and alerts
  • Investigate incidents and on-call pages

These MCP tools are the primary way to access Datadog data from within the AI client. Until setup is complete, none of these tools exist. The agent cannot see them, list them, or call them.

Steps

  1. Check for saved configuration. Silently read ${CLAUDE_PLUGIN_DATA}/toolsets and ${CLAUDE_PLUGIN_DATA}/domain. For each file that contains a non-empty value, apply it to the registration file following the editing rule in mcp-settings.md. Then take exactly one of these branches:
    • If you applied the domain: tell the user the existing configuration was re-applied following a plugin update, naming the re-applied values (no need to mention files read or written). Tell the user to run /reload-plugins and stop this skill entirely — do NOT proceed to the steps below.
    • If you applied other values but not the domain: tell the user the existing configuration was partially re-applied following a plugin update, naming the re-applied values (no need to mention files read or written). Continue with the domain configuration steps below.
    • If you applied nothing: continue with the domain configuration steps below.

Now follow these steps to configure the domain:

  1. Ask for the domain. Tell the user the Datadog MCP server needs to be set up, present the available sites and their MCP domains from mcp-settings.md's site-to-domain table and ask which domain to use. The user may respond with an MCP domain directly, a site code, a URL, or something else — use the mapping rules in mcp-settings.md to resolve the answer to an MCP domain. Ask for clarification if ambiguous.

    Follow the "Stay on script" rule in mcp-settings.md. In particular, do not preview the follow-up instructions from step 3 below (reload, re-authenticate, etc.) — that step emits them verbatim at the right moment.

  2. Apply the change. Locate the registration file using the deterministic path derivation in mcp-settings.md. In the registration file, replace the exact string not-setup with the resolved MCP domain. Follow the editing rule in mcp-settings.md.

    Before:

    ${DD_MCP_DOMAIN:-not-setup}
    

    After (example for us1):

    ${DD_MCP_DOMAIN:-mcp.datadoghq.com}
    

    Before writing, tell the user in plain language that their domain selection is being saved locally so it can be re-applied automatically if the plugin is later updated or reinstalled (do not reveal the file path or variable names). Then write the resolved MCP domain to ${CLAUDE_PLUGIN_DATA}/domain (plain text, one line).

    Verify the edit before reporting success. Re-read the registration file at the exact path you derived and confirm that not-setup is gone and the resolved MCP domain is present. Do not tell the user anything was initialized until this re-read confirms it. If not-setup is still there, the edit landed somewhere else — re-derive the path using the rule in mcp-settings.md and apply the change again rather than reporting success.

  3. Tell the user that the Datadog MCP server has been initialized and to follow these steps:

    1. Run the command /reload-plugins
    2. Run the command /mcp in Claude Code and select the plugin:datadog:mcp server
    3. Select the authentication option

datadog-labs의 다른 스킬

dd-audit-compliance-report
datadog-labs
Datadog Audit Trail에서 SOC 2 및 PCI DSS에 대한 감사자 준비 완료 규정 준수 증거를 생성합니다. 프레임워크 컨트롤을 특정 쿼리 패턴에 매핑하고 다음을 생성합니다…
experiment-analyzer
datadog-labs
LLM 실험 결과를 분석합니다. 단일 또는 비교 실험, 탐색적 또는 Q&A 모드를 처리합니다. 사용자가 "실험 분석", "비교…"라고 말할 때 사용하세요.
dd-logs
datadog-labs
로그 관리 - 검색, 파이프라인, 아카이브 및 비용 제어.
dd-monitors
datadog-labs
모니터 관리 - 생성, 업데이트, 음소거 및 알림 모범 사례.
dd-audit-cost-spike-investigation
datadog-labs
Datadog 제품 사용량 또는 비용 급증을 조사하기 위해 사용량 측정 데이터(언제/무엇이 급증했는지)를 감사 추적 구성 변경 사항(누가 무엇을 변경했는지)과 연관시킵니다.
dd-audit-key-compromise
datadog-labs
잠재적으로 유출된 Datadog API 키를 조사합니다 — 작업 타임라인, 지리/IP 분석, 호출된 엔드포인트, 이상 징후 플래그 및 복구 단계.
eval-trace-rca
datadog-labs
프로덕션 LLM 트레이스에서 평가 판정 결과를 신호로 사용하여 근본 원인을 분석합니다. 사용자 애플리케이션이 실패하는 이유를 진단합니다. 사용자가 "eval…"이라고 말할 때 사용하세요.
dd-account-setup
datadog-labs
사용자가 Datadog 설정 또는 계측을 시작하기 전에 올바른 리전에서 유효한 DD_API_KEY로 인증된 Datadog 계정을 보유하고 있는지 확인합니다. 기존…