Dynatrace MCP Server
@dynatrace-oss
About Dynatrace MCP Server
MCP server for Dynatrace Observability
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.
Frequently asked questions
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.
Basic information
More Other MCP servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments