home / mcp / datadog mcp server
MCP Server for Datadog monitoring with Kubernetes, APM, and infrastructure metrics support.
Configuration
View docs{
"mcpServers": {
"adisaputra10-mcp-datadog": {
"command": "npx",
"args": [
"mcp-datadog-playcourt"
],
"env": {
"DATADOG_SITE": "datadoghq.com",
"DATADOG_API_KEY": "your-api-key",
"DATADOG_APP_KEY": "your-app-key"
}
}
}
}You deploy and run a Datadog-focused MCP Server that collects Kubernetes, deployment, namespace, host, and APM metrics, enabling centralized monitoring through your MCP client. This server integrates Datadog observability capabilities into your MCP workflow so you can query metrics and monitor your infrastructure directly from your MCP environment.
Use your MCP client to connect to the Datadog MCP Server you configured. You can run queries to retrieve Kubernetes metrics, monitor deployments, aggregate namespace resource usage, enumerate hosts, and access APM-related insights. The server exposes a set of actions (tools) you can invoke from your MCP client to fetch the exact metrics you need and to drill into details for a specific host or deployment.
Prerequisites: you need Node.js installed on your machine so you can run npm and npx commands.
Step 1. Install and run the MCP server client command directly with npx.
npx mcp-datadog-playcourtConfigure your MCP client to load the Datadog MCP Server with the required environment variables for Datadog access.
{
"servers": {
"datadog": {
"command": "npx",
"args": ["mcp-datadog-playcourt"],
"env": {
"DATADOG_API_KEY": "your-api-key",
"DATADOG_APP_KEY": "your-app-key",
"DATADOG_SITE": "datadoghq.com"
}
}
}
}Keep your Datadog API and Application keys secure. Do not share these keys in public repositories or logs. Store keys in a secure secrets manager and reference them in your MCP settings as shown.
Query Kubernetes metrics such as pod counts, CPU, memory, and network usage.
Retrieve deployment metrics including per-pod metrics and response time for deployments.
Aggregate resource usage at the namespace level.
List all monitored infrastructure hosts with system information.
Fetch detailed information for a specific host.
List all monitored hosts.
List all monitored databases.
Query host infrastructure metrics.
Query database metrics.