OfficialObservabilityremote HTTP

Datadog MCP Server

Lets agents query Datadog logs, metrics, traces, monitors, dashboards and incidents, and create monitors and notebooks when write access is on.

Install

Claude Code, plugin

(Datadog’s recommendation; run inside a Claude Code session, then run /ddsetup or send any Datadog prompt to pick your site and sign in with OAuth, and /ddtoolsets to choose toolsets)

/plugin install datadog@claude-plugins-official

The plugin’s repository lists Claude Code v2.1.30 or later as a requirement and is under the Apache License 2.0. Datadog says to remove a manually added Datadog server first, to avoid conflicts.

Claude Code, manual

(if the plugin is not available to you)

$ claude mcp add --transport http datadog-mcp <YOUR_MCP_SERVER_ENDPOINT>

Or in ~/.claude.json:

{
  "mcpServers": {
    "datadog": {
      "type": "http",
      "url": "<YOUR_MCP_SERVER_ENDPOINT>"
    }
  }
}

Codex

(~/.codex/config.toml, then sign in from the terminal)

[mcp_servers.datadog]
url = "<YOUR_MCP_SERVER_ENDPOINT>"
$ codex mcp login datadog

Cursor

(add the Datadog plugin from the Cursor Marketplace, or Cursor Settings > Plugins and search for Datadog; then type /ddsetup in the agent chat)

GitHub Copilot CLI

$ copilot plugin install datadog@awesome-copilot

Manual setup: copilot mcp add --transport http datadog-mcp <YOUR_MCP_SERVER_ENDPOINT>, or add the same mcpServers block to ~/.copilot/mcp-config.json.

Antigravity CLI

$ agy plugin install datadog

Check the connection

with the MCP inspector (npx @modelcontextprotocol/inspector): choose Streamable HTTP, enter your endpoint, click Connect, then Tools > List Tools.

Commands and configuration as Datadog gives them in Set Up the Datadog MCP Server. Replace <YOUR_MCP_SERVER_ENDPOINT> with the endpoint for your site from the endpoint list above.

The Datadog MCP server is Datadog’s hosted endpoint for agents to query logs, metrics, traces and monitors.

Datadog runs the server, so nothing is installed locally, and agents sign in over OAuth. Each Datadog site has its own endpoint: add mcp. before the site parameter and append /v1/mcp, for example https://mcp.datadoghq.com/v1/mcp for US1 and https://mcp.datadoghq.eu/v1/mcp for EU1. The US1-FED and US2-FED sites are not supported (Set Up the Datadog MCP Server).

Datadog documents setup for Claude Code, Codex, Cursor, VS Code, Copilot CLI, Antigravity, OpenCode, JetBrains IDEs and others on the same page. For Claude Code, Cursor, Copilot CLI and Antigravity it recommends a Datadog plugin that bundles the server with skills; for Codex it shows a config.toml entry (Datadog MCP Server overview).

Toolsets: what the agent can reach

Without a toolsets parameter only the core toolset is available: logs, metrics, traces, dashboards, monitors, incidents, hosts, services, events, notebooks and code execution. Other generally available toolsets include alerting, apm, dashboards, dbm, error-tracking, kubernetes, security, software-delivery, synthetics and workflows. Datadog notes that toolsets=all adds many tool definitions and works best with clients that support tool search. Preview toolsets and chat are not in all and must be requested by name. The omit_tools parameter removes single tools, for example write tools (toolsets, tool reference).

Where How to select toolsets
Endpoint URL (Claude Code, most clients) <YOUR_MCP_SERVER_ENDPOINT>?toolsets=apm,llmobs
Codex config.toml http_headers = { "X-Datadog-MCP-Toolsets" = "apm,llmobs" }
Drop single tools ?toolsets=all&omit_tools=create_datadog_notebook,edit_datadog_notebook

Permissions, write access and limits

The server forwards your own Datadog credentials, so it cannot reach anything you could not open in the Datadog UI. Tools need the mcp_read or mcp_write role permission plus the permission of the underlying resource, such as Monitors Read. Organization administrators control MCP Access and MCP Write Access in Organization Settings; with write access off, the server hides write tools such as create_datadog_monitor from every user (Required permissions).

Datadog states a fair-use burst limit of 50 tool calls per 10 seconds and no monthly limit on tool calls; the limit is subject to change (overview). Every tool call is recorded in Datadog Audit Trail with the tool name, arguments, user and MCP client, and Datadog stores usage data about the remote server for 120 days (overview). Datadog also says your AI client and its model decide what Datadog data goes to your AI provider, so scope roles and data access accordingly.

Authentication

OAuth 2.0 is Datadog’s recommended method and the client runs it during setup. For servers and CI where OAuth is not possible, Datadog prefers a Personal or Service Access Token sent as Authorization: Bearer <YOUR_ACCESS_TOKEN>; API and application keys sent as DD_API_KEY and DD_APPLICATION_KEY headers also work. Datadog advises scoped keys from a service account, and notes that an AI client’s OAuth scope limits do not apply to key or token connections (Authentication). Store tokens in environment variables or your client’s secret store, never in a committed config. For how remote OAuth works in Claude Code see MCP OAuth and Claude Code MCP.

Questions

What is the Datadog MCP server URL?
It depends on your Datadog site: https://mcp.datadoghq.com/v1/mcp for US1, https://mcp.us3.datadoghq.com/v1/mcp for US3, https://mcp.us5.datadoghq.com/v1/mcp for US5, https://mcp.datadoghq.eu/v1/mcp for EU1, and the same pattern for AP1, AP2 and UK1. The US1-FED and US2-FED sites are not supported.
Does the Datadog MCP server cost anything?
Datadog’s docs state a fair-use limit of 50 tool calls per 10 seconds and no monthly limit on tool calls. They do not list a separate price for the server; the data it reads belongs to your Datadog account, so the Datadog products you query still follow your Datadog plan.
Why are write tools such as create_datadog_monitor missing?
Datadog lists four common causes: an administrator turned off MCP Write Access in Organization Settings, your role lacks mcp_write or the resource permission, the tool’s toolset is not enabled (only core loads by default, and create_datadog_monitor is in alerting), or the tool is in omit_tools. Reconnect the client to refresh the tool list.
Is the Datadog MCP server official?
Yes. Datadog hosts and documents it. The separate Code Security MCP server is a narrower local tool for SAST, SCA, IaC, secrets and SBOM scans, and has its own docs page.

Sources

Checked November 22, 2026.

Observability

View all
Aftergradient

What are you looking for?

Search commands, errors, tools