Back to Home
zero-to-prod icon

datadog-mcp

Verified Safe

by zero-to-prod

Overview

Provides a Multi-Cloud Platform (MCP) server for searching and analyzing Datadog logs, enabling AI agents to interact with Datadog's Logs API v2 with simplified natural language queries and advanced data transformation capabilities.

Installation

Run Command
docker run -d -p 8091:80 -e DD_API_KEY=your_api_key_here -e DD_APPLICATION_KEY=your_app_key_here davidsmith3/datadog-mcp:latest

Environment Variables

  • DD_API_KEY
  • DD_APPLICATION_KEY
  • APP_DEBUG
  • APP_VERSION

Security Notes

The server uses environment variables for sensitive API keys (DD_API_KEY, DD_APPLICATION_KEY), which is good practice. The `applyJqFilter` method, which executes the `jq` binary, correctly sanitizes user-provided filters using `escapeshellarg()` to prevent command injection. Error handling for external API calls and `jq` execution is robust. The code does not appear to contain hardcoded secrets, obfuscation, or obvious malicious patterns. Regex patterns used in query normalization are standard, reducing the risk of ReDoS.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-19

Tags

DatadogLogsAnalyticsPHPAPI Integration