
geli2001/datadog-mcp-server
Analytics & monitoringЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
geli2001/datadog-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/geli2001/datadog-mcp-server.
Обзор
geli2001/datadog-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/geli2001/datadog-mcp-server.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP) для взаимодействия с API Datadog.
Особенности
Мониторинг: данные и конфигурации мониторинга доступа Dashboards: Retrieve and view dashboard definitions Метрика: Запрос доступных метрик и их метаданных События: поиск и извлечение событий в сроки
- Логи: Журналы поиска с расширенными вариантами фильтрации и сортировки -Инциденты: Доступ к данным об управлении инцидентами API-интеграция: прямая интеграция с API Datadog v1 и v2 Комплексная обработка ошибок: Четкие сообщения об ошибках для API и проблемы аутентификации ** Конечные точки обслуживания**: Поддержка различных конечных точек для журналов и метрик
Предпосылки
- Node.js (версия 16 или выше)
- Учетная запись Datadog с:
- Ключ API - Найден в настройках организации > Ключи API
- Ключ приложения - Найден в настройках организации > Ключи приложения
Ключевые области применения
Для повышения безопасности вы можете использовать ключ приложения, чтобы предоставить только минимальные разрешения, требуемые этим сервером MCP.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Datadog MCP Server
A Model Context Protocol (MCP) server for interacting with the Datadog API.
Features
- Monitoring: Access monitor data and configurations
- Dashboards: Retrieve and view dashboard definitions
- Metrics: Query available metrics and their metadata
- Events: Search and retrieve events within timeframes
- Logs: Search logs with advanced filtering and sorting options
- Incidents: Access incident management data
- API Integration: Direct integration with Datadog’s v1 and v2 APIs
- Comprehensive Error Handling: Clear error messages for API and authentication issues
- Service-Specific Endpoints: Support for different endpoints for logs and metrics
Prerequisites
- Node.js (version 16 or higher)
- Datadog account with:
- API key - Found in Organization Settings > API Keys
- Application key - Found in Organization Settings > Application Keys
Application Key Scopes
For improved security, you can scope your Application Key to grant only the minimum permissions required by this MCP server. By default, Application Keys inherit all permissions from the user who created them, but scoped Application Keys allow you to follow the principle of least privilege.
Required Scopes
The following scopes are required for the corresponding features:
| Tool(s) | Required Scope | Description |
|---|---|---|
get-monitors, get-monitor |
monitors_read |
Read access to monitor configurations and states |
get-dashboards, get-dashboard |
dashboards_read |
Read access to dashboard definitions |
get-metrics, get-metric-metadata |
metrics_read |
Read access to metrics list and metadata |
get-events |
events_read |
Read access to events from the event stream |
search-logs, aggregate-logs |
logs_read_data |
Read access to log data for search and aggregation |
get-incidents |
incident_read |
Read access to incident management data |
Creating a Scoped Application Key
- Go to Organization Settings > Application Keys
- Click New Key
- Enter a name (e.g., “MCP Server - Read Only”)
- Under Scopes, select only the permissions you need:
- For full functionality:
monitors_read,dashboards_read,metrics_read,events_read,logs_read_data,incident_read - For logs only:
logs_read_data - For monitoring only:
monitors_read,dashboards_read,metrics_read
- For full functionality:
- Click Create Key
Note: If you don’t specify any scopes when creating an Application Key, it will have full access with all permissions of the creating user. For production use, we recommend always specifying explicit scopes.
Installation
Установка
npx datadog-mcp-server --apiKey <YOUR_API_KEY> --appKey <YOUR_APP_KEY> --site <YOUR_DD_SITE>(e.g us5.datadoghq.com)Конфигурация
{
"mcpServers": {
"datadog": {
"command": "npx",
"args": [
"datadog-mcp-server",
"--apiKey",
"<YOUR_API_KEY>",
"--appKey",
"<YOUR_APP_KEY>",
"--site",
"<YOUR_DD_SITE>(e.g us5.datadoghq.com)"
]
}
}
}