VS Code Extensions
Datadog MCP Server

Datadog MCP Server

by bhayanak

Datadog MCP Server is a VS Code extension that makes 16 Datadog MCP tools available to GitHub Copilot and other AI assistants for querying logs, metrics, monitors, APM traces, dashboards, hosts, and service dependencies.

Downloads

1,786

Rating

5.0 / 5 (1)

Version

0.1.0

Last updated

Apr 08, 2026

Datadog MCP Server

VS Code extension that registers the Datadog MCP Server, making all 16 tools available to GitHub Copilot and other AI assistants.

Installation

Search for "Datadog MCP Server" in the VS Code marketplace.

Configuration

Open Settings → search "Datadog MCP":

Setting Description
datadogApiKey Your Datadog API key
datadogAppKey Your Datadog Application key
datadogSite Datadog site (default: datadoghq.com)
maxResults Max results per query (default: 100)
logRetentionDays Max log query lookback (default: 15)
timeoutMs API timeout in ms (default: 30000)
allowedTags Comma-separated tag filter

Usage

After installation and configuration:

  1. The server appears in VS Code's MCP Servers panel
  2. Click Start to activate the server
  3. Use Show Output to view server logs
  4. All 16 Datadog tools appear in Copilot Chat's tool picker

Example Prompts for Copilot Chat

Try these prompts in GitHub Copilot Chat (with the Datadog MCP server started):

  • "Show me error logs from the api-gateway service in the last hour" → searches logs with filter
  • "Are any monitors currently alerting?" → lists monitors filtered by alert state
  • "Query CPU usage for hosts tagged env:production over the past 6 hours" → queries timeseries metrics
  • "Create a monitor that alerts when disk usage exceeds 85% on any host" → creates a new metric monitor
  • "What services does user-service depend on?" → fetches the APM service dependency map
  • "List all dashboards related to Kubernetes" → searches dashboards by name
  • "Show me the slowest APM traces in checkout-service from today" → searches traces sorted by duration
  • "Get details for dashboard abc-def-123" → fetches full dashboard layout with widgets
  • "List all hosts in the staging environment with their load metrics" → queries host infrastructure
  • "Mute the 'High Latency' monitor for 30 minutes while we deploy" → creates a downtime on the monitor

Requirements

  • VS Code 1.99.0 or later (MCP API support)
  • Valid Datadog API and Application keys

Troubleshooting

  • Server not visible: Ensure VS Code >= 1.99.0 and reload the window
  • Authentication errors: Verify API/App keys in Settings
  • Timeout errors: Increase timeoutMs setting
  • No data returned: Check datadogSite matches your Datadog region

License

MIT