Skip to main content
Glama
Datadog MCP Server

Datadog MCP Server

by TANTIOPE

Datadog MCP Server

Quality gate CI/Release npm License Coverage

DISCLAIMER: This is a community-maintained project and is not officially affiliated with, endorsed by, or supported by Datadog, Inc. This MCP server utilizes the Datadog API but is developed independently.

MCP server providing AI assistants with full Datadog observability access. Features grep-like log search, APM trace filtering with duration/status/error queries, smart sampling modes for token efficiency, and cross-correlation between logs, traces, and metrics. Supports both stdio (local) and http (remote/Kubernetes) transports.

Quick Start

Minimal Claude Desktop / VS Code / Cursor config — just the two required keys:

{
  "mcpServers": {
    "datadog": {
      "command": "npx",
      "args": ["-y", "datadog-mcp"],
      "env": {
        "DD_API_KEY": "your-api-key",
        "DD_APP_KEY": "your-app-key"
      }
    }
  }
}

With optional tuning (EU site, custom default limits, longer log windows):

{
  "mcpServers": {
    "datadog": {
      "command": "npx",
      "args": ["-y", "datadog-mcp"],
      "env": {
        "DD_API_KEY": "your-api-key",
        "DD_APP_KEY": "your-app-key",
        "DD_SITE": "datadoghq.eu",
        "MCP_DEFAULT_LIMIT": "50",
        "MCP_DEFAULT_LOG_LINES": "200",
        "MCP_DEFAULT_METRIC_POINTS": "1000",
        "MCP_DEFAULT_TIME_RANGE": "24"
      }
    }
  }
}

To run as an HTTP server (e.g. inside a container or Kubernetes pod), add transport variables to the same env block:

"env": {
  "DD_API_KEY": "your-api-key",
  "DD_APP_KEY": "your-app-key",
  "MCP_TRANSPORT": "http",
  "MCP_PORT": "3000",
  "MCP_HOST": "0.0.0.0"
}

Related MCP server: datadog-mcp

Configuration

Required environment variables

DD_API_KEY=your-api-key
DD_APP_KEY=your-app-key

Optional environment variables

DD_SITE=datadoghq.com  # Default. Use datadoghq.eu for EU, etc.

# Limit defaults (fallbacks when the AI doesn't specify)
MCP_DEFAULT_LIMIT=50              # General tools default limit
MCP_DEFAULT_LOG_LINES=200         # Logs tool default limit
MCP_DEFAULT_METRIC_POINTS=1000    # Metrics timeseries data points
MCP_DEFAULT_TIME_RANGE=24         # Default time range in hours

# Transport (alternative to CLI flags — useful in Kubernetes)
MCP_TRANSPORT=stdio               # stdio | http
MCP_PORT=3000                     # HTTP port
MCP_HOST=0.0.0.0                  # HTTP host

Optional flags

--site=datadoghq.com     # Datadog site (overrides DD_SITE)
--transport=stdio|http   # Transport mode (default: stdio)
--port=3000              # HTTP port when using http transport
--host=0.0.0.0           # HTTP host when using http transport
--read-only              # Block all write operations
--disable-tools=synthetics,rum,security    # Comma-separated list of tools to disable

Transports

Transport

When to use

Endpoints

stdio (default)

Local MCP clients — Claude Desktop, Cursor, VS Code

n/a (process stdin/stdout)

http

Remote / container / Kubernetes

POST /mcp · GET /mcp (SSE) · DELETE /mcp · GET /health

Select with --transport=http or MCP_TRANSPORT=http.

Deployment

Docker

{
  "mcpServers": {
    "datadog": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "DD_API_KEY",
        "-e", "DD_APP_KEY",
        "-e", "DD_SITE",
        "ghcr.io/tantiope/datadog-mcp"
      ],
      "env": {
        "DD_API_KEY": "your-api-key",
        "DD_APP_KEY": "your-app-key",
        "DD_SITE": "datadoghq.com"
      }
    }
  }
}

Kubernetes

Use environment variables — not container args — for transport configuration:

env:
  - name: DD_API_KEY
    value: "your-api-key"
  - name: DD_APP_KEY
    value: "your-app-key"
  - name: MCP_TRANSPORT
    value: "http"
  - name: MCP_PORT
    value: "3000"
  - name: MCP_HOST
    value: "0.0.0.0"

Note: Kubernetes args: replaces the entire Dockerfile CMD, causing Node.js to receive the flags instead of your application. Environment variables avoid this issue.

Tools

Tool

Action

Category

Description

Required Scopes

monitors

list

Alerting

List monitors with optional filters

monitors_read

monitors

get

Alerting

Get monitor by ID

monitors_read

monitors

search

Alerting

Search monitors by query

monitors_read

monitors

create

Alerting

Create a new monitor; config is validated against a typed schema covering documented options (notifyNoData, renotifyInterval, thresholds, …) — unknown keys surface in warnings. Pass dry_run: true to validate without creating (uses /api/v1/monitor/validate, allowed in read-only mode).

monitors_write

monitors

update

Alerting

Update an existing monitor; same validated schema as create; partial configs accepted; validation errors short-circuit before any HTTP call as EINVALID_MONITOR_CONFIG:

monitors_write

monitors

preview

Alerting

Render a monitor template (inline message or by monitor_id/id) with optional context of variables and conditionals. Returns {rendered, variablesUsed, variablesMissing, conditionalsResolved, tagConditionalsResolved}. Supports Datadog Mustache subset: variable substitution + six documented conditionals (is_alert, is_warning, is_no_data, is_recovery, is_alert_to_warning, is_warning_to_alert) + tag conditionals {{#is_match "tag" "val"}}/{{#is_exact_match "tag" "val"}} (and ^ negations); {{#each}}/partials throw EUNSUPPORTED_TEMPLATE_SYNTAX. Read-only.

monitors_read

monitors

test_notification

Alerting

Known limitation: returns ENOT_SUPPORTED — Datadog has no public REST endpoint for triggering a test notification. Documentation pointer in response.

n/a

monitors

delete

Alerting

Delete a monitor

monitors_write

monitors

mute

Alerting

Mute a monitor

monitors_write

monitors

unmute

Alerting

Unmute a monitor

monitors_write

monitors

top

Alerting

Top N monitors by alert frequency with real monitor names and context breakdown. WARNING: total_count includes renotifies/re-evaluations (Datadog emits a renotify event every renotify_interval minutes while Alert). For real fires use action=history.

monitors_read

monitors

history

Alerting

Count and list real state transitions for one monitor over a time window. Filters by transitionType (default ["alert","alert recovery"] — fires+recoveries, excludes renotifies) and optional group. Returns {transitions: [...], count, meta} where count is the number of real transitions (e.g. for one always-Alert burn-rate monitor over 7d: 98 raw events vs 38 real transitions).

monitors_read, events_read

dashboards

list

Visualization

List all dashboards

dashboards_read

dashboards

get

Visualization

Get dashboard by ID

dashboards_read

dashboards

create

Visualization

Create a new dashboard

dashboards_write

dashboards

update

Visualization

Update a dashboard

dashboards_write

dashboards

delete

Visualization

Delete a dashboard

dashboards_write

logs

search

Logs

Search logs with query syntax and filters

logs_read_data, logs_read_index_data

logs

aggregate

Logs

Aggregate log data with groupBy

logs_read_data

logs_pipelines

list, get

Logs Config

Inspect log processing pipelines and their processors

logs_read_config

logs_pipelines

create, update, delete, reorder

Logs Config

Author pipelines and processor chains

logs_write_config

logs_pipelines

get_order

Logs Config

Read pipeline evaluation order

logs_read_config

logs_indexes

list, get

Logs Config

Inspect indexes (filter, retention, Flex tier, exclusion filters); create/delete are UI-only per Datadog and not exposed

logs_read_config

logs_indexes

update, reorder

Logs Config

Update index filter/retention/quota and reorder evaluation

logs_write_config

logs_indexes

get_order

Logs Config

Read index evaluation order

logs_read_config

logs_archives

list, get

Logs Config

Inspect log archives (S3 / GCS / Azure destinations); per-provider credential fields are forwarded unchanged

logs_read_archives

logs_archives

create, update, delete, reorder

Logs Config

Manage archive destinations; destination.type validated against `s3

gcs

logs_archives

get_order

Logs Config

Read archive evaluation order

logs_read_archives

metrics

query

Metrics

Query timeseries data. Response meta includes rollupRequested (parsed from rollup(method, seconds), with methodInferred flag), rollupEffective (interval derived from returned pointlist intervals + deduped intervalsObserved for multi-series), and rollupOverridden: boolean so callers can detect when Datadog silently downsampled.

metrics_read, timeseries_query

metrics

search

Metrics

Search for metrics by name

metrics_read

metrics

list

Metrics

List active metrics

metrics_read

metrics

metadata

Metrics

Get metric metadata

metrics_read

traces

search

APM

Search spans with filters

apm_read

traces

aggregate

APM

Aggregate trace data

apm_read

traces

services

APM

List APM services

apm_service_catalog_read

events

list

Events

List events

events_read

events

get

Events

Get event by ID

events_read

events

create

Events

Create an event

events_read

events

search

Events

Search events with v2 API and cursor pagination. Optional transitionType filter (e.g. ["alert","alert recovery"]) restricts to monitor state-transition events — without it, source:alert includes renotifies. For monitor-specific fires use monitors action=history. Optional timezone adds *Local ISO 8601 siblings to every timestamp. Zero-result responses include a diagnostics array hinting at the cause (UNINDEXED_TAG_PREFIX, NARROW_TIME_RANGE, RESTRICTIVE_SOURCE_FILTER).

events_read

events

histogram

Events

Server-side bucketing of events by hour_of_day, day_of_week, or day_of_month in an IANA timezone (DST-safe via Intl.DateTimeFormat). Accepts the same transitionType filter as search so monitor histograms can exclude renotifies. Cursor-paginates the underlying search; cap at limits.maxEventsForHistogram (default 5000, MCP_MAX_EVENTS_HISTOGRAM env var). When the cap is hit, returns bucketCountIncomplete: true and nextCursor for continuation.

events_read

events

aggregate

Events

Client-side aggregation by monitor_name, source, etc.

events_read

events

top

Events

Top N event groups by count with generic groupBy support (deployments, configs, alerts, etc.). Groups without context tags are included as "no_context"

events_read

events

timeseries

Events

Time-bucketed alert trends (hourly/daily counts)

events_read

events

incidents

Events

Deduplicate alerts into incidents with Trigger/Recover pairing

events_read

incidents

list

Incidents

List incidents

incident_read

incidents

get

Incidents

Get incident by ID

incident_read

incidents

search

Incidents

Search incidents

incident_read

incidents

create

Incidents

Create an incident

incident_write

incidents

update

Incidents

Update an incident

incident_write

incidents

delete

Incidents

Delete an incident

incident_write

slos

list

SLOs

List SLOs. Each item exposes query, monitorIds, monitorTags, groups, and a UI url so round-trips (get → edit → update) preserve definition fields.

slos_read

slos

get

SLOs

Get SLO by ID (same projection as list).

slos_read

slos

create

SLOs

Create an SLO

slos_write

slos

update

SLOs

Update an SLO

slos_write

slos

delete

SLOs

Delete an SLO

slos_write

slos

history

SLOs

Get SLO history

slos_read

synthetics

list

Synthetics

List synthetic tests

synthetics_read

synthetics

get

Synthetics

Get test by public ID

synthetics_read

synthetics

create

Synthetics

Create a test

synthetics_write

synthetics

update

Synthetics

Update a test

synthetics_write

synthetics

delete

Synthetics

Delete a test

synthetics_write

synthetics

trigger

Synthetics

Trigger a test run

synthetics_write

synthetics

results

Synthetics

Get test results

synthetics_read

downtimes

list

Downtimes

List downtimes

monitors_downtime

downtimes

get

Downtimes

Get downtime by ID

monitors_downtime

downtimes

create

Downtimes

Create a downtime

monitors_downtime

downtimes

update

Downtimes

Update a downtime

monitors_downtime

downtimes

cancel

Downtimes

Cancel a downtime

monitors_downtime

downtimes

listByMonitor

Downtimes

List downtimes for a monitor

monitors_downtime

hosts

list

Infrastructure

List hosts

hosts_read

hosts

totals

Infrastructure

Get host totals

hosts_read

hosts

mute

Infrastructure

Mute a host

hosts_read

hosts

unmute

Infrastructure

Unmute a host

hosts_read

rum

applications

RUM

List RUM applications

rum_read

rum

events

RUM

Search RUM events

rum_read

rum

aggregate

RUM

Aggregate RUM data

rum_read

rum

performance

RUM

Get Core Web Vitals (LCP, FCP, CLS, FID, INP)

rum_read

rum

waterfall

RUM

Get session timeline with resources/actions/errors

rum_read

security

rules

Security

List security rules

security_monitoring_rules_read

security

signals

Security

Search security signals

security_monitoring_signals_read

security

findings

Security

List security findings

security_monitoring_findings_read

notebooks

list

Notebooks

List notebooks

notebooks_read

notebooks

get

Notebooks

Get notebook by ID

notebooks_read

notebooks

create

Notebooks

Create a notebook

notebooks_write

notebooks

update

Notebooks

Update a notebook

notebooks_write

notebooks

delete

Notebooks

Delete a notebook

notebooks_write

users

list

Admin

List users

user_access_read

users

get

Admin

Get user by ID

user_access_read

teams

list

Admin

List teams

teams_read

teams

get

Admin

Get team by ID

teams_read

teams

members

Admin

List team members

teams_read

tags

list

Infrastructure

List all tags

hosts_read

tags

get

Infrastructure

Get tags for a host

hosts_read

tags

add

Infrastructure

Add tags to a host

hosts_read

tags

update

Infrastructure

Update host tags

hosts_read

tags

delete

Infrastructure

Delete host tags

hosts_read

usage

summary

Billing

Usage summary

usage_read

usage

hosts

Billing

Host usage

usage_read

usage

logs

Billing

Log usage

usage_read

usage

custom_metrics

Billing

Custom metrics usage

usage_read

usage

indexed_spans

Billing

Indexed spans usage

usage_read

usage

ingested_spans

Billing

Ingested spans usage

usage_read

auth

validate

Auth

Test API and App key validity

—

Limit Control

AI assistants have full control over query limits. The MCP_DEFAULT_* environment variables only set the fallback used when the AI doesn't specify a limit — they do NOT cap what the AI can request.

Tool

Default

Parameter

Description

Logs

200

limit

Log lines to return

Metrics (timeseries)

1000

pointLimit

Data points per series (controls resolution)

General tools

50

limit

Results to return

Tool-level token reduction features (compact: true on logs, sample: "diverse" | "spread" | "first", field projections, diagnostics) are surfaced in each tool's MCP description and chosen by the AI at call time.

Notable behaviors

A handful of patterns worth knowing about — the AI can discover the rest from tool descriptions.

  • Renotifies vs real fires. monitors top and events search with source:alert count every renotify Datadog emits (one every renotify_interval while a monitor is Alert). To get actual state transitions, use monitors history (defaults to transitionType: ["alert","alert recovery"]) or pass transitionType to events search.

  • DST-safe time buckets. events histogram buckets by hour_of_day / day_of_week / day_of_month in any IANA timezone via Intl.DateTimeFormat. Cursor-paginates the underlying search; cap controlled by MCP_MAX_EVENTS_HISTOGRAM (default 5000) with bucketCountIncomplete + nextCursor on overflow.

  • Validate before create. monitors create with dry_run: true calls /api/v1/monitor/validate instead of persisting. Allowed in --read-only mode.

  • Monitor template preview. monitors preview renders a notification against a context payload — variable substitution + Datadog's six documented conditionals (is_alert, is_warning, is_no_data, is_recovery, is_alert_to_warning, is_warning_to_alert) + the tag conditionals {{#is_match "tag" "val"}} (substring) and {{#is_exact_match "tag" "val"}} (exact), with ^ negations and OR'd multiple comparison values (resolved against context.variables; case-sensitive). {{#each}} and partials throw EUNSUPPORTED_TEMPLATE_SYNTAX.

  • SLO round-trip. slos get projects query, monitorIds, monitorTags, groups, and a UI url so you can edit and feed back into slos update without dropping definition fields.

  • Cross-correlation. logs(sample:"diverse") → pull dd.trace_id → traces(query:"trace_id:<id>") → metrics(query:"p95:trace.express.request{service:...}") (root metric without .duration for percentiles).

Every query response includes a datadog_url field built for your configured DD_SITE — datadoghq.com (default), .eu, us3 / us5 / ap1.datadoghq.com, or ddog-gov.com. Supported on logs, metrics, traces, events, monitors, rum, slos.

Contributing

Contributions are welcome! Feel free to open an issue or a pull request if you have any suggestions, bug reports, or improvements to propose.

License

This project is licensed under the Apache License, Version 2.0.

Available Tools

23 tools
authA

Validate Datadog API credentials. Use this to verify that the API key and App key are correctly configured before performing other operations.

Inputs: action (required).

dashboardsA

Access Datadog dashboards and visualizations.

Actions:

  • list: Filter dashboards by name/tags

  • get: Retrieve full dashboard config including widgets (useful for learning patterns)

  • create: Create new dashboard

  • update: Modify existing dashboard

  • delete: Remove dashboard

  • validate: Test dashboard config without creating (helps debug widget definitions)

Widget formats supported:

  • Simple: { "type": "timeseries", "requests": [{ "q": "avg:metric{*}" }] }

  • Advanced: { "type": "timeseries", "requests": [{ "queries": [...], "formulas": [...] }] }

Tags must use key:value format (e.g., ["team:ops", "env:prod"]).

Inputs: action (required), id, name, tags, +2 more.

downtimesA

Manage Datadog scheduled downtimes for maintenance windows. Actions: list, get, create, update, cancel, listByMonitor. Use for: scheduling maintenance, preventing false alerts during deployments, managing recurring maintenance windows.

Inputs: action (required), id, monitorId, currentOnly, +2 more.

eventsA

Track Datadog events. Actions: list, get, create, search, aggregate, top, timeseries, incidents, discover, histogram. For monitor alerts, use tags: ["source:alert"].

IMPORTANT — re-evaluation vs transition:

  • source:alert events INCLUDE renotifies and re-evaluations (every Datadog re-evaluation of an alerting monitor emits an event). A "how many times did monitor X fire" question answered with source:alert alone over-counts.

  • To restrict to real state transitions, pass transitionType (e.g. ["alert","alert recovery"]). This appends @monitor.transition.transition_type:(...) to the query and matches the design's live investigation.

  • For a fires-only numeric count rooted in a single monitor ID, prefer the higher-level primitive monitors action=history — it returns {transitions, count, meta} with the same filter applied for you.

transitionType: Optional array of monitor transition types (alert, alert recovery, warning, warning recovery, no data, no data recovery, renotify). Empty array is treated as undefined. top: Generic event grouping by any fields (groupBy parameter). Returns groups ranked by count with optional context breakdown.

  • Example: {groupBy: ["service"], message: "...", service: "api", total_count: 50, by_context: [{context: "queue:X", count: 30}]}

  • Use for deployments, configs, custom events, or monitor alerts

  • Returns "message" field (event title), NOT monitor name (use monitors tool for real names)

  • total_count includes renotifies when source:alert is used without transitionType — see monitors action=history for fires-only counts discover: Returns available tag prefixes from events. aggregate: Custom groupBy, returns pipe-delimited keys. search: Full event details. timeseries: Time-bucketed trends with interval. incidents: Deduplicate alerts with dedupeWindow. histogram: Bucket events by local hour_of_day / day_of_week / day_of_month in the requested IANA timezone (DST-safe). Pass bucket_by (required) and optional timezone (default UTC) and cursor (for continuation). Caps at limits.maxEventsForHistogram (default 5000); when reached returns bucketCountIncomplete:true + nextCursor.

Inputs: action (required), id, query, from, +19 more.

hostsA

Manage Datadog infrastructure hosts. Actions: list (with filters), totals (counts), mute (silence alerts), unmute. Use for: infrastructure inventory, host health, silencing noisy hosts during maintenance.

Inputs: action (required), filter, from, count, +6 more.

incidentsA

Manage Datadog incidents for incident response. Actions: list, get, search, create, update, delete. Use for: incident management, on-call response, postmortems, tracking MTTR/MTTD.

Inputs: action (required), id, query, status, +2 more.

logsA

Search Datadog logs with grep-like text filtering. Actions: search (find logs), aggregate (count/group). Key filters: keyword (text grep), pattern (regex), service, host, status (error/warn/info). Time ranges: "1h", "3d@11:45:23". CORRELATION: Logs contain dd.trace_id in attributes for linking to traces and APM metrics. SAMPLING: Use sample:"diverse" for error investigation (dedupes by message pattern), sample:"spread" for time distribution. TOKEN TIP: Use compact:true to reduce payload size (strips heavy fields) when querying large volumes.

Inputs: action (required), query, keyword, pattern, +12 more.

logs_archivesA

Manage Datadog Logs archives (long-term log retention to S3 / GCS / Azure Blob). Actions: list, get, create, update, delete, reorder, get_order. Archives accept destinations of type 's3', 'gcs', or 'azure_storage'; per-provider credential and integration fields (S3 IAM role ARN, GCS service account, Azure tenant/secret) are forwarded unchanged. Mutations (create, update, delete, reorder) are blocked when the server is in read-only mode.

Inputs: action (required), id, config, archive_ids, +1 more.

logs_indexesA

Manage Datadog Logs indexes (filters, retention, exclusion filters, daily limits). Actions: list, get, update, reorder, get_order. Datadog identifies indexes by 'name', not 'id'. Note: create/delete are UI-only per Datadog and not supported through the API. Mutations (update, reorder) are blocked when the server is in read-only mode.

Inputs: action (required), name, config, index_names, +1 more.

logs_pipelinesA

Manage Datadog Logs pipelines (parsing & processor chains). Actions: list, get, create, update, delete, reorder, get_order. Pipelines run sequentially on incoming logs; reorder changes the structure of downstream data. Mutations are blocked when the server is in read-only mode. Unknown processor types in 'config.processors' are forwarded to Datadog unchanged.

Inputs: action (required), id, config, pipeline_ids, +1 more.

metricsA

Query Datadog metrics. Actions:

  • query: Get timeseries data (requires from/to time range, PromQL query)

  • search: Find metrics by name (grep-like, NO time param needed)

  • list: Get recently active metrics (last 24h, optionally filter by tag)

  • metadata: Get metric details (unit, type, description)

APM METRICS (auto-generated from traces): Keyed by OPERATION name (e.g. express.request, pg.query), NOT service name. Filter by service using tags: {service:my-service}

PERCENTILES (p50/p75/p90/p95/p99) — use the ROOT metric (distribution type): p95:trace.express.request{service:my-service}

AVG/SUM/MIN/MAX — use the .duration SUFFIX (pre-aggregated gauge): avg:trace.express.request.duration{service:my-service}

Other trace metrics (gauges):

  • trace..hits - Request count

  • trace..errors - Error count

  • trace..apdex - Apdex score

To discover operation names for a service, use: traces tool with action "services"

Inputs: action (required), query, from, to, +4 more.

monitorsA

Manage Datadog monitors. Actions: list, get, search, create, update, delete, mute, unmute, top, history, preview, test_notification. Filters: name, tags, groupStates (alert/warn/ok/no data). get/create/update return the full options object so callers can safely read-then-patch.

create/update accept a config object validated against a typed schema covering the documented Datadog Monitor fields:

  • Top-level: name, type, query, message, tags, priority (1-5, nullable), restrictedRoles, multi, options.

  • options.* validated keys grouped by category:

    • notification: notifyNoData, noDataTimeframe, notifyAudit, notificationPresetName.

    • evaluation/delay: newHostDelay, newGroupDelay, evaluationDelay, requireFullWindow, onMissingData.

    • renotification: renotifyInterval (nullable), renotifyOccurrences, renotifyStatuses, escalationMessage.

    • lifecycle: timeoutH (nullable), includeTags, locked, silenced (record of timestamps/null), groupRetentionDuration.

    • thresholds: thresholds (critical/warning/ok/criticalRecovery/warningRecovery/unknown), thresholdWindows.

    • scheduling: schedulingOptions. Unknown keys (top-level or under options) are forwarded to Datadog as-is and surfaced via an optional warnings array on the response, so the schema does not lag the API. snake_case aliases are accepted on input and normalized to camelCase before validation. Validation errors short-circuit before any HTTP call and surface as 'EINVALID_MONITOR_CONFIG: : '. Reference: https://docs.datadoghq.com/api/latest/monitors/

top: Ranked monitors by alert frequency with real monitor names and context breakdown.

  • Returns: {rank, monitor_id, name (with {{template.vars}}), message (template), total_count, by_context}

  • Perfect for weekly/daily alert reports

  • Gets real monitor names from monitors API (not event titles)

  • WARNING: total_count is the raw alert-event count and INCLUDES renotifies/re-evaluations. For monitors stuck in Alert state, Datadog emits a renotify event every renotify_interval minutes, which inflates this count well beyond the number of real fires. When the question is "how many times did this monitor actually fire", use action=history instead.

history: Count and list real state transitions for one monitor over a time window.

  • Inputs: id (required, monitor ID), from/to (optional time range), transitionType (optional filter, defaults to ["alert","alert recovery"]), group (optional multi-alert group filter).

  • Returns: {transitions: [{timestamp, monitorId, monitorName, group, fromState, toState, transitionType, eventId}], count, meta}

  • count = transitions.length — the number of REAL state changes (fires + recoveries by default), NOT the renotify-inflated count returned by action=top or events action=search.

  • Backed by Datadog v2 events search with a hardcoded source:alert + @monitor.transition. transition_type filter that excludes renotifies by default. To include renotifies, pass transitionType including "renotify".

preview: Render a Datadog monitor message template against a context (read-only safe).

  • Inputs: either inline 'message' OR 'monitor_id' (or existing 'id'); plus optional 'context' { variables, conditionals }.

  • Supported syntax: {{variable.name}} substitution and conditional blocks {{#name}}...{{/name}} / {{^name}}...{{/name}} where name is one of: is_alert, is_warning, is_no_data, is_recovery, is_alert_to_warning, is_warning_to_alert.

  • Missing variables render as {{undefined:name}} markers and are reported in 'variablesMissing'.

  • Loops ({{#each ...}}) and partials ({{> ...}}) return EUNSUPPORTED_TEMPLATE_SYNTAX.

  • Allowed under --read-only (no mutation; at most a getMonitor load).

test_notification: KNOWN LIMITATION — always returns ENOT_SUPPORTED.

  • Datadog's public REST API exposes no monitor test-notification endpoint at v1 or v2 (audited against the official OpenAPI specs). The v1 SDK has no notifyMonitor / testMonitor method.

  • Allowed under --read-only because no Datadog HTTP call is attempted.

  • If Datadog publishes such an endpoint in future, this action will be reimplemented to invoke it.

  • Workaround: use the 'Test Notifications' button in the Datadog monitor UI.

For generic event grouping (deployments, configs), use events tool instead. Note that the events tool's action=search with source:alert ALSO includes renotifies; use its transitionType filter (or this action=history) for fires-only counts.

Inputs: action (required), id, query, name, +16 more.

notebooksB

Manage Datadog Notebooks. Actions: list (search notebooks), get (by ID with cells), create (new notebook), update (modify notebook), delete (remove notebook). Use for: runbooks, incident documentation, investigation notes, dashboards as code.

Inputs: action (required), id, query, authorHandle, +8 more.

rumA

Query Datadog Real User Monitoring (RUM) data. Actions: applications (list RUM apps), events (search RUM events), aggregate (group and count events), performance (Core Web Vitals: LCP, FCP, CLS, FID, INP), waterfall (session timeline with resources/actions/errors). Use for: frontend performance, user sessions, page views, errors, resource loading.

Inputs: action (required), query, from, to, +9 more.

schemaA

Get valid enum values for Datadog API fields. Returns palettes, widget types, aggregators, comparators, time spans, and other valid values for constructing dashboards, monitors, metrics queries, and SLOs. Use this to discover valid options before creating or updating Datadog resources.

Inputs: resource (required).

securityB

Query Datadog Security Monitoring. Actions: rules (list detection rules), signals (search security signals), findings (list security findings). Use for: threat detection, compliance, security posture, incident investigation.

Inputs: action (required), id, query, from, +5 more.

slosB

Manage Datadog Service Level Objectives. Actions: list (with SLI status & error budget), get, create, update, delete, history. SLO types: metric-based, monitor-based. Each list/get/create/update response includes a url field deep-linking to the Datadog UI. Use for: reliability tracking, error budgets, SLA compliance, performance targets.

Inputs: action (required), id, ids, query, +5 more.

syntheticsA

Manage Datadog Synthetic tests (API and Browser). Actions: list, get, create, update, delete, trigger, results. Use for: uptime monitoring, API testing, user journey testing, performance testing, canary deployments.

Inputs: action (required), id, ids, testType, +4 more.

tagsA

Manage Datadog host tags. Actions: list (all host tags), get (tags for specific host), add (create tags), update (replace tags), delete (remove all tags). Use for: infrastructure organization, filtering, grouping.

Inputs: action (required), hostName, tags, source.

teamsB

Manage Datadog teams. Actions: list (with filters), get (by ID), members (list team members). Use for: team organization, access management, collaboration.

Inputs: action (required), id, filter, pageSize, +1 more.

tracesA

Analyze APM traces for request flow and latency debugging. Actions: search (find spans), aggregate (group stats), services (list APM services). Key filters: minDuration/maxDuration ("500ms", "2s"), httpStatus ("5xx", ">=400"), status (ok/error), errorMessage (grep). APM METRICS: Traces auto-generate metrics in trace..* namespace (e.g. trace.express.request). Use metrics tool to query: avg:trace.express.request.duration{service:my-service}. For percentiles (p95), use the root metric WITHOUT .duration suffix: p95:trace.express.request{service:my-service}

Inputs: action (required), query, from, to, +13 more.

usageA

Query Datadog usage metering data. Actions: summary (overall usage), hosts (infrastructure), logs, custom_metrics, indexed_spans, ingested_spans. Use for: cost management, capacity planning, usage tracking, billing analysis.

Inputs: action (required), from, to, includeOrgDetails.

usersB

Manage Datadog users. Actions: list (with filters), get (by ID). Use for: access management, user auditing, team organization.

Inputs: action (required), id, filter, status, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 23 tools

    Disambiguation5/5

    Each tool targets a distinct Datadog domain (e.g., dashboards, monitors, logs, metrics) with clear description boundaries. Overlaps are minimal and intentional (e.g., events vs monitors for alert data), with descriptions providing enough detail to disambiguate.

    Naming Consistency5/5

    All tool names are lowercase, single-word nouns (e.g., dashboards, downtimes, logs_archives) with no mixing of verb_noun or camelCase. The naming is uniform and predictable across the entire set.

    Tool Count4/5

    23 tools is slightly above the typical 3-15 ideal range, but for a comprehensive monitoring platform like Datadog, each tool corresponds to a major functional area and contributes meaningful value. No tool feels extraneous.

    Completeness4/5

    The tool surface covers nearly all major Datadog features (auth, dashboards, monitors, logs, metrics, APM, RUM, security, etc.). Minor omissions like network performance monitoring or service maps exist, but core workflows are well-supported.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with DataDog's observability platform through a standardized interface. Supports monitoring infrastructure, managing events, analyzing logs and metrics, and automating operations like alerts and downtimes.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query and manage Datadog observability data including metrics, logs, traces, and monitors through natural language. Supports read-only operations by default for security.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Datadog's observability platform via natural language, covering metrics, logs, APM, monitors, dashboards, incidents, and infrastructure.
      1
      MIT