Skip to main content
Glama
Dynatrace MCP Server

Dynatrace MCP Server

Dynatrace MCP Server

이 프로젝트는 Dynatrace Grail 및 API 엔드포인트와 상호작용하기 위한 인터페이스를 제공하는 Model Context Protocol (MCP) 서버를 구현합니다.

기능

  • DQL 실행: 임의의 Dynatrace Query Language (DQL) 쿼리를 실행합니다.

  • 로그 검색: 애플리케이션 로그를 가져오고 필터링합니다.

  • 문제 보고: Dynatrace에서 현재 활성 문제를 가져옵니다.

  • 메트릭 쿼리: DQL을 사용하여 메트릭을 쿼리합니다.

Related MCP server: Dynatrace Managed MCP Server

전제 조건

  • Python 3.14+

  • API 액세스 토큰이 있는 Dynatrace 환경

설정

  1. 환경 변수: 루트 디렉터리에 다음 변수를 포함하는 .env 파일을 생성하세요.

    DYNATRACE_URL=<your-dynatrace-url>
    DYNATRACE_API_TOKEN=<your-api-token>
    DYNATRACE_PLATFORM_URL=<your-platform-url>
    DYNATRACE_PLATFORM_TOKEN=<your-platform-token>
    DYNATRACE_LOG_INGEST_TOKEN=<your-log-ingest-token>
  2. 종속성: 필요한 종속성을 설치하세요.

    pip install -r requirements.txt

사용법

MCP 서버를 시작하세요.

python server.py

gemini/settings.json에 이 내용을 추가하세요

"mcpServers": {
   "dynatrace": {
   "command": "D:\\Dynatrace_MCP\\venv\\Scripts\\python.exe",
   "args": [
      "D:\\Dynatrace_MCP\\server.py"
   ]
   }
}

그 후 gemini CLI를 실행하세요

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Enables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to interact with self-hosted Dynatrace Managed environments to retrieve observability data, security insights, and performance metrics. It allows users to query problems, logs, events, and SLOs through natural language interfaces in both local and remote modes.
      18
      1,223 npm
      35
      Apache 2.0
    • A
      license
      B
      quality
      C
      maintenance
      Enables LLM agents to query Dynatrace SaaS for observability data (logs, metrics, traces, entities, problems, vulnerabilities) and manage configurations (dashboards, notebooks, SLOs, synthetic monitors, settings).
      100
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Enables agents to inspect Kubernetes cluster, node, and pod status, run bounded log searches with surrounding context, triage Davis problems and alerts, query metrics and traces, and review security and compliance summaries. It runs locally over stdio against any Dynatrace SaaS/Grail tenant using configurable connections and filters rather than hardcoded scopes.
      38
      15 npm
      MIT