Dynatrace MCP Server
@dynatrace-oss
About Dynatrace MCP Server
MCP server for Dynatrace Observability
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dynatrace-mcp": {
"command": "npx",
"args": [
"-y",
"@dynatrace-oss/dynatrace-mcp-server@latest",
"--help"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Dynatrace MCP Server?
The Dynatrace MCP Server is a local Model Context Protocol server that allows AI Assistants to interact with the Dynatrace observability platform, bringing real-time observability data directly into your development workflow. It targets developers and DevOps teams using MCP-compatible clients (e.g., VS Code, Claude, Cursor, GitHub Copilot, ChatGPT). Note: This product is not officially supported by Dynatrace and is currently in Maintenance Mode.
How to use Dynatrace MCP Server?
Install via npx -y @dynatrace-oss/dynatrace-mcp-server (type: stdio). Configure the DT_ENVIRONMENT environment variable with your Dynatrace Platform URL (e.g., https://abc12345.apps.dynatrace.com). Authentication uses OAuth Authorization Code Flow in your browser; tokens are stored in the OS keychain. For headless environments, set DT_MCP_TOKEN_STORAGE=file to persist tokens in ~/.config/dynatrace-mcp/.
Key features of Dynatrace MCP Server
- Observability & problem management (list_problems, list_vulnerabilities, etc.)
- Query Dynatrace Grail data via natural language or DQL
- Entity discovery (find_entity_by_name)
- Dynatrace Intelligence integration (chat with Davis Copilot)
- Automation and notifications (Slack, email, events)
- Create Dynatrace Notebooks to share results
Use cases of Dynatrace MCP Server
- Real-time observability for early detection and proactive monitoring
- Contextual debugging with full context from exceptions, logs, and anomalies
- Security insights with vulnerability analysis and problem tracking
- Natural language queries using AI-powered DQL generation
- Multi-phase incident investigation with automated impact assessment
FAQ from Dynatrace MCP Server
What are the prerequisites?
Node.js v24 or newer is required to run the Dynatrace MCP Server. You also need a Dynatrace Platform URL (classic URLs like abc12345.live.dynatrace.com are not supported).
How does authentication work?
Authentication is handled via OAuth Authorization Code Flow in your browser. Tokens are securely stored in the OS keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service) and reused on subsequent starts. The browser only opens once per token lifetime. In headless environments, set DT_MCP_TOKEN_STORAGE=file to persist tokens.
Are there any costs associated with using this server?
The server is free, but using certain capabilities (notably execute_dql and queries to Dynatrace Grail) may incur costs based on your Dynatrace consumption model (GB scanned). The server includes built-in budget tracking via DT_GRAIL_QUERY_BUDGET_GB (default 1000 GB) and warns when approaching 80% of the budget.
Can I use this in a container or headless environment?
Yes. You must set DT_MCP_TOKEN_STORAGE=file to persist OAuth tokens in a file (~/.config/dynatrace-mcp/) instead of the OS keychain, which is unavailable in headless/container environments.
Is there a remote alternative that doesn't require local setup?
Yes. Dynatrace offers a Remote Dynatrace MCP Server (available from the Dynatrace Hub) that requires no local setup and connects instantly to your Dynatrace environment from any MCP-compatible client. A migration guide is provided in the repository.
More Other MCP servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Awesome Mcp Servers
punkpeyeA collection of MCP servers.

EverArt
modelcontextprotocolModel Context Protocol Servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Comments