Dynatrace MCP Server
Dynatrace MCP Server
このプロジェクトは、Dynatrace Grail と API エンドポイントを操作するインターフ in找准を促進する Model Context Protocol (MCP) サーバーを実装しています。
Features
Dynatrace Query Language(DQL): 任意の DQL クエリを実行します。
Log Retrieval: アプリケーションの出力を取得、フィルタリングします。
Problem Report: 現在の問題を取得します(Dynatrace の recently)。
Query Metrics (DQL): DQL を使用してメトリクスを照会します。
Related MCP server: Dynatrace Managed MCP Server
Prerequisites
Python 3.14+
API アクセス・トークンを持つ Dynatrace エンハンスメント。
Setup
Environment Variables: ルート・ディレクトリーに
.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>Dependencies: 必要なライブラリをインストール。
pip install -r requirements.txt
Usage
MCP サーバーを起動します。
python server.pyAdd this into gemini/settings.json
"mcpServers": {
"dynatrace": {
"command": "D:\\Dynatrace_MCP\\venv\\Scripts\\python.exe",
"args": [
"D:\\Dynatrace_MCP\\server.py"
]
}
}
After that run gemini CLI
This server cannot be deployed
Maintenance
Related MCP Connectors
Access New Relic observability data through MCP - query metrics, logs, traces, entities, and more
List datasets, schemas, run APL queries, and use prompts for exploration, anomalies, and monitoring.
Query Honeycomb observability data: traces, events, metrics, SLOs, triggers, and boards.
Manage uptime monitors and incidents and search logs, metrics and traces from an AI assistant.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.32,048 npmMIT
- AlicenseAqualityAmaintenanceEnables 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.182,067 npm33Apache 2.0
- AlicenseBqualityCmaintenanceEnables LLM agents to query Dynatrace SaaS for observability data (logs, metrics, traces, entities, problems, vulnerabilities) and manage configurations (dashboards, notebooks, SLOs, synthetic monitors, settings).100MIT
- AlicenseCqualityCmaintenanceEnables 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.3819 npmMIT