This page provides an overview of the Dynatrace Model Context Protocol (MCP) server and how you can use it to maximize your efficiency and quickly complete a variety of tasks, such as generating, executing or explaining a DQL query, with the help of an MCP client (external agent).
Currently, the MCP server supports the following use cases:
The Dynatrace MCP server is a server that hosts tools that can be used to fulfill specific use cases. An external agent, such as GitHub CoPilot VS Code integration or Claude desktop, can then make use of the MCP server and its tools to execute a series of calls when fulfilling a user request.
To learn more about MCP servers, see What is the Model Context Protocol (MCP)?.
Dynatrace provides a dynatrace-mcp server that hosts a collection of tools designed for external connections. It currently hosts the following tools:
Tool name
Description
State
Grail Query Agent
davis-copilot:nl2dql:execute permission.Preview
DQL Explanation Agent
davis-copilot:dql2nl:execute permission.Preview
Help Agent
davis-copilot:conversations:execute permission.Preview
Data Analysis Agent
storage:buckets:read permission.Data Analysis Agent tool respects permission scopes and won't access any data outside of the permissions you provided.
Public
Root Cause Agent
storage:buckets:read and storage:events:read permissions.Public
You can connect to an MCP server via a URL by using the following address:
https://{tenant-name}.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp
In addition to the tool permissions mentioned in Server and server tools, both the user and the token must have the following permissions to access and invoke server tools:
mcp-gateway:servers:invokemcp-gateway:servers:readYou can setup connections by using VS Code and its chat integration, or by using any other tool of your choice.