Skip to main content
Glama
Dynatrace MCP Server

Dynatrace MCP Server

Dynatrace MCP Server

Dieses Projekt implementiert einen Model Context Protocol (MCP)-Server, der eine Schnittstelle zur Interaktion mit Dynatrace Grail und API-Endpunkten bereitstellt.

Funktionen

  • DQL-Ausführung: Führen Sie beliebige Dynatrace Query Language (DQL)-Abfragen aus.

  • Log-Abruf: Rufen Sie Anwendungs-Logs ab und filtern Sie diese.

  • Problemeldung: Rufen Sie aktuelle aktive Probleme von Dynatrace ab.

  • Metrik-Abfrage: Fragen Sie Metriken mit DQL ab.

Related MCP server: Dynatrace Managed MCP Server

Voraussetzungen

  • Python 3.14+

  • Eine Dynatrace-Umgebung mit API-Zugriffstokens.

Einrichtung

  1. Umgebungsvariablen: Erstellen Sie eine .env- Datei im Stammverzeichnis mit dem folgenden Variablen:

    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. Abhängigkeiten: Installen Sie die erforderlichen dependencies:

    pip install -r requirements.txt

Verwendung

Starten Sie den MCP-Server:

python server.py

Führen Sie dies in gemini/settings.json ein

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

Führen Sie danach gemini CLI aus

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
    2,048 npm
    MIT
  • A
    license
    A
    quality
    A
    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
    2,067 npm
    33
    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
    19 npm
    MIT