MCP server for Dynatrace Managed to access logs, events, and metrics.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
- Your Dynatrace Managed environment(s) is/are the primary Observability system, containing all live data; or
- There has been a migration from a Dynatrace Managed environment to a Dynatrace Saas environment; however, historical observability data has not been migrated and can still be accessed via a Dynatrace Managed environment. The Dynatrace Managed MCP is used to access historical data, and a separate Dynatrace SaaS MCP is used to access live and more recent data.
Specific use cases for the Dynatrace Managed MCP include:
- Real-time observability - Fetch production-level data for early detection and proactive monitoring
- Contextual debugging - Fix issues with full context from monitored exceptions, logs, and anomalies
- Security insights - Get detailed vulnerability analysis and security problem tracking. This can include multicloud compliance assessment with evidence-based investigation.
- Natural language queries - Queries are mapped to MCP tool usage, and thus API queries, with guidance for the next step
- Multiphase incident investigation - Systematic impact assessment and troubleshooting
- Multienvironment support - Query multiple Dynatrace Managed environments from the same MCP server
- Problems - List and get problem details from your services (for example Kubernetes)
- Security - List and get security problems / vulnerability details
- Entities - Get more information about a monitored entity, including relationship mappings
- SLO - List and get Service Level Objective details, including evaluation and error budgets
- Event Tracking - List and get system events
- Log Investigation - Search and filter logs with advanced content and time-based queries
- Metrics Analysis - Query and analyze performance metrics using V2 Metrics API
The local Dynatrace Managed MCP server allows AI Assistants to interact with one or more self-hosted Dynatrace Managed deployments, bringing observability data directly into your AI-assisted workflow.
This MCP server supports two modes:
[!TIP] This MCP server is specifically designed for Dynatrace Managed (self-hosted) deployments. For Dynatrace SaaS environments, please use the Dynatrace MCP.
[!NOTE] This open source product is supported by the community. For feature requests, questions, or assistance, please use GitHub Issues.
You can add this MCP server to your AI Assistant, such as VSCode, Claude, Cursor, Kiro, Windsurf, ChatGPT, or GitHub Copilot.
To run this MCP server, you to have to configure four things:
dt-config.yaml or dt-config.json file which is responsible for defining list of environments you intend to useDT_CONFIG_FILE to the path of your dt-config.yaml or dt-config.json file in the MCP server environment.For information about creating API tokens in Managed deployments, refer to the Dynatrace Managed documentation. Your API token must include the following scopes for full functionality:
DataExport)entities.read)events.read)logs.read)metrics.read)problems.read)securityProblems.read)slo.read)| Parameter | Required | Description | Example value |
|---|---|---|---|
| apiEndpointUrl | Yes | Base URL for Dynatrace Managed cluster API | https://dmz123.dynatrace-managed.com |
| environmentId | Yes | ID of the managed environment | 01234567-89ab-cdef-abcd-ef0123456789 |
| alias | Yes | Human-friendly name of the environment | MyEnvironment |
| apiToken | Only in stdio mode | API token of the cluster with required scopes created using the instruction above | dt0s01.ABCDEFGHIJK0123 |
| httpProxyUrl | No | URL of proxy server for requests. Do not use with the other proxy parameter | http://proxy.company.com:8080 |
| httpsProxyUrl | No | URL of proxy server for requests. Do not use with the other proxy parameter | https://proxy.company.com:8080 |
There are two ways to configure your Dynatrace Managed environments.
Example: dt-config.yaml
Example: dt-config.json
For Kubernetes deployments or if you prefer environment variables, you can set DT_ENVIRONMENT_CONFIGS with a JSON string in either your .env file or directly in MCP Server connection configuration file
To actually connect to the MCP server you have to configure your MCP connection in your AI Assistant
We recommend always setting it up for your current workspace instead of using it globally.
Alternatively, this can also be stored in user settings, and you can define env as follows:
This configuration should be stored in <project-root>/.kiro/settings/mcp.json, or in user-level settings (~/.kiro/settings/mcp.json).
Using gemini CLI directly (recommended):
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/dynatrace-managed-mcp)<a href="https://allmcps.com/mcp/dynatrace-managed-mcp"><img src="https://allmcps.com/api/badge/dynatrace-managed-mcp?style=directory" alt="Dynatrace Managed MCP on AllMCPs" /></a>