Dynatrace

Developer toolsAnalytics and monitoring

Connect AI assistants to Dynatrace to query observability data and analyze problems.

Your AI app calls the Dynatrace MCP server, which does the developer tools and analytics and monitoring work and sends the result back to the chat.

About Dynatrace

Dynatrace is the official MCP server from Dynatrace, filed in our directory under developer tools and analytics and monitoring. Connect AI assistants to Dynatrace to query observability data and analyze problems.

Dynatrace is listed in the official MCP registry as io.github.Dynatrace/dynatrace-for-ai, version 10.0.0.

At a glance

Publisher
Dynatrace, the company behind the product
Runs
See the README for setup
Written in
Python
License
Apache-2.0
GitHub stars
190
Official MCP registry
io.github.Dynatrace/dynatrace-for-ai

How to set up Dynatrace

  1. Follow the install steps in the Dynatrace README; it is written in Python, so have that toolchain ready.
  2. Check the Dynatrace README for keys or settings; the registry lists none that Dynatrace requires.
  3. Add Dynatrace to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Dynatrace tools to confirm the connection.
  5. Run one read-only task with Dynatrace first, and keep your app asking before each tool call until the results look right.

Dynatrace compared with similar servers

  • Narsil by postrv has fewer GitHub stars than Dynatrace (190 against 190); Dynatrace is official while Narsil is a community server, and both run locally.
  • Alfred by wednesday-solutions has fewer GitHub stars than Dynatrace (190 against 190); Dynatrace is official while Alfred is a community server, and both run locally.
  • Agent Lsp by blackwell-systems has fewer GitHub stars than Dynatrace (189 against 190); Dynatrace is official while Agent Lsp is a community server, and both run locally.

Before you connect Dynatrace

  • Give Dynatrace its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Dynatrace tool call until you trust what it does with them.
  • Treat text that Dynatrace fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Dynatrace on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Dynatrace

How marketing and sales teams put Dynatrace to work, by company size. Pick the size closest to yours and start Dynatrace on one use case.

Small business

  • A small business with a developer can use Dynatrace to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Dynatrace to explain and fix a marketing site issue without context switching between tools.
  • A small business can ask Dynatrace where this month's customers came from and which channel is worth more budget.
  • Dynatrace runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Dynatrace to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Dynatrace to keep scripts and automations documented and versioned as they change.
  • Marketing teams can connect Dynatrace to answer attribution and funnel questions in a chat, then save the useful ones as reports.
  • Start Dynatrace on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Dynatrace with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Dynatrace so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can expose governed metrics through Dynatrace, so every team's AI answers use the same definitions as finance.
  • Because Dynatrace comes from Dynatrace, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Dynatrace README

From Dynatrace/dynatrace-for-ai on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

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-ai

Works with Claude Code, Cursor, Cline, GitHub Copilot, OpenCode, and other compatible agents.

Claude Code Plugin
claude plugin install dynatrace@claude-plugins-official

Prefer 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:dynatrace

Please 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-official

Note: 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.

Google Antigravity Plugin

Install the plugin with the Antigravity CLI:

agy plugin install https://github.com/Dynatrace/dynatrace-for-ai

In the Antigravity CLI you can also run /plugin install https://github.com/Dynatrace/dynatrace-for-ai.

The plugin includes all skills and the Dynatrace MCP server. It stays disabled until you configure the MCP server. Open /plugin, select dynatrace, and turn it on. Then enter:

  • DT_ENVIRONMENT: your environment URL, e.g. https://abc12345.apps.dynatrace.com (https:// is required; leave off the trailing slash)
  • DT_PLATFORM_TOKEN: a platform token with the MCP gateway scopes

You can change these values later from Configure MCP servers... in /plugin. Antigravity does not read them from your shell environment.

Devin Plugin

The Dynatrace plugin is listed on the Devin Marketplace. Install via the Devin CLI:

devin plugins install CognitionAI/devin-marketplace#plugins/dynatrace

Or from the Devin web app: Customize → Plugins → Add plugin → From repository.

Enter your Dynatrace environment host and a platform token with the MCP gateway scopes when prompted. Skills ship bundled with the plugin; the listing is maintained directly in Cognition's repo, synced from this one.

Manual

Copy skill directories into your agent's skills path (.agents/skills/, .claude/skills/, .cursor/skills/, etc.).

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 setup

Or 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
dt-dql-essentials DQL syntax rules, common pitfalls, and query patterns. Load this before writing any DQL.
Observability
Skill Description
dt-obs-services Service RED metrics and runtime telemetry for .NET, Java, Node.js, Python, PHP, and Go.
dt-obs-frontends Real User Monitoring, Web Vitals, user sessions, mobile crashes, and frontend errors.
dt-obs-tracing Distributed traces, spans, service dependencies, and failure detection.
dt-obs-hosts Host and process metrics: CPU, memory, disk, network, and containers.
dt-obs-kubernetes Kubernetes clusters, pods, nodes, workloads, labels, and resource relationships.
dt-obs-aws AWS resources: EC2, RDS, Lambda, ECS/EKS, VPC, load balancers, and cost optimization.
dt-obs-azure Azure resources: VMs, VMSS, SQL Database, Storage, AKS, App Service, Functions, VNet, Event Hubs, Container Apps, and Key Vault.
dt-obs-gcp GCP resources: Compute Engine, GKE, Cloud Run, Pub/Sub, VPC, DNS, IAM, and Secret Manager.
dt-obs-logs Log queries, filtering, pattern analysis, and log correlation.
dt-obs-problems Problem entities, root cause analysis, impact assessment, and problem correlation.
dt-obs-predictive-analytics Time series forecasting, capacity saturation planning, and trend/anomaly detection across hosts, services, and infrastructure.
dt-alerting End-to-end alerting lifecycle: anomaly detector setup, alert events in Grail, problem grouping, and workflow notification routing.
dt-obs-analytics Analyze Dynatrace dashboards and notebooks with Davis analyzers: anomaly detection, novelty scoring, and metric correlation.
dt-obs-ext-monitors Ingest third-party test and monitor results into Dynatrace Grail via the platform events ingest API.
dt-obs-extensions Check Dynatrace extension status and troubleshoot extension errors: monitoring configuration status, error diagnosis, and error code interpretation.
dt-obs-genai Analyze observability signals from GenAI applications: golden signals, LLM cost/token analytics, agent tool-call behavior, and evaluation results.
dt-obs-log-semantic-mapping Suggest and validate semantic dictionary mappings for audit log integrations, using vendor log payloads or live ingested events.
dt-obs-network-devices Analyze SNMP-monitored network devices (switches, routers, firewalls, load balancers): topology, interface metrics, and SNMP trap/syslog events.
dt-obs-network-flows Analyze network flows from OneAgent, NetFlow/IPFIX/sFlow, and cloud VPC flow logs: top talkers, communication dependencies, and connection health.
Security
Skill Description
dt-sec-insights Query and analyze security data in security.events: Runtime Vulnerability Analytics, Runtime Application Protection, Automated Detections (MITRE ATT&CK), and Security Posture Management (KSPM/CSPM).
dt-sec-contextualization Resolve security signals and IoC matches to runtime entities, and connect findings across topology levels through a shared runtime entity.
dt-sec-ioc-hunting Hunt threat-intelligence indicators of compromise across logs and spans, producing a threat-exposure score.
dt-sec-semantic-mapping Suggest and validate semantic dictionary mappings for new security integrations, using vendor API samples or live events.
dt-obs-compliance-assistant Monitor and investigate EU DORA compliance posture: compliance score, Critical/Important Function (CIF) health, incident classification, and ICT risk inputs.
Instrumentation Setup
Skill Description
dt-setup-oneagent Reference for installing Dynatrace OneAgent across VMs, Kubernetes, AWS Lambda, Windows hosts, remote EC2 instances, and Azure VMs/VMSS.
dt-setup-android Instrument an existing Android project (Kotlin or Java) with the Dynatrace Mobile Agent: Gradle plugin, agent config, and user privacy opt-in.
dt-setup-flutter Integrate the Dynatrace Flutter Plugin: dependency setup, config, SDK bootstrap, navigation tracking, and verification.
dt-setup-ios Set up the Dynatrace iOS SDK via Swift Package Manager: SPM dependency, Dynatrace.plist config, privacy opt-in, and Xcode build verification.
dt-setup-react-native Integrate the Dynatrace React Native Plugin for bare React Native and Expo: dependency setup, dynatrace.config.js, Babel registration, navigation tracking, and verification.
dt-setup-genai Instrument a GenAI/LLM app (Python or TypeScript, any provider or agent SDK) to emit OpenTelemetry gen_ai.* spans queryable in Dynatrace: detect, instrument, enrich, validate.
dt-setup-openinference-migration Migrate a GenAI/LLM app from Traceloop/OpenLLMetry to OpenInference with gen_ai.* semantic conventions enabled, including ingestion shape and cardinality trade-offs.
Platform
Skill Description
dt-app-dashboards Create, modify, and analyze Dynatrace dashboards: tiles, layouts, variables, and visualizations.
dt-app-notebooks Create, modify, and analyze Dynatrace notebooks: sections, DQL queries, and analytics workflows.
dt-js-runtime Dynatrace server-side JavaScript runtime: function contract, runtime limits, Web APIs, Node.js modules, and the @dynatrace-sdk/* catalog.
dt-platform-costs 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
dt-migration Migrate classic entity-based DQL and topology navigation to Smartscape equivalents.
dt-upgrade Guide an upgrade from classic/2nd-gen to 3rd-gen Dynatrace: tenant readiness, migration actions per feature area, and AWS/Azure/GCP cloud integration cutover to Smartscape on Grail.

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
dt-daily-standup Generate a daily standup report for one or more services.
dt-health-check Check the health of a service in production.
dt-incident-response Respond to an active production incident with triage, root cause, and a shareable report.
dt-investigate-error Investigate recent errors using Davis Problems as the entry point (problems → logs → traces).
dt-performance-regression Analyze whether a recent deployment caused a performance regression.
dt-troubleshoot-problem Troubleshoot an existing Dynatrace problem with structured log and trace investigation.

How Skills Work

Skills follow the Agent Skills specification and use progressive disclosure:

  1. Catalog - Agents load only name + description (~100 tokens per skill) to know what's available.
  2. Instructions - When relevant, the full SKILL.md is loaded (<5000 tokens).
  3. 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

Questions about Dynatrace

What is the Dynatrace MCP server?

Connect AI assistants to Dynatrace to query observability data and analyze problems. Dynatrace is published by Dynatrace, the company behind the product, on GitHub at Dynatrace/dynatrace-for-ai, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Dynatrace MCP server?

Dynatrace doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (Dynatrace/dynatrace-for-ai). Like most servers, Dynatrace ends with a command or URL you paste into your AI app's MCP config.

Does Dynatrace need an API key?

The registry lists no required keys for Dynatrace. Check the Dynatrace README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Dynatrace an official MCP server?

Yes. Dynatrace is published by Dynatrace, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Dynatrace under?

Dynatrace is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Dynatrace; the service it connects to has its own terms.