Dynatrace MCP Server
Allows instrumenting Android projects (Kotlin or Java) with the Dynatrace Mobile Agent, including Gradle plugin configuration and user privacy opt-in.
Provides skills for analyzing AWS Lambda functions as part of AWS observability, including metrics, logs, and traces. Also supports installing Dynatrace OneAgent on AWS Lambda.
Provides comprehensive integration with the Dynatrace platform, enabling AI agents to query and analyze observability data using DQL, manage dashboards and notebooks, investigate problems, security insights, and set up instrumentation across various environments.
Supports integrating the Dynatrace React Native Plugin for Expo projects, including dependency setup, configuration, and verification.
Provides integration for the Dynatrace Flutter Plugin, covering dependency setup, configuration, SDK bootstrap, navigation tracking, and verification.
Enables setup of the Dynatrace iOS SDK via Swift Package Manager, including configuration, privacy opt-in, and Xcode build verification.
Enables analysis of Kubernetes clusters, pods, nodes, workloads, labels, and resource relationships. Supports installing Dynatrace OneAgent on Kubernetes for monitoring.
Provides skills for analyzing service RED metrics and runtime telemetry for .NET applications, helping with performance monitoring and troubleshooting.
Provides skills for analyzing service RED metrics and runtime telemetry for Node.js applications, enabling performance analysis and troubleshooting.
Provides skills for analyzing service RED metrics and runtime telemetry for PHP applications.
Provides skills for analyzing service RED metrics and runtime telemetry for Python applications.
Click on "Deploy 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 Servershow me error logs for the checkout service in the last hour"
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 for AI
Everything AI agents need to work with Dynatrace, starting with skills.
Skills are portable knowledge packages following the Agent Skills open format. They give AI coding agents the domain-specific context to query, analyze, and interpret Dynatrace data. They work with Claude Code, GitHub Copilot, Cursor, OpenCode, Gemini CLI, and 30+ other compatible tools.
Installation
Skills Package (skills.sh)
npx skills add dynatrace/dynatrace-for-aiWorks with Claude Code, Cursor, Cline, GitHub Copilot, OpenCode, and other compatible agents.
Claude Code Plugin
claude plugin install dynatrace@claude-plugins-officialPrefer browsing interactively? Run /plugin in Claude Code, open the Discover tab, and search "Dynatrace".
The plugin includes skills as well as the Dynatrace MCP server. Set these environment variables before starting Claude Code to connect it to your environment:
export DT_ENVIRONMENT=https://<env>.apps.dynatrace.com # e.g. https://abc12345.apps.dynatrace.com
export DT_PLATFORM_TOKEN=<your-platform-token>Verify that it works via:
claude mcp login plugin:dynatrace:dynatracePlease consult the Dynatrace MCP server docs for a full list of scopes required for using the MCP Server with a Platform Token.
To update the plugin, use:
claude plugin marketplace update
claude plugin update dynatrace@claude-plugins-officialNote: The bundled MCP server connects to your Dynatrace environment. See the Dynatrace Privacy Policy for details on data handling.
Cursor Plugin
The Dynatrace plugin is listed on the Cursor Marketplace. Install is GUI-only: open Customize in the Cursor sidebar, find "Dynatrace", select Install, and choose project or user scope.
Set the same DT_ENVIRONMENT and DT_PLATFORM_TOKEN environment variables shown above before starting Cursor.
Manual
Copy skill directories into your agent's skills path (.agents/skills/, .claude/skills/, .cursor/skills/, etc.).
Related MCP server: Dynatrace Managed MCP Server
Connecting to Dynatrace
Skills provide knowledge only. To run live queries and manage your environment, pair them with a tool.
Dynatrace CLI (dtctl)
dtctl is a kubectl-style CLI for the Dynatrace platform. It ships with its own Agent Skill that teaches agents how to operate it.
brew install dynatrace-oss/tap/dtctl # Install
dtctl auth login --context my-env \
--environment "https://<env>.apps.dynatrace.com" # Authenticate
npx skills add dynatrace-oss/dtctl # Install the dtctl skill
dtctl doctor # Verify setupOr install the dtctl skill with dtctl itself: dtctl skills install
Dynatrace MCP Server
The Dynatrace MCP server provides Dynatrace API access via MCP. The Claude Code plugin bundles the MCP server configuration automatically — just set DT_ENVIRONMENT and DT_PLATFORM_TOKEN as shown above. For other agents that support MCP natively, see the MCP server docs.
The MCP server is remote — Dynatrace hosts it, so there is nothing to install. Releases are published to the official MCP registry as io.github.Dynatrace/dynatrace-for-ai, so MCP hosts that read the registry can add it by name.
Skills
DQL & Query Language
Skill | Description |
DQL syntax rules, common pitfalls, and query patterns. Load this before writing any DQL. |
Observability
Skill | Description |
Service RED metrics and runtime telemetry for .NET, Java, Node.js, Python, PHP, and Go. | |
Real User Monitoring, Web Vitals, user sessions, mobile crashes, and frontend errors. | |
Distributed traces, spans, service dependencies, and failure detection. | |
Host and process metrics: CPU, memory, disk, network, and containers. | |
Kubernetes clusters, pods, nodes, workloads, labels, and resource relationships. | |
AWS resources: EC2, RDS, Lambda, ECS/EKS, VPC, load balancers, and cost optimization. | |
Azure resources: VMs, VMSS, SQL Database, Storage, AKS, App Service, Functions, VNet, Event Hubs, Container Apps, and Key Vault. | |
GCP resources: Compute Engine, GKE, Cloud Run, Pub/Sub, VPC, DNS, IAM, and Secret Manager. | |
Log queries, filtering, pattern analysis, and log correlation. | |
Problem entities, root cause analysis, impact assessment, and problem correlation. | |
Time series forecasting, capacity saturation planning, and trend/anomaly detection across hosts, services, and infrastructure. | |
End-to-end alerting lifecycle: anomaly detector setup, alert events in Grail, problem grouping, and workflow notification routing. | |
Analyze Dynatrace dashboards and notebooks with Davis analyzers: anomaly detection, novelty scoring, and metric correlation. | |
Ingest third-party test and monitor results into Dynatrace Grail via the platform events ingest API. | |
Analyze observability signals from GenAI applications: golden signals, LLM cost/token analytics, agent tool-call behavior, and evaluation results. | |
Suggest and validate semantic dictionary mappings for audit log integrations, using vendor log payloads or live ingested events. | |
Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers): topology, interface metrics, and SNMP trap/syslog events. | |
Analyze network flows from OneAgent, NetFlow/IPFIX/sFlow, and cloud VPC flow logs: top talkers, communication dependencies, and connection health. |
Security
Skill | Description |
Query and analyze security data in | |
Resolve security signals and IoC matches to runtime entities, and connect findings across topology levels through a shared runtime entity. | |
Hunt threat-intelligence indicators of compromise across logs and spans, producing a threat-exposure score. | |
Suggest and validate semantic dictionary mappings for new security integrations, using vendor API samples or live events. | |
Monitor and investigate EU DORA compliance posture: compliance score, Critical/Important Function (CIF) health, incident classification, and ICT risk inputs. |
Instrumentation Setup
Skill | Description |
Reference for installing Dynatrace OneAgent across VMs, Kubernetes, AWS Lambda, Windows hosts, remote EC2 instances, and Azure VMs/VMSS. | |
Instrument an existing Android project (Kotlin or Java) with the Dynatrace Mobile Agent: Gradle plugin, agent config, and user privacy opt-in. | |
Integrate the Dynatrace Flutter Plugin: dependency setup, config, SDK bootstrap, navigation tracking, and verification. | |
Set up the Dynatrace iOS SDK via Swift Package Manager: SPM dependency, Dynatrace.plist config, privacy opt-in, and Xcode build verification. | |
Integrate the Dynatrace React Native Plugin for bare React Native and Expo: dependency setup, dynatrace.config.js, Babel registration, navigation tracking, and verification. |
Platform
Skill | Description |
Create, modify, and analyze Dynatrace dashboards: tiles, layouts, variables, and visualizations. | |
Create, modify, and analyze Dynatrace notebooks: sections, DQL queries, and analytics workflows. | |
Dynatrace server-side JavaScript runtime: function contract, runtime limits, Web APIs, Node.js modules, and the | |
Query and analyze a Dynatrace tenant's actual billing and usage data with DQL: DPS consumption breakdown, cost-normalized spend ranking, chargeback/showback, cost drivers, and entity-level cost drill-down. |
Migration
Skill | Description |
Migrate classic entity-based DQL and topology navigation to Smartscape equivalents. |
Prompts
Prompts are reusable task templates for common Dynatrace workflows. You can copy them from the /prompts/ directory and paste them directly into any AI chat. For VS Code/GitHub Copilot users, copy prompts into .github/prompts/ to use as slash commands (e.g. /troubleshoot-problem).
Each prompt references the relevant skills above — load those skills first for best results.
Prompt | Description |
Generate a daily standup report for one or more services. | |
Check the health of a service in production. | |
Respond to an active production incident with triage, root cause, and a shareable report. | |
Investigate recent errors using Davis Problems as the entry point (problems → logs → traces). | |
Analyze whether a recent deployment caused a performance regression. | |
Troubleshoot an existing Dynatrace problem with structured log and trace investigation. |
How Skills Work
Skills follow the Agent Skills specification and use progressive disclosure:
Catalog - Agents load only
name+description(~100 tokens per skill) to know what's available.Instructions - When relevant, the full
SKILL.mdis loaded (<5000 tokens).Resources - Detailed reference files in
references/are loaded on demand.
Install all skills without penalty. Agents only load what they need.
Contributing
Skill content (skills/) is maintained internally at Dynatrace and published here periodically. PRs that modify skill files will not be accepted — please open an issue instead to suggest changes. See CONTRIBUTING.md for details on what can be contributed directly.
License
Apache-2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
Let AI agents query data and act across all your business apps via MCP.
- SpanlyOAuthcom.spanly
MCP observability. Query live traffic, errors, duration, and alerts from your AI agent.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA remote MCP server that enables real-time interaction with the Dynatrace observability platform, bringing production-level monitoring data directly into development workflows.16,636 npm137MIT
- 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.18882 npm32Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query live schema, lineage, and query-context across data warehouses, dbt projects, orchestration systems, and BI tools via MCP tools.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceA powerful Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to Dynatrace's observability platform. Features dual authentication architecture, Davis CoPilot AI integration, and 24 specialized tools for monitoring, automation, and operational intelligence.10 npm5MIT