Dynatrace MCP Server
Interacts with Dynatrace Grail and API endpoints to execute DQL queries, retrieve and filter logs, report active problems, and query metrics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dynatrace MCP Serverwhat are the current active problems in our environment?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Dynatrace MCP Server
This project implements a Model Context Protocol (MCP) server that provides an interface to interact with Dynatrace Grail and API endpoints.
Features
DQL Execution: Execute arbitrary Dynatrace Query Language (DQL) queries.
Log Retrieval: Fetch and filter application logs.
Problem Reporting: Get current active problems from Dynatrace.
Metric Querying: Query metrics using DQL.
Related MCP server: Dynatrace Managed MCP Server
Prerequisites
Python 3.14+
A Dynatrace environment with API access tokens.
Setup
Environment Variables: Create a
.envfile in the root directory with the following variables: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: Install the required dependencies:
pip install -r requirements.txt
Usage
Start the MCP server:
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.31,015MIT
- AlicenseNot gradedqualityAmaintenanceEnables 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.48828Apache 2.0
- FlicenseBqualityDmaintenanceEnables AI assistants to interact with Datadog APIs for querying metrics, logs, events, monitors, and APM traces.164
- AlicenseAqualityBmaintenanceEnables 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
Related MCP Connectors
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Investigate errors, track deployments, analyze performance, and manage application monitoring
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RakeshSingh-21/Dynatrace_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server