analytics
Datadog MCP, CLI, and Lua Integration for AI Agents
Datadog integration docs for AI agents: MCP gateway setup, Datadog CLI commands, Lua API reference, credentials, and function schemas.Datadog for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
datadog.datadog_list_monitors | Read read | 4 | List Datadog monitors. Optionally filter by name or tags. Returns monitor IDs, names, types, states, and query definitions. |
datadog.datadog_get_monitor | Read read | 1 | Get full details of a specific Datadog monitor by ID. Returns the monitor query, thresholds, message, and current state. |
datadog.datadog_create_monitor | Write write | 7 | Create a new Datadog monitor. Specify the monitor type, query, name, and optional message and thresholds. Common types: "metric alert", "service check", "event alert". |
datadog.datadog_update_monitor | Write write | 8 | Update an existing Datadog monitor. Provide the monitor ID and the fields to update (name, query, message, options, tags, etc.). |
datadog.datadog_delete_monitor | Write write | 1 | Delete a Datadog monitor by ID. This action is permanent and cannot be undone. |
datadog.datadog_query_metrics | Read read | 3 | Query Datadog metrics between two timestamps. Use Datadog query syntax (e.g., "avg:system.cpu.user{env:production} by {host}"). Returns time series data points. |
datadog.datadog_list_dashboards | Read read | 0 | List all Datadog dashboards. Returns dashboard IDs, titles, descriptions, and modification dates. |
datadog.datadog_get_dashboard | Read read | 1 | Get full details of a specific Datadog dashboard by ID. Returns the dashboard layout, widgets, and template variables. |
datadog.datadog_post_event | Write write | 9 | Post an event to the Datadog event stream. Specify title, text, priority, tags, and alert type. Events appear in the event timeline. |
datadog.datadog_get_current_user | Read read | 0 | Get the currently authenticated Datadog user. Useful for verifying credentials and identifying the connected account. |