datadog
v1.21.1Datadog MCP — 165 tools for metrics, monitors, logs, APM, RUM, incidents, CI/CD, fleet
Values you need
| Variable | What it is | |
|---|---|---|
DD_API_KEY | required secret | Datadog API key |
DD_APP_KEY | required secret | Datadog application key |
DD_SITE | optional | Datadog site (datadoghq.com, datadoghq.eu, us3.datadoghq.com, etc.) Default: datadoghq.com |
DD_TOOLS | optional | Comma-separated category allowlist (e.g. metrics,monitors,logs). Default: all categories enabled. |
DD_DISABLE | optional | Comma-separated category disablelist. |
DD_ALLOW_WRITE | optional | 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.1Add 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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