Datadog MCP Server
@GeLi2001
About Datadog MCP Server
MCP server interacts with the official Datadog API
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"datadog-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"datadog-mcp-server",
"--apiKey=your_api_key",
"--appKey=your_app_key"
]
}
}
}Tools
10Fetch monitors with optional filtering
Get details of a specific monitor by ID
List all dashboards
Get a specific dashboard by ID
List available metrics
Get metadata for a specific metric
Fetch events within a time range
List incidents with optional filtering
Search logs with advanced query filtering
Perform analytics and aggregations on log data
Overview
What is Datadog MCP Server?
A Model Context Protocol server that enables AI assistants to interact with the Datadog API. It provides tools for monitoring, dashboards, metrics, events, logs, and incidents using v1 and v2 APIs. Designed for developers managing Datadog resources through natural language interfaces.
How to use Datadog MCP Server?
Install globally via npm (npm install -g datadog-mcp-server) or clone the repository and build. Configure using environment variables (DD_API_KEY, DD_APP_KEY, DD_SITE) or command-line arguments (--apiKey, --appKey, --site). Add the server to your MCP client configuration (e.g., claude_desktop_config.json) with the required credentials.
Key features of Datadog MCP Server
- Access monitor data and configurations
- Retrieve and view dashboard definitions
- Query available metrics and their metadata
- Search logs with advanced filtering and sorting
- Access incident management data
- Comprehensive error handling for API issues
Use cases of Datadog MCP Server
- Fetching alerting monitors filtered by state
- Retrieving dashboard definitions by ID
- Searching logs with custom queries and time ranges
- Aggregating log data by facet and computing counts
- Listing incidents with optional filtering and pagination
FAQ from Datadog MCP Server
What data can I access with Datadog MCP Server?
You can access monitors, dashboards, metrics metadata, events, logs (search and aggregation), and incidents. All tools provide read-only access to Datadog resources.
What authentication is required?
You need a Datadog API key and an Application key. These can be scoped to minimum permissions using the listed required scopes (e.g., monitors_read, dashboards_read).
Does Datadog MCP Server support multiple Datadog regions?
Yes. Specify the site using DD_SITE or --site. Supported regions include US (datadoghq.com), EU (datadoghq.eu), US3 (ddog-gov.com), US5 (us5.datadoghq.com), and AP1 (ap1.datadoghq.com). You can also set separate endpoints for logs and metrics.
What runtime dependencies are required?
Node.js version 16 or higher. The server is installed via npm and can be run with npx.
How do I troubleshoot authentication errors?
If you receive a 403 Forbidden error, verify your API and Application keys are correct, have necessary scopes, and that you are using the correct endpoint for your region. Check Claude Desktop's MCP logs for details.
More Developer Tools MCP servers
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Comments