monitoring
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.
10 functions 6 read 4 write API key auth
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.
Machine-Readable Metadata
- integration_slug
datadog- route_slug
datadog- package
datadog- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Datadog CLIHeadless setup and direct function calls. Datadog MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Datadog MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Datadog.
Claude Code Datadog MCP setup for Claude Code. Cursor Datadog MCP setup for Cursor. Codex Datadog MCP setup for Codex. OpenAI Agents Datadog MCP setup for OpenAI Agents SDK. Claude Agent SDK Datadog MCP setup for Claude Agent SDK. Vercel AI SDK Datadog MCP setup for Vercel AI SDK. LangChain Datadog MCP setup for LangChain. LangGraph Datadog MCP setup for LangGraph. CrewAI Datadog MCP setup for CrewAI. MCP clients Datadog MCP setup for Generic MCP Clients.
Datadog CLI Matrix
Use these pages for direct Datadog CLI workflows in scripts, CI, cron, and agent wrappers.
CI Datadog CLI for CI. Cron Jobs Datadog CLI for cron jobs. Shell Scripts Datadog CLI for shell scripts. Headless Automation Datadog CLI for headless automation. Coding Agents Datadog CLI for coding agents.
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. |