Skip to content
Book demo

Dynatrace

Remote MCP·Local·STDIO

Dynatrace observability, security, and automation MCP. Analyze anomalies, logs, traces, events, and metrics with AI-powered DQL generation. Supports problem management, entity discovery, and workflow automation.

Good for:Observability queriesIncident investigationSecurity analysisDQL generation

Installation path

Open AugmentGo to ConfigurationSelect MCP RegistryClick "Add Server"

Choose Add Server, select Local MCP, use npx as the command, pass -y @dynatrace-oss/dynatrace-mcp-server@latest as arguments, and set DT_ENVIRONMENT.

Setup steps

  1. 01

    Get Dynatrace environment URL

    Copy your Dynatrace Platform URL (e.g., https://abc12345.apps.dynatrace.com). Do not use classic .live.dynatrace.com URLs.

  2. 02

    Open Add Server

    Configuration → MCP Registry → Add Server in Cosmos.

  3. 03

    Pick the Local MCP tab

  4. 04

    Set the command

    Command

    npx
  5. 05

    Add the arguments

    Args

    -y @dynatrace-oss/dynatrace-mcp-server@latest
  6. 06

    Set environment variables

    DT_ENVIRONMENT

    DT_ENVIRONMENT=https://abc12345.apps.dynatrace.com
  7. 07

    Click Add, then enable

    Toggle on Cosmos Agent or CLI.

Local command

Suggested name: dynatrace

npx -y @dynatrace-oss/dynatrace-mcp-server@latest

Requires Node.js v22.10+. Authentication uses browser-based OAuth. Optionally set DT_PLATFORM_TOKEN for token-based auth.

Authentication

Browser-based OAuth via DT_ENVIRONMENT URL. Optional DT_PLATFORM_TOKEN for token-based auth.

VariableExampleRequired
DT_ENVIRONMENThttps://abc12345.apps.dynatrace.comYes
DT_PLATFORM_TOKENdt0s16.SAMPLE.abcd1234Yes
Official documentation →