Connect AI assistants to Dynatrace to query observability data and analyze problems.
Dynatrace for AI MCP Server
This MCP server connects AI assistants to Dynatrace so they can query observability data and analyze problems. It provides “skills” that supply domain-specific context for working with Dynatrace. Skills are portable knowledge packages that follow the Agent Skills open format.
🛠️ Key Features
Connects AI assistants to Dynatrace
Enables querying observability data and analyzing problems
Provides Dynatrace-related skills in the Agent Skills format
Supports multiple AI coding agents, including Claude Code, GitHub Copilot, Cursor, OpenCode, and Gemini CLI
🚀 Use Cases
Query Dynatrace observability data from AI assistants
Analyze problems using Dynatrace data via AI agents
Provide Dynatrace domain context to coding agents through skills
⚡ Developer Benefits
Reusable, portable skills for Dynatrace domain knowledge
Compatibility with Agent Skills tooling and ecosystems
Multi-agent support (Claude Code, Copilot, Cursor, OpenCode, Gemini CLI, and 30+ other)
⚠️ Limitations
Documentation excerpt does not specify supported Dynatrace query languages or required configuration details
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)
bash
npx skills add dynatrace/dynatrace-for-ai
Works with Claude Code, Cursor, Cline, GitHub Copilot, OpenCode, and other compatible agents.
Claude Code Plugin
bash
claude plugin install dynatrace@claude-plugins-official
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:
bash
export DT_ENVIRONMENT=https://<env>.apps.dynatrace.com # e.g. https://abc12345.apps.dynatrace.comexport DT_PLATFORM_TOKEN=<your-platform-token>
Verify that it works via:
bash
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:
bash
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.
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.
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.
Monitor and investigate EU DORA compliance posture: compliance score, Critical/Important Function (CIF) health, incident classification, and ICT risk inputs.
Integrate the Dynatrace React Native Plugin for bare React Native and Expo: dependency setup, dynatrace.config.js, Babel registration, navigation tracking, and verification.
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.
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.
Catalog - Agents load only name + description (~100 tokens per skill) to know what's available.
Instructions - When relevant, the full SKILL.md is 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
Install
Remote endpoint
Streamable HTTP
Hosted server - connect over the network, no local install.