Datadog MCP server
45 operations0 webhooks
Monitoring and observability platform for metrics, logs, traces, and infrastructure alerts.
Try Datadog with your agent
Connect Datadog, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Datadog on my account, then run one read-only example and show me the result.
Datadog tools and triggers
Tools are what your agent can do in Datadog through Corsair's MCP server. Triggers are the Datadog events a routine can start from.
Monitors
- CreateWrite
Create a monitor
monitors.create
- DeleteDestructive
Delete a monitor [DESTRUCTIVE · IRREVERSIBLE]
monitors.delete
- GetRead-only
Get a monitor
monitors.get
- ListRead-only
List monitors
monitors.list
- MuteWrite
Mute a monitor (suppresses alerting)
monitors.mute
- SearchRead-only
Search monitors
monitors.search
- UnmuteWrite
Unmute a monitor
monitors.unmute
- UpdateWrite
Update a monitor
monitors.update
Dashboards
- CreateWrite
Create a dashboard
dashboards.create
- DeleteDestructive
Delete a dashboard [DESTRUCTIVE · IRREVERSIBLE]
dashboards.delete
- GetRead-only
Get a dashboard with its widgets
dashboards.get
- ListRead-only
List dashboards
dashboards.list
- UpdateWrite
Update a dashboard
dashboards.update
Synthetics
- Create Api TestWrite
Create a synthetic API test
synthetics.createApiTest
- Get Api TestRead-only
Get a synthetic API test
synthetics.getApiTest
- List LocationsRead-only
List synthetic test locations
synthetics.listLocations
- List TestsRead-only
List synthetic tests
synthetics.listTests
Logs
- AggregateRead-only
Aggregate log analytics
logs.aggregate
- List IndexesRead-only
List log indexes
logs.listIndexes
- SearchRead-only
Search logs
logs.search
Metrics
- List ActiveRead-only
List actively reporting metrics
metrics.listActive
- QueryRead-only
Query timeseries points
metrics.query
- SubmitWrite
Submit metric series points
metrics.submit
Tags
- Get HostRead-only
Get tags for a host
tags.getHost
- ListRead-only
List host tags
tags.list
- Update HostWrite
Replace tags for a host
tags.updateHost
Downtimes
- CreateWrite
Schedule a downtime (suppresses monitor alerts)
downtimes.create
- ListRead-only
List downtimes
downtimes.list
Events
- CreateWrite
Post an event
events.create
- ListRead-only
List events in a time window
events.list
Hosts
- ListRead-only
List infrastructure hosts
hosts.list
- TotalsRead-only
Get host totals (active/up)
hosts.totals
Slos
- CreateWrite
Create an SLO
slos.create
- ListRead-only
List SLOs
slos.list
Spans
- AggregateRead-only
Aggregate APM span analytics
spans.aggregate
- SearchRead-only
Search APM spans
spans.search
Webhooks
- CreateWrite
Create a webhook integration
webhooks.create
- GetRead-only
Get a webhook integration by name
webhooks.get
Api Keys
- ListRead-only
List API key metadata
apiKeys.list
Aws
- ListRead-only
List AWS integration accounts
aws.list
Incidents
- ListRead-only
List incidents
incidents.list
Roles
- ListRead-only
List roles
roles.list
Services
- List DefinitionsRead-only
List APM service definitions
services.listDefinitions
Usage
- Get SummaryRead-only
Get usage summary across products
usage.getSummary
Users
- ListRead-only
List organization users
users.list
Connect Datadog to Claude, ChatGPT or Cursor
- 1
Connect Datadog in Corsair
Add your Datadog API key once in Corsair. Corsair stores the credential encrypted and makes the Datadog API calls for your agent, so it never goes into a prompt or a config file. Connect Datadog
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Datadog. On a ChatGPT personal plan, connect Datadog here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Datadog's read and write operations run right away and its 2 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
Datadog works with
FAQ
Install corsair and @corsair-dev/datadog, add the Datadog plugin, and connect with an API key. Then call methods like corsair.datadog.api.apiKeys.list() from your app. Corsair syncs data per tenant.
Yes. Datadog requires an API key from your Datadog account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Datadog, GitHub, Notion, Stripe, and the rest. Trigger Datadog from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for monitoring and observability platform for metrics, logs, traces, and infrastructure alerts. Common builds include sync jobs, admin tooling, and agents that call Datadog APIs from your backend. Local DB entities let you query synced Datadog records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Datadog API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/datadog in the open repo. When Datadog ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Datadog data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Datadog data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Datadog on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 2 destructive Datadog operations. You can change a link's mode at hub.corsair.dev/me.