Datadog MCP server for AI agents

Search Datadog logs and events, query metrics, list and change monitors, read dashboards, hosts and SLOs, and schedule or cancel downtimes.

DatadogAPI_KEY

Runs with your users' own Datadog accounts. Credentials stay on prompt-tm.com.

20 tools · 0 triggers

Auth
API key
Tools
20
Triggers
0
Category
Developer tools, Infrastructure

Tools and triggers

  • Get the current user

    DATADOG_GET_CURRENT_USER

    Returns the user the application key belongs to, with their organization and roles.read-only

  • List monitors

    DATADOG_LIST_MONITORS

    Lists monitors, filtered by name, scope tags or monitor tags. Without `page` every monitor comes back in one answer.read-only

  • Search monitors

    DATADOG_SEARCH_MONITORS

    Searches monitors with the query syntax of the Manage Monitors page, such as `status:alert type:metric`, and returns the matches with counts by status, type, tag and muted state.read-only

  • Get a monitor

    DATADOG_GET_MONITOR

    Returns one monitor with its query, options, state and, if asked, its downtimes.read-only

  • Create a monitor

    DATADOG_CREATE_MONITOR

    Creates a monitor. The query's form depends on the type; a metric alert compares an aggregation over a time window with a threshold.

  • Update a monitor

    DATADOG_UPDATE_MONITOR

    Changes a monitor's name, query, message, tags, priority or options.destructive

  • Delete a monitor

    DATADOG_DELETE_MONITOR

    Deletes a monitor. Set `force` to delete it even when an SLO or a composite monitor references it.destructive

  • Query metrics

    DATADOG_QUERY_METRICS

    Returns the timeseries points of a metric query over a time range, such as `avg:system.cpu.user{env:prod} by {host}`.read-only

  • List active metrics

    DATADOG_LIST_ACTIVE_METRICS

    Lists the names of the metrics that reported since a given time, optionally for one host or tag filter.read-only

  • Search logs

    DATADOG_SEARCH_LOGS

    Finds log events matching a query in a time range, such as `service:web status:error` over the last hour (`from: now-1h`).read-only

  • Search events

    DATADOG_SEARCH_EVENTS

    Finds events matching a query in a time range.read-only

  • List dashboards

    DATADOG_LIST_DASHBOARDS

    Lists dashboards with their IDs, titles and URLs.read-only

  • Get a dashboard

    DATADOG_GET_DASHBOARD

    Returns a dashboard's definition: its widgets and their queries.read-only

  • List hosts

    DATADOG_LIST_HOSTS

    Searches hosts by name, alias or tag. Hosts seen in the last 3 hours are included by default; at most 1000 per page.read-only

  • List SLOs

    DATADOG_LIST_SLOS

    Lists service level objectives, filtered by IDs, name, tag or metric query.read-only

  • Get an SLO

    DATADOG_GET_SLO

    Returns one SLO with its targets, type and queries or monitors.read-only

  • Get an SLO's history

    DATADOG_GET_SLO_HISTORY

    Returns an SLO's measured level over a time window and, with `target`, the error budget left.read-only

  • List downtimes

    DATADOG_LIST_DOWNTIMES

    Lists scheduled downtimes, which silence monitor notifications.read-only

  • Schedule a downtime

    DATADOG_CREATE_DOWNTIME

    Silences the notifications of one monitor, or of all monitors with given tags, within a scope such as `env:prod`. Give `start` and `end` for a one-time downtime (no start means now, no end means until cancelled), or `recurrences` for a repeating one.

  • Cancel a downtime

    DATADOG_CANCEL_DOWNTIME

    Ends a downtime now, so its monitors notify again.destructive

Try Datadog now

Sign in, connect your account and run any of these in the playground, or ask your agent through the router.

Try it free

Connect via MCP

Create an MCP server for Datadog in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.

terminal
claude mcp add --transport http datadog \
  "https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
  --header "x-api-key: ptm_…"

Connect via REST

Run a tool with one request. The response is { data, error, successful, log_id } for every tool.

terminal
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/DATADOG_GET_CURRENT_USER \
  -H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
  -d '{ "user_id": "alice", "arguments": {} }'

Datadog questions