All integrations

Datadog

ConnectionMCP

Query metrics, monitors, and logs through Datadog's MCP server.

Read the full connection docs

Install

Connections live under agent/connections/. Auth is brokered by , so install the framework and the Connect SDK:

bash
npm install eve@latest @vercel/connect

Quick start

Create agent/connections/datadog.ts. The connection name is derived from the filename:

ts
// agent/connections/datadog.tsimport { connect } from "@vercel/connect/eve";import { defineMcpClientConnection } from "eve/connections";
export default defineMcpClientConnection({  url: "https://mcp.datadoghq.com/api/mcp",  description: "Datadog: query metrics, monitors, logs, and incidents.",  auth: connect({    connector: "datadog",    principalToSubject: (principal) => ({      type: "jwt-bearer",      sub: principal.attributes.email,    }),  }),});

Connect exchanges a JWT bearer assertion for a provider token. principalToSubject maps each principal to the subject your IdP expects.

Configure

Create the connector, link it to your project, and pull OIDC locally:

bash
vercel connect create datadogvercel linkvercel env pull

For JWT bearer, principalToSubject controls the asserted subject. The default maps app principals to { type: "app" } and user principals to { type: "user", id, issuer }.

Match the MCP url to your Datadog site (datadoghq.com, datadoghq.eu, and so on).

See the for principal types, headers, approval, and tool filters.