MetorialDocs

Set up Datadog in Metorial for Claude, ChatGPT and Cursor

Share Datadog with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key + application key sign-in, 35 tools (20 read-only).

To give your team Datadog in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Datadog integration in a Metorial portal, and each person signs in to Datadog with their own account. Agents can monitor infrastructure, applications, and services across cloud environments. The integration has 35 tools, 20 read-only, 10 write and 5 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Datadog in a portal and how each person connects
  • The 28 OAuth scopes Datadog can request, and what each one allows
  • How to keep the 20 read-only tools and reject the other 15

Before you start

Sign-in methods

MethodTypeWhat a person provides
API Key + Application KeyCustom credentialsapiKey, appKey and site
OAuth2 (default)OAuthSigns in to Datadog after entering site

The portal and metorial setup use OAuth2 unless someone picks another method.

API Key + Application Key

To connect, a person enters these values:

  • apiKey: Datadog API key (DD-API-KEY)
  • appKey: Datadog Application key (DD-APPLICATION-KEY)
  • site (optional): Datadog site/region for validating the keys One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

OAuth2

Before the sign-in, setup asks for:

  • site (optional): Datadog site/region for your account One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

People sign in to Datadog and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
dashboards_readDashboards ReadView dashboards and dashboard lists
dashboards_writeDashboards WriteCreate, update, and delete dashboards
monitors_readMonitors ReadView monitors and monitor search
monitors_writeMonitors WriteCreate, edit, delete, mute, and unmute monitors
monitors_downtimeMonitors DowntimeManage downtimes for monitors
metrics_readMetrics ReadView and list metrics
timeseries_queryTimeseries QueryQuery timeseries and scalar data
events_readEvents ReadRead events from the event stream
logs_read_dataLogs Read DataRead log data
incident_readIncident ReadView incidents
incident_writeIncident WriteCreate, update, and delete incidents
user_access_readUser Access ReadView user access information
user_access_inviteUser Access InviteCreate users and send invitations
api_keys_readAPI Keys ReadView API keys
api_keys_writeAPI Keys WriteCreate and manage API keys
synthetics_readSynthetics ReadView Synthetics tests and results
synthetics_writeSynthetics WriteCreate, edit, and delete Synthetics tests
slos_readSLOs ReadView service level objectives
slos_writeSLOs WriteCreate, update, and delete SLOs
hosts_readHosts ReadView host information
apm_readAPM ReadRead and query APM and Trace Analytics
security_monitoring_signals_readSecurity Monitoring Signals ReadRead security monitoring signals
security_monitoring_rules_readSecurity Monitoring Rules ReadRead security monitoring rules
cases_readCases ReadView cases
cases_writeCases WriteCreate and manage cases
usage_readUsage ReadView usage data
create_webhooksCreate WebhooksCreate webhook integrations
manage_integrationsManage IntegrationsManage integration configurations

Setup settings

Whichever method you pick, setup also asks for:

  • site (optional): Datadog site/region for your account. Determines the API base URL. One of "datadoghq.com", "us3.datadoghq.com", "us5.datadoghq.com", "datadoghq.eu", "ap1.datadoghq.com", "ap2.datadoghq.com", "ddog-gov.com".

Use your own Datadog OAuth app

With your own OAuth app, people see your company's name on the Datadog consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Datadog and copy the Redirect URI.

Register the app with Datadog

Create an OAuth app or client in Datadog and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Datadog integration.

Admin: share Datadog in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Datadog. Under Auth Method, keep OAuth2 or pick another. For how members connect, choose Each person connects, so everyone signs in to Datadog as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Datadog.

Choose who gets it

Add the access groups that should see Datadog. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Datadog integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search datadog

Employee: connect Datadog

In the portal

Open Datadog in the catalog

Sign in to your portal and open Datadog. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Datadog sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search datadog
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth2. To connect with API Key + Application Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Datadog connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list datadog
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 20 read-only tools, such as get_slo and get_event, and lose the 10 write tools, such as manage_slo or post_event, and the 5 destructive tools, such as delete_slo or delete_monitor.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list datadog
metorial tools <integration-id>
metorial call <integration-id> list_dashboards -d '{}'

metorial tools lists the 35 tools, minus any you rejected. list_dashboards takes no input. It lists all Datadog dashboards in the organization.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (20)

  • query_metrics: Query timeseries metric data from Datadog. Needs query, from and to.
  • list_synthetics_tests: List all Datadog Synthetics tests.
  • get_dashboard: Get full details of a specific Datadog dashboard by ID, including all widget definitions and template variables. Needs dashboardId.
  • list_users: List users in the Datadog organization.
  • search_logs: Search and retrieve logs from Datadog using query syntax. Needs from and to.
  • list_events: List events from the Datadog event stream within a time range. Needs start and end.
  • get_synthetics_test: Get details and recent results of a Datadog Synthetics test by its public ID. Needs publicId.
  • list_dashboards: List all Datadog dashboards in the organization.
  • list_slos: List Datadog Service Level Objectives.
  • list_incidents: List Datadog incidents.
  • list_hosts: List infrastructure hosts monitored by Datadog.
  • list_monitors: List and search Datadog monitors.
  • list_active_metrics: List metric names actively reporting to Datadog since a Unix timestamp. Needs from.
  • get_incident: Get details for a Datadog incident by ID, including title, severity, state, customer impact, timestamps, and fields. Needs incidentId.
  • get_monitor: Get full details for a Datadog monitor by ID, including its query, options, tags, and current state. Needs monitorId.
  • get_metric_metadata: Get Datadog metadata for a metric, including type, unit, per-unit, description, integration, and StatsD interval when available. Needs metricName.
  • get_downtime: Get details for a Datadog downtime by ID, including scope, status, monitor target, schedule, and notification settings. Needs downtimeId.
  • get_slo: Get details for a Datadog Service Level Objective by ID, including thresholds, tags, monitors, and metric queries. Needs sloId.
  • get_event: Get a specific Datadog event by ID, including its title, text, tags, host, priority, and alert type. Needs eventId.
  • list_downtimes: List Datadog monitor downtimes.

Write tools (10)

  • manage_incident: Create or update a Datadog incident.
  • submit_logs: Send log entries directly to Datadog. Needs logs.
  • trigger_synthetics: Trigger one or more Datadog Synthetics tests on demand. Needs testIds.
  • mute_monitor: Mute or unmute a Datadog monitor. Needs monitorId and action.
  • schedule_downtime: Schedule a downtime to temporarily mute monitoring notifications. Needs scope.
  • manage_dashboard: Create or update a Datadog dashboard.
  • post_event: Post an event to the Datadog event stream. Needs title and text.
  • submit_metrics: Submit custom metric data points to Datadog. Needs series.
  • manage_monitor: Create or update a Datadog monitor.
  • manage_slo: Create or update a Datadog Service Level Objective.

Destructive tools (5)

  • delete_monitor: Delete a Datadog monitor by its ID. Needs monitorId.
  • delete_incident: Delete a Datadog incident by ID. Needs incidentId.
  • delete_slo: Delete a Datadog Service Level Objective by ID. Needs sloId.
  • delete_dashboard: Delete a Datadog dashboard by ID. Needs dashboardId.
  • cancel_downtime: Cancel a Datadog downtime by ID to resume normal monitor notifications for its target scope. Needs downtimeId.

Triggers

Datadog has 4 triggers, which fire on events in Datadog:

  • monitor_state_change: Triggers when a Datadog monitor changes state (e.g., alert, warning, recovery, no data).
  • inbound_webhook
  • new_event: Triggers when a new event appears in the Datadog event stream.
  • incident_update: Triggers when a Datadog incident is created or updated.

Next steps