Dynatrace MCP
Lets your AI agent query Dynatrace observability data, logs and problems, plus skills for DQL and monitoring setup.
175 stars on GitHubby DynatraceLicense Apache-2.0Updated 20 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<environment_id>.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http dynatrace-for-ai https://<environment_id>.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Dynatrace Platform Token with MCP gateway scopes | Yes |
Dt-External-Source | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me the open problems in my environment and the likely root cause.
Find error logs for my checkout service from the last hour.
What it is
This is the Dynatrace MCP server, hosted by Dynatrace, with skills that teach agents to work with Dynatrace data. Your agent can query observability data and analyze problems in your environment. The skills cover logs, traces, hosts, Kubernetes, cloud services, security and dashboards.
What it can do
- Query observability data in your Dynatrace environment
- Analyze problems and root causes
- Skills for DQL, logs, tracing, hosts and Kubernetes
- Skills for AWS, Azure and GCP resources
- Skills for security events and dashboards
- Skills for setting up OneAgent and mobile or GenAI instrumentation
When to use
- βΊWhen you investigate a production problem and want the agent to query logs and traces
- βΊWhen you need help writing correct DQL queries
- βΊWhen you want to build or change Dynatrace dashboards and notebooks
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
observability-monitoring-monitor-setupSets up metrics, distributed tracing, log aggregation, and dashboards for application monitoring.monitoring-expertHelps your agent add logs, metrics, and traces to an app, then build Prometheus and Grafana dashboards and alerts that warn you before users notice problems.monte-carlo-analyze-root-causeHelps your agent find the root cause of issues using Monte Carlo analysis. It's useful when you need to understand why something went wrong with your data.Frequently asked questions
Is it official?
Yes. It is published by Dynatrace as io.github.Dynatrace/dynatrace-for-ai.
Is it hosted?
Yes, Dynatrace hosts the MCP server, so there is nothing to install.
What are skills?
Portable Agent Skills packages that give agents the knowledge to query and read Dynatrace data. They work with Claude Code, Copilot, Cursor and others.
How do I install the skills?
Run npx skills add dynatrace/dynatrace-for-ai, or install the Claude Code plugin.
Is there a command-line option?
Yes, the separate dtctl CLI, which has its own Agent Skill.
Does it send data to Dynatrace?
The MCP server connects to your Dynatrace environment. See the Dynatrace Privacy Policy for data handling.
If it does not work
- βΊSet DT_ENVIRONMENT to your full https URL and DT_PLATFORM_TOKEN before starting your client.
- βΊRun claude mcp login plugin:dynatrace:dynatrace to verify the connection in Claude Code.
- βΊCheck that the platform token has the MCP gateway scopes listed in the Dynatrace docs.
5 new skills a week. 1 minute to read.