Dynatrace MCP Server

MCP server for Dynatrace Managed to access logs, events, and metrics.

Remote serverstreamable-http

What is the Dynatrace MCP Server?

MCP server for Dynatrace Managed to access logs, events, and metrics.

What you get

The local Dynatrace Managed MCP server allows AI Assistants to interact with one or more self-hosted Dynatrace Managed deployments, bringing observability data directly into your AI-assisted workflow.

  • Problems — - List and get problem details from your services (for example Kubernetes)
  • Security — - List and get security problems / vulnerability details
  • Entities — - Get more information about a monitored entity, including relationship mappings
  • SLO — - List and get Service Level Objective details, including evaluation and error budgets
  • Event Tracking — - List and get system events
  • Log Investigation — - Search and filter logs with advanced content and time-based queries

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
dynatraceUrlhttps://my-dashboard.company.com/
apiEndpointUrlbase URL for Dynatrace Managed API, to which the environment ID will be appended (e.g. https://abc123.dynatrace-managed.com:9999)
environmentIdID of the managed environment, used for constructing URL for API and dashboards (e.g., of the form 01234567-89ab-cdef-abcd-ef0123456789)
aliasa friendly/human-readable name for the environment
apiTokenAPI token with required scopes (see [Authentication](#authentication))
fileWrite logs to a file (default behavior)
stderrWrite errors and warnings to standard error (info/debug suppressed)
stderr-allWrite all log levels to standard error (✅ **Recommended for VS Code with stdio transport**)

How to install the Dynatrace MCP Server

{
  "mcpServers": {
    "dynatrace-managed-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server@latest"
      ],
      "env": {
        "DT_PROD_TOKEN": "YOUR_DT_PROD_TOKEN",
        "DT_CONFIG_FILE": "dt-config.yaml"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
DT_PROD_TOKENDeclared in the maintainer’s client configuration.Check documentation
DT_CONFIG_FILEDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Dynatrace to dynatraceUrl.”
  • “Use Dynatrace to apiEndpointUrl.”
  • “Use Dynatrace to environmentId.”

Frequently asked questions

MCP server for Dynatrace Managed to access logs, events, and metrics. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.