Overview
Datadog is an official MCP integration available in the MCP Marketplace. It uses HTTP transport with API key and Application key authentication, giving Devin direct access to your Datadog account for querying logs, metrics, monitors, traces, and more. Once connected, you can also set up automated alert investigation — routing Datadog alerts to Devin through a lightweight webhook bridge so that incidents are triaged automatically.Enable the Datadog MCP
Configure your credentials
Click Enable, then:
- Select your Datadog site/region (e.g.,
datadoghq.com,datadoghq.eu) - Enter your DD-API-KEY and DD-APPLICATION-KEY
- Create an API key at Organization Settings > API Keys
- Create an Application key at Organization Settings > Application Keys
Capabilities
Once the Datadog MCP is enabled, Devin can perform the following actions within any session:| Capability | Description |
|---|---|
| Query error logs | Search and filter log entries by service, status, and time range |
| Pull metric timeseries | Retrieve metric data points for dashboards and analysis |
| List active monitors | View all configured monitors and their current statuses |
| Search traces | Find distributed traces across services |
| Manage incidents | View, create, and update incident records |
| Manage dashboards | List and inspect dashboard configurations |
Automated Alert Investigation
Beyond interactive queries, you can wire Datadog alerts to Devin so that incidents are investigated automatically. This uses a webhook bridge pattern: a small service receives Datadog webhook payloads and calls the Devin API to start an investigation session.Deploy a webhook bridge service
Create a lightweight service that receives Datadog webhooks and starts Devin sessions. Deploy it as a serverless function (AWS Lambda, Cloudflare Worker) or a small container:Create a service user in Settings > Service Users with
ManageOrgSessions permission. Store the API token as DEVIN_API_KEY, your organization ID as DEVIN_ORG_ID, and a shared secret as WEBHOOK_SECRET on your bridge service. You’ll configure this same secret in the Datadog webhook’s Custom Headers in the next step.Configure the Datadog webhook
- In your Datadog dashboard, go to Integrations > Webhooks
- Click New Webhook and set the URL to your bridge endpoint (e.g.,
https://your-bridge.example.com/alert) - Under Custom Headers, add
X-Webhook-Secretwith the same value you stored asWEBHOOK_SECRETon your bridge service - In any monitor’s notification message, add
@webhook-devin-bridge— Devin will investigate whenever that monitor fires
You can customize the investigation by passing a
playbook_id in the Devin API request body. Duplicate the !triage template playbook and tailor the investigation steps for your stack.