# Dynatrace Managed MCP

> Dynatrace Managed MCP is an open-source MCP server for cloud and infrastructure. Query logs, events, metrics, problems and SLOs from self-hosted Dynatrace Managed. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/dynatrace-oss/dynatrace-managed-mcp
- **MCP Registry name:** io.github.dynatrace-oss/dynatrace-managed-mcp
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This community-supported server is built for Dynatrace Managed, the self-hosted edition, and the README points SaaS users to a separate Dynatrace MCP. One use case it names is reading historical observability data that was never migrated after a move to SaaS, with a SaaS server handling live data.

It covers problems, security problems and vulnerabilities, monitored entities with their relationships, SLOs with evaluation and error budgets, system events, log search with content and time filters, and metrics through the V2 Metrics API. Several Managed environments can be configured at once with aliases, and a rate limiter defaults to 20 calls per 20 seconds.

Setup needs an API token with read scopes such as problems, logs, metrics, entities, events, security problems and SLO, plus an environment configuration in a YAML or JSON file or the DT_ENVIRONMENT_CONFIGS variable. It runs locally over stdio, with a remote HTTP and SSE mode, and Claude Code can install it as a plugin. Telemetry is optional.

## Features

- **Problems and security:** List and fetch problems and vulnerability details.
- **Entities and SLOs:** Inspect monitored entities, relationships and error budgets.
- **Log search:** Filter logs by content and time.
- **Metrics queries:** Analyse metrics via the V2 Metrics API.
- **Multiple environments:** Query several Managed clusters by alias.
- **Rate limiting:** Defaults to 20 calls per 20 seconds.

## Good for

- Investigate an incident with problems, logs and metrics together
- Review vulnerability findings across environments
- Read historical data left in a Managed cluster after migration
- Check SLO error budgets

## Install

### Claude Code (Terminal)

```sh
claude mcp add dynatrace-managed-mcp --env DT_ENVIRONMENT_CONFIGS='<DT_ENVIRONMENT_CONFIGS>' -- npx -y @dynatrace-oss/dynatrace-managed-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dynatrace-managed-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server"
      ],
      "env": {
        "DT_ENVIRONMENT_CONFIGS": "<DT_ENVIRONMENT_CONFIGS>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dynatrace-managed-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server"
      ],
      "env": {
        "DT_ENVIRONMENT_CONFIGS": "<DT_ENVIRONMENT_CONFIGS>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dynatrace-managed-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server"
      ],
      "env": {
        "DT_ENVIRONMENT_CONFIGS": "<DT_ENVIRONMENT_CONFIGS>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dynatrace-managed-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server"
      ],
      "env": {
        "DT_ENVIRONMENT_CONFIGS": "<DT_ENVIRONMENT_CONFIGS>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dynatrace-managed-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dynatrace-oss/dynatrace-managed-mcp-server"
      ],
      "env": {
        "DT_ENVIRONMENT_CONFIGS": "<DT_ENVIRONMENT_CONFIGS>"
      }
    }
  }
}
```

## FAQ

### Does it work with Dynatrace SaaS?

No. It targets Managed; the README points to a separate Dynatrace MCP for SaaS.

### What access does it need?

An API token with read scopes for entities, events, logs, metrics, problems, security problems and SLOs.

### Can it query several environments?

Yes, through the environment configuration file with aliases.

### Is it officially supported?

It is open source and supported by the community through GitHub Issues.

### Is Dynatrace Managed MCP free?

Yes. Dynatrace Managed MCP is open source, so you can use and self-host it for free.

### How do I add Dynatrace Managed MCP to Claude Code?

Run this command in your terminal: claude mcp add dynatrace-managed-mcp --env DT_ENVIRONMENT_CONFIGS='<DT_ENVIRONMENT_CONFIGS>' -- npx -y @dynatrace-oss/dynatrace-managed-mcp-server

### What are the best alternatives to Dynatrace Managed MCP?

The closest alternatives to Dynatrace Managed MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/dynatrace-managed-mcp
