Datadog MCP Server
Datadog MCP servers enable AI models to interact with Datadog observability: metrics, logs, events, monitors, dashboards, and incidents.
Overview
The Datadog MCP Server bridges AI agents with Datadog by providing structured access to observability data and controls. It enables natural-language workflows over metrics, logs, events, dashboards, monitors, and incidents.
Community Server:
Maintained by GeLi2001 and distributed as the datadog-mcp-server npm package.
Key Features
Metrics & Logs
Query timeseries metrics and search logs with filtering and pagination
Monitors & Alerts
List and inspect monitor states for alerting and SLO overview
Dashboards & Incidents
Discover dashboards and fetch incidents for operational context
Events & Infrastructure
Fetch events and inspect monitor and infrastructure context
Available Tools
Quick Reference
| Tool | Purpose | Category |
|---|---|---|
get-metrics | List available metrics | Read |
get-metric-metadata | Get metadata for a metric | Read |
search-logs | Search logs with filters | Read |
aggregate-logs | Aggregate log data | Analytics |
get-monitors | Retrieve monitor states | Monitoring |
get-monitor | Get a monitor by ID | Monitoring |
get-dashboards | List dashboard definitions | Discovery |
get-dashboard | Get a dashboard by ID | Discovery |
get-events | Fetch events within a time range | Events |
get-incidents | List incidents | Incident |
Detailed Usage
get-metricsβΆ
List available metrics in your Datadog account.
use_mcp_tool({
server_name: "datadog",
tool_name: "get-metrics",
arguments: {}
});
search-logsβΆ
Search logs with query, time window, pagination, and sorting.
use_mcp_tool({
server_name: "datadog",
tool_name: "search-logs",
arguments: {
filter: {
query: "service:api-gateway status:error",
from: "now-30m",
to: "now"
},
limit: 50,
sort: "-timestamp"
}
});
get-monitorsβΆ
Retrieve monitor states with optional filters.
use_mcp_tool({
server_name: "datadog",
tool_name: "get-monitors",
arguments: {
groupStates: ["alert", "warn"]
}
});
get-dashboardsβΆ
List dashboard definitions for discovery.
use_mcp_tool({
server_name: "datadog",
tool_name: "get-dashboards",
arguments: {}
});
get-incidentsβΆ
List incidents with optional filtering and pagination.
use_mcp_tool({
server_name: "datadog",
tool_name: "get-incidents",
arguments: {
includeArchived: false,
query: "state:active",
pageSize: 10
}
});
Installation
{
"mcpServers": {
"datadog": {
"command": "npx",
"args": [
"datadog-mcp-server",
"--apiKey", "your_api_key",
"--appKey", "your_app_key",
"--site", "datadoghq.com"
]
}
}
}
Regional Sites:
Use your Datadog site, e.g. datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com.
Sources
Related Articles & Guides
Auth0 MCP Server
Auth0 MCP server enables AI models to interact with Auth0 identity and access management, including applications, APIs, actions, logs, and forms.
Accessibility Scanner MCP Server
Accessibility Scanner MCP servers enable AI models to perform WCAG compliance checks, capture annotated screenshots, and generate detailed accessibility reports.
AWS MCP Server
Interact with Amazon Web Services through your AI assistant using the AWS API MCP Server.