Datadog MCP by usefulapi
v1.1.1Read monitors, logs, metrics and incidents, and mute or unmute hosts in Datadog.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
datadog_get_current_user Get the signed-in user
Return the Datadog user that owns the application key, with the organization it belongs to. Use it to check the connection. Datadog API: GET /api/v2/current_user.
datadog_list_monitors List monitors
List monitors in the organization with their status. Filter by name, tags, or group state (alert, warn, no data). Datadog API: GET /api/v1/monitor.
| Parameter | Type | Description |
|---|---|---|
group_states | string | Comma-separated: all, alert, warn, no data. Adds group state details. |
monitor_tags | string | Comma-separated monitor tags to filter by. |
name | string | Only monitors whose name contains this text. |
page | integer | Zero-based page number. |
page_size | integer | Monitors per page (1-1000). |
tags | string | Comma-separated tags. Only monitors with all of them. |
with_downtimes | boolean | Include the downtimes that match each monitor. |
datadog_search_monitors Search monitors
Search monitors with a query such as status:alert or tag:env:prod, and get the counts by status. Datadog API: GET /api/v1/monitor/search.
| Parameter | Type | Description |
|---|---|---|
page | integer | Zero-based page number. |
per_page | integer | Results per page (1-100). |
query | string | Monitor search query, for example status:alert or env:prod. |
sort | string | Sort field and direction, for example status,asc. |
datadog_get_monitor Get a monitor
Return one monitor with its query, thresholds, message and state. Datadog API: GET /api/v1/monitor/{monitor_id}.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | integer | Monitor id (from datadog_list_monitors). |
datadog_list_dashboards List dashboards
List the dashboards in the organization (titles, ids, and authors). Use count and start to page. Datadog API: GET /api/v1/dashboard.
| Parameter | Type | Description |
|---|---|---|
count | integer | Dashboards to return in this page. |
start | integer | Offset of the first dashboard to return. |
datadog_get_dashboard Get a dashboard
Return one dashboard with its widgets and their queries. Datadog API: GET /api/v1/dashboard/{dashboard_id}.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | string | Dashboard id (from datadog_list_dashboards). |
datadog_query_metrics Query metric time series
Run a metric query over a time range and return the points. Example query: avg:system.cpu.user{env:prod} by {host}. Datadog API: GET /api/v1/query.
| Parameter | Type | Description |
|---|---|---|
from * | integer | Start of the range, Unix time in seconds. |
query * | string | Metric query, for example avg:system.cpu.user{env:prod} by {host}. |
to * | integer | End of the range, Unix time in seconds. |
datadog_search_logs Search logs
Search log events by query and time range, newest first by default. Use limit and cursor to page. Datadog API: POST /api/v2/logs/events/search.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from the previous page's meta.page.after. |
from | string | Start time: now-15m, a date-math value, or Unix milliseconds. Default now-15m. |
limit | integer | Logs per page (1-100). Default 50. |
query | string | Log search query, for example service:web status:error. Default: *. |
sort | string | timestamp (oldest first) or -timestamp (newest first). |
to | string | End time, same formats as from. Default now. |
datadog_list_events List events
List events such as deploys, alerts and custom events that match a search query, in a time range. Datadog API: GET /api/v2/events.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from the previous page's meta.page.after. |
from_ms | integer | Start of the range, Unix time in milliseconds. |
limit | integer | Events per page (1-1000). |
query | string | Event search query, for example source:deploy env:prod. |
sort | string | timestamp (oldest first) or -timestamp (newest first). |
to_ms | integer | End of the range, Unix time in milliseconds. |
datadog_list_hosts List hosts
List the hosts that report to Datadog, with their apps and tags. Filter by text, and sort by name, apps, CPU, I/O wait or load. Datadog API: GET /api/v1/hosts.
| Parameter | Type | Description |
|---|---|---|
count | integer | Hosts per page (1-1000). |
filter | string | Text to match host names, tags or apps. |
from | integer | Only hosts that reported since this Unix time in seconds. |
sort_dir | string | Sort direction. |
sort_field | string | Sort field. Unrecognized values fall back to cpu. |
start | integer | Offset of the first host to return. |
datadog_list_incidents List incidents
List incidents in the organization, newest first. Datadog API: GET /api/v2/incidents.
| Parameter | Type | Description |
|---|---|---|
page_offset | integer | Offset of the first incident to return. |
page_size | integer | Results per page (1-100). |
datadog_get_incident Get an incident
Return one incident with its title, status, severity and timeline fields. Datadog API: GET /api/v2/incidents/{incident_id}.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | Incident id (from datadog_list_incidents). |
datadog_list_slos List service level objectives
List service level objectives (SLOs) with their targets and current status. Filter by a query or by tags. Datadog API: GET /api/v1/slo.
| Parameter | Type | Description |
|---|---|---|
ids | string | Comma-separated SLO ids. |
limit | integer | SLOs per page (1-1000). |
offset | integer | Offset of the first SLO to return. |
query | string | Text to match SLO names. |
tags_query | string | Tag query to match SLOs, for example env:prod. |
datadog_list_synthetic_tests List synthetic tests
List the synthetic API and browser tests with their names, types and status. Datadog API: GET /api/v1/synthetics/tests.
| Parameter | Type | Description |
|---|---|---|
page_number | integer | Zero-based page number. |
page_size | integer | Tests per page (1-100). |
datadog_list_downtimes List downtimes
List scheduled and active downtimes that silence monitors. Datadog API: GET /api/v2/downtime.
| Parameter | Type | Description |
|---|---|---|
current_only | boolean | Only downtimes active now. |
page_limit | integer | Downtimes per page (1-100). |
page_offset | integer | Offset of the first downtime to return. |
datadog_list_teams List teams
List the teams in the organization with their names and handles. Datadog API: GET /api/v2/team.
| Parameter | Type | Description |
|---|---|---|
keyword | string | Text to match team names or handles. |
page_number | integer | Zero-based page number. |
page_size | integer | Results per page (1-100). |
datadog_list_users List users
List the users in the organization with their status and roles. Datadog API: GET /api/v2/users.
| Parameter | Type | Description |
|---|---|---|
filter | string | Text to match user names or emails. |
page_number | integer | Zero-based page number. |
page_size | integer | Results per page (1-100). |
status | string | Only users with this status. |
datadog_mute_host Mute a host
Mute all monitors for one host, so its alerts stop. Optionally set an end time and a message. If the host is already muted, set override to true to replace its mute. Datadog API: POST /api/v1/host/{host_name}/mute.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name as shown in datadog_list_hosts. |
end | integer | Unix time in seconds when the host unmutes. Omit to mute until unmuted. |
message | string | Note saved with the mute, for example the reason. |
override | boolean | Replace an existing mute on this host. |
datadog_unmute_host Unmute a host
Unmute a host, so its monitors alert again. Re-running it on an unmuted host has no effect. Datadog API: POST /api/v1/host/{host_name}/unmute.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name as shown in datadog_list_hosts. |