GD

geli2001/datadog-mcp-server

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

70 stars 16 forks 품질 72 트렌드 0MIT

geli2001/datadog-mcp-server는 MCP 서버 후보로 https://github.com/geli2001/datadog-mcp-server.에서 수입

개요

geli2001/datadog-mcp-server는 MCP 서버 후보로 https://github.com/geli2001/datadog-mcp-server.에서 수입

개요(AI 번역)

Datadog API와 상호 작용하는 모델 Context Protocol (MCP) 서버.

특징

  • Monitoring: 액세스 모니터 데이터 및 구성 -Dashboards: 대시보드 정의를 검색하고 볼 수 있습니다.
  • Metrics: Query 사용 가능한 메트릭스 및 메타데이터 -Events: 시간대 내에서 이벤트 검색 및 검색
  • 로그: 고급 필터링 및 정렬 옵션으로 로그 검색
  • ** 법인**: 접근 사고 관리 자료
  • API 통합: Datadog의 v1 및 v2 API와 직접 통합 -Comprehensive Error 처리: API 및 인증 문제에 대한 명확한 오류 메시지
  • ** 서비스 - 특정 엔드포인트 **: 로그 및 메트릭에 대한 다른 엔드포인트 지원

필수품

  1. Node.js (버전 16 이상)
  2. Datadog 계정:
  • API 키 - 조직 설정에서 발견 > API 키
  • Application Key - 조직 설정에서 발견 > Application Keys

신청 열쇠 범위

향상된 보안을 위해, 이 MCP 서버에서 필요한 최소 권한만 부여할 수 있는 애플리케이션 키만 지원할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

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

  1. Node.js (version 16 or higher)
  2. 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

  1. Go to Organization Settings > Application Keys
  2. Click New Key
  3. Enter a name (e.g., “MCP Server - Read Only”)
  4. 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
  5. 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

GitHub에서 전체 README 보기

설치

npx datadog-mcp-server --apiKey <YOUR_API_KEY> --appKey <YOUR_APP_KEY> --site <YOUR_DD_SITE>(e.g us5.datadoghq.com)
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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)" ] } } }