Blank white background with no objects or features visible.

نقدم لكم وصولاً مجانياً إلى تقرير Gartner Hype Cycle الكامل حول حوكمة الذكاء الاصطناعي لعام 2026. احصل على نسختك →

Datadog MCP Server: Tools, Setup, and How to Connect It Safely

By أشيش دوبي

Updated: September 16, 2026

Published: September 16, 2026

⚡ TL;DR
  • The Datadog MCP server is Datadog’s hosted remote MCP server, turning logs, metrics, traces, spans, monitors, dashboards, incidents, hosts and services into tools an agent can call.
  • Its highest-value use is incident response: an agent correlates a spiking metric, the failing trace and the matching error logs in one turn, instead of a human clicking through four Datadog tabs.
  • Its sharpest risk is not write access but log content — Datadog logs routinely carry tokens, connection strings and customer payloads, and a tool returning raw log lines pipes all of that into a model context.
  • On TrueFoundry it registers through Connect Official Remote MCP Servers, pre-templated with OAuth2 and Dynamic Client Registration — no OAuth app to build, though you set your Datadog region in the URL and allow-list the callback in Datadog.
  • You govern it four ways: disable tools you don’t need, scope by collaborator role, gate destructive tools behind approval, and run post-tool guardrails on what comes back.

What the Datadog MCP server is

The Datadog MCP server is a remote Model Context Protocol server hosted by Datadog. It exposes your org as callable tools: an agent asks for logs matching a query, a metric series, a trace by ID or a monitor’s state, and gets structured data back.

It is organised into toolsets you enable per connection, so you spend model context only on the surface you need. core is the default.

Toolset What agents can do
Core Search and analyse logs, query metrics and metadata, fetch traces and spans, search monitors, dashboards, incidents, hosts, services and dependencies, read and write notebooks
Alerting Search SLOs and monitor groups, validate and create monitors, read coverage
APM Search spans, query traces, discover span tags, pull Watchdog stories and latency bottlenecks
Database Monitoring Find instances, read query performance, explain plans, schemas, health signals
Error Tracking Search and read issues, analyse errors, update issues and comments
Cases / Work Management Search, read, create and update cases, comment, link Jira issues
Dashboards & Widgets Read full widget definitions, upsert and delete dashboards
Security, Kubernetes, Networks, RUM, Synthetics, Profiling,
Software Delivery, Data Observability, DDSQL, Audit Trail, Workflows, Remote Actions, Code Execution
Product-specific query and action tools per surface

Datadog’s tools reference lists well over two hundred tools — which is why the toolsets parameter exists, and why the tool-scoping section below matters here.

Because it is remote rather than local, there is no container to run: you point a client at a URL and authenticate, the same shape as the other remote MCP servers teams are standardising on. It is the observability MCP server most platform teams reach for first.

What agents actually do with it

Single calls are not the interesting part — get_datadog_metric alone is a worse Datadog UI. The value shows up when tools chain:

  • Live incident triage. A monitor fires. The agent calls search_datadog_monitors for the alert condition, get_datadog_metric for how far past threshold the signal went, search_datadog_spans for which service’s latency moved first, then search_datadog_logs on that service. One turn, four surfaces correlated.
  • Deploy correlation. search_datadog_events for deployments in the last hour against the error rate from analyze_datadog_logs — answering “did the 14:02 deploy cause this” without eyeballing two graphs.
  • Trace-to-root-cause. Take a trace ID off a customer report, call get_datadog_trace, find the slow span, then pull its explain plan from Database Monitoring.
  • Postmortem drafting. get_datadog_incident, search_datadog_logs for the window, create_datadog_notebook to write the timeline back.

The read/write split matters. Almost everything useful here is read. The write tools — creating monitors, upserting or deleting dashboards, updating cases, plus Remote Actions and Code Execution — are a smaller set with a far larger blast radius, and TrueFoundry labels them Destructive.

Why connecting it raw breaks at team scale

One SRE wiring Datadog into Claude Code during an on-call shift is fine. A whole platform org doing it is not.

Logs are the exfiltration path, and nobody treats them that way. This failure mode is specific to observability servers, and it belongs first. Application logs are where secrets go to die quietly: an API key in a request header logged wholesale, a connection string in a startup line, a customer’s address in a serialised order object. Teams accept that because log access is gated behind Datadog RBAC, and a human who greps for password is a known quantity. An agent calling search_datadog_logs is not. It pulls raw log lines into a model context, that context may reach a third-party inference provider, and it may end up quoted in a Slack summary. No credential was stolen, no policy broken — the data simply moved somewhere nobody modelled.

Query volume has a bill attached. Datadog pricing is usage-based and agents are good at looping. A poorly-prompted incident agent calls search_datadog_logs twenty times in one investigation, widening the window each round. Without per-tool call counts you find that on an invoice. [VERIFY — Datadog’s docs do not state that MCP tool calls are metered separately; treat this as a consequence of usage-based query pricing and confirm against your contract.]

Region mismatch produces useless errors. Datadog is site-specific, and the MCP URL plus every OAuth endpoint must point at your site. Get one wrong and you see a generic “Authentication failed” with nothing pointing at a hostname.

No attribution when it matters most. Datadog’s audit trail records that a query ran, not that your incident agent ran it on a prompt from a PagerDuty webhook. During a postmortem the trail stops at an API token.

None of these argue against connecting Datadog. They argue for a control plane in front of it, which is what an MCP gateway is.

Want to see this end to end?
Register the Datadog MCP server, disable the write tools, and hand your on-call team a read-only incident agent in one sitting.

Connecting the Datadog MCP server through TrueFoundry

Datadog MCP setup does not run through the managed catalogue. It registers through Connect Official Remote MCP Servers — pre-vetted servers where the auth is templated but you own the connection. For Datadog that template includes OAuth2 with PKCE and Dynamic Client Registration (DCR): TrueFoundry registers the OAuth client automatically, so there is no OAuth app to build.

On the Datadog side you need MCP Access enabled on the org, mcp_read on your user (plus mcp_write for write tools), and your site domain. Government sites are not supported.

Step 1 — Open the picker. In MCP Servers, click Add new MCP Server and pick Connect Official Remote MCP Servers.

Add new MCP Server picker with the Connect Official Remote MCP Servers option highlighted alongside TrueFoundry Managed MCPs, Connect any Remote MCP Server, Virtual MCP Server and Import from OpenAPI Spec
Add new MCP Server picker with the Connect Official Remote MCP Servers option highlighted alongside TrueFoundry Managed MCPs, Connect any Remote MCP Server, Virtual MCP Server and Import from OpenAPI Spec

Step 2 — Find Datadog. Type data in the catalogue search and click the datadog card.

Official remote MCP catalogue search filtered to ‘data’, showing the datadog card next to medidata, ramp-data, cdata-connect-ai and databricks entries

Official remote MCP catalogue search filtered to ‘data’, showing the datadog card next to medidata, ramp-data, cdata-connect-ai and databricks entries

Step 3 — Set your region in the URL. TrueFoundry pre-fills Name, Description and URL. The URL ships with a <region> placeholder that must be replaced with your Datadog site subdomain. Add yourself or your team under Collaborators as MCP Server Manager.

Add new MCP Server form showing Name datadog, the pre-filled description, the URL field containing a region placeholder, the Collaborators section, and Auth Data set to OAuth2

Add new MCP Server form showing Name datadog, the pre-filled description, the URL field containing a region placeholder, the Collaborators section, and Auth Data set to OAuth2

The shape is https://<mcp-host>/api/unstable/mcp-server/mcp?toolsets=all, with the host being mcp.datadoghq.com (US1), mcp.us3.datadoghq.com, mcp.us5.datadoghq.com, mcp.datadoghq.eu, mcp.ap1.datadoghq.com or mcp.ap2.datadoghq.com. The ?toolsets=all suffix is Datadog’s toolset selector — narrow it here (?toolsets=apm,core).

Step 4 — Confirm the OAuth2 / DCR details. TrueFoundry auto-populates the endpoints; click Refetch OAuth2 details if they are empty. Leave Client ID and Client Secret blank — DCR issues those at connection time.

OAuth2 config panel showing the Dynamic Client Registration banner, the Refetch OAuth2 details button, Grant Type set to Authorization Code, Authorization URL, Token URL, Registration URL, and Code Challenge Methods Supported set to S256

OAuth2 config panel showing the Dynamic Client Registration banner, the Refetch OAuth2 details button, Grant Type set to Authorization Code, Authorization URL, Token URL, Registration URL, and Code Challenge Methods Supported set to S256

For a US5 org:

‍

Try now.

One gateway for all your models, MCP servers, and agents.
No credit card needed.

Start free
Table of Contents

One Gateway for Every LLM, Agent and MCP Server

Book a 30-min with our AI expert

Book a Demo

The fastest way to build, govern and scale your AI

Book Demo
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Discover More

No items found.
October 31, 2026
|
5 min read

Claude Code Subagents: What They Are and How to Use Them

No items found.
October 31, 2026
|
5 min read

Claude Code with Amazon Bedrock: Setup, IAM, and Cost Control

No items found.
October 31, 2026
|
5 min read

Claude Code vs GitHub Copilot: Features, Pricing, and Enterprise Controls

No items found.
Comparing HITL vs HOTL for enterprise AI oversight
October 30, 2026
|
5 min read

Human on the Loop vs Human in the Loop: Which AI Oversight Model Fits Enterprise Teams?

No items found.
No items found.

Recent Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.

Frequently asked questions

ما هو خادم MCP الخاص بـ Datadog؟

خادم Model Context Protocol البعيد الذي تستضيفه Datadog، ويتيح Datadog كأدوات يستطيع الوكيل استدعاءها: البحث في السجلات وتحليلها، والاستعلام عن المقاييس، وجلب التتبعات وspans، وقراءة المراقِبات ولوحات المعلومات والحوادث والمضيفين والخدمات، وإنشاء الدفاتر. ويتصل الوكلاء عبر عنوان URL خاص بكل منطقة باستخدام OAuth2.

ما الأدوات التي يتيحها خادم MCP الخاص بـ Datadog؟

أدوات خادم MCP الخاص بـ Datadog مجمّعة في toolsets. مجموعة core تغطي السجلات والمقاييس والتتبعات ولوحات المعلومات والمراقِبات والحوادث والمضيفين والخدمات والأحداث والدفاتر. وتضيف المجموعات الخاصة بالمنتجات APM وAlerting وDatabase Monitoring وError Tracking وSecurity وCases وRUM وSynthetics وKubernetes وProfiling وDDSQL وAudit Trail، أي عدة مئات في المجموع. وتظهر القائمة الكاملة في تبويب Tools بعد التصريح.

هل خادم MCP الخاص بـ Datadog آمن للاستخدام المؤسسي؟

نعم، مع ضابطين. نموذج Datadog يساعد في ذلك: أذونات MCP لا تمنح بذاتها وصولاً إلى أي مورد، فيعمل كل مستخدم ضمن دوره الحالي في Datadog. أضف ضوابط حماية بعد تنفيذ الأداة على ردود السجلات، فالسجلات تحمل أسراراً وبيانات شخصية لا تريد وصولها إلى نموذج دون تصفية، وأضف تحديد نطاق لكل أداة حتى لا يصل الوكلاء إلى أدوات الكتابة أو تنفيذ الشيفرة.

هل يمكنني نشر TrueFoundry في VPC الخاصة بي أو محلياً؟

نعم. تعمل TrueFoundry في VPC الخاصة بك أو محلياً أو في بيئة معزولة عن الشبكة أو هجينة، فلا تغادر التعليمات والردود نطاقك أبداً حتى وأنت توجّه الطلبات عبر مزوّدين كثيرين.

هل تدعم TrueFoundry بروتوكول MCP ووكلاء الذكاء الاصطناعي عموماً؟

نعم. تتضمن MCP Gateway وAgent Gateway وMCP & Agents Registry مع تحكم في الوصول على مستوى الأدوات. ويمكن حوكمة الوكلاء المبنيين على LangGraph أو CrewAI أو AutoGen أو إطار عمل مخصص مركزياً.

هل يتكامل مع حزمة المراقبة الحالية لدي؟

نعم. البوابة متوافقة مع OpenTelemetry وتتكامل مع Grafana أو Datadog أو Prometheus أو حزمتك المفضلة. فهي تتتبع كل طلب من المطالبة إلى تنفيذ الأداة والنموذج، لتحصل على تسجيل موحد دون الحاجة إلى تغيير ما تستخدمه حاليًا.

Take a quick product tour
Start Product Tour
Product Tour