datadog

v1.21.1
io.github.us-all/datadog Checked 2 days ago Published 5 months ago

Datadog MCP — 165 tools for metrics, monitors, logs, APM, RUM, incidents, CI/CD, fleet

Values you need

VariableWhat it is
DD_API_KEYrequired secret Datadog API key
DD_APP_KEYrequired secret Datadog application key
DD_SITEoptional Datadog site (datadoghq.com, datadoghq.eu, us3.datadoghq.com, etc.) Default: datadoghq.com
DD_TOOLSoptional Comma-separated category allowlist (e.g. metrics,monitors,logs). Default: all categories enabled.
DD_DISABLEoptional Comma-separated category disablelist.
DD_ALLOW_WRITEoptional Set to 'true' to enable write/destructive tools. Default read-only. Default: false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add datadog -e 'DD_API_KEY=<DD_API_KEY>' -e 'DD_APP_KEY=<DD_APP_KEY>' -- npx -y @us-all/datadog-mcp@1.21.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "datadog": {
      "args": [
        "-y",
        "@us-all/datadog-mcp@1.21.1"
      ],
      "command": "npx",
      "env": {
        "DD_API_KEY": "<DD_API_KEY>",
        "DD_APP_KEY": "<DD_APP_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "datadog": {
      "args": [
        "-y",
        "@us-all/datadog-mcp@1.21.1"
      ],
      "command": "npx",
      "env": {
        "DD_API_KEY": "<DD_API_KEY>",
        "DD_APP_KEY": "<DD_APP_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DD_API_KEY",
      "id": "dd-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "DD_APP_KEY",
      "id": "dd-app-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "datadog": {
      "args": [
        "-y",
        "@us-all/datadog-mcp@1.21.1"
      ],
      "command": "npx",
      "env": {
        "DD_API_KEY": "${input:dd-api-key}",
        "DD_APP_KEY": "${input:dd-app-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.datadog]
command = "npx"
args = ["-y", "@us-all/datadog-mcp@1.21.1"]
env = { "DD_API_KEY" = "<DD_API_KEY>", "DD_APP_KEY" = "<DD_APP_KEY>" }

For AI agents

  1. Ask the user for: DD_API_KEY, DD_APP_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: query-metrics, get-metrics, get-metric-metadata, list-active-metrics, list-metric-tags, get-monitors, get-monitor, create-monitor, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json