Repository navigation
Release Notes
v1.0.0 - 2026-02-06
First Official Release
MCP Datadog Server is a Model Context Protocol (MCP) server built with .NET 10 that connects AI assistants (Claude Desktop, Claude Code, and other MCP-compatible clients) to the Datadog monitoring and observability platform.
Highlights
- 11 MCP tools spanning 5 Datadog feature areas
- Multi-region support for all Datadog sites
- Flexible deployment via Docker, .NET CLI, or self-contained executables
- Optional API key authentication middleware for server-level security
- Health check endpoint for monitoring server availability
Tools
Logs
search_logs— Search logs using Datadog query syntax with support for time ranges (ISO 8601 and relative), pagination, sorting, and filtering.
Monitors
list_monitors_summary— Quick overview of monitors returning only id, name, and state. Supports filtering by name and tags.list_monitors— Full monitor listing with metadata including type, state, priority, tags, and creator information.get_monitor— Detailed view of a specific monitor by ID, including thresholds, notification settings, and per-group state.
Metrics
query_metrics— Query time-series metric data with Datadog query syntax (aggregations, filters, grouping).list_metrics— Discover available metric names, optionally filtered by host.get_metric_metadata— Retrieve metadata for a specific metric (type, description, unit, statsd interval).
Incidents
list_incidents— List incidents with pagination. Returns severity, state, customer impact, and timing information.get_incident— Detailed incident information including time-to metrics (Detect, InternalResponse, Repair, Resolve), custom fields, and relationships.
Dashboards
list_dashboards— List all dashboards with pagination. Returns title, description, layout type, and URL.get_dashboard— Full dashboard configuration including widgets, template variables, and layout details.
Security
- Optional server-level API key authentication via
X-Api-Keyheader middleware. - Datadog API Key and Application Key are required for all Datadog API operations.
- Health endpoint (
/health) is excluded from authentication requirements.
Deployment Options
| Method | Port | Command |
|---|---|---|
| Docker Compose | 8081 | docker-compose up -d |
| .NET CLI | 5100 | dotnet run |
| Self-contained | Configurable | Platform-specific binary (Windows, Linux, macOS Intel/ARM) |
Configuration
| Environment Variable | Description |
|---|---|
Datadog__ApiKey |
Datadog API Key |
Datadog__ApplicationKey |
Datadog Application Key |
Datadog__Site |
Datadog site (e.g., datadoghq.com, datadoghq.eu, us3.datadoghq.com) |
ServerSecurity__RequireApiKey |
Enable server-level API key authentication |
ServerSecurity__ApiKey |
Server API key value |
Client Integration
- Claude Desktop — Manual configuration or CLI setup with
claude mcp add - Claude Code — Direct CLI registration to
.claude/settings.json - Any MCP-compatible client — HTTP/SSE transport on configurable port
Tech Stack
- .NET 10 / ASP.NET Core
- Model Context Protocol (MCP) via
ModelContextProtocol.AspNetCore - HTTP/SSE transport
- System.Text.Json serialization
- Docker (Linux containers)
License
MIT