Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Datadog MCP ServerNew to Visual Studio Code? Get it now.
Datadog MCP Server

Datadog MCP Server

fazorboy

|
8 installs
| (1) | Free
Datadog observability — metrics, logs, APM, monitors, dashboards for AI assistants
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Datadog MCP Server

Datadog MCP Server — VS Code Extension

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft