What it does
MCP server for Dynatrace Managed to access logs, events, and metrics.
- Connects Runs on your computer
- Account or key No key needed · 1 setting to fill in (DT_ENVIRONMENT_CONFIGS)
- Category Developer tools
Use together with
Skills that teach the AI this kind of work; they work alongside this one
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 28/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 40/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Dynatrace Managed MCP. Follow https://mcp.popnx.com/i/dynatrace-oss-dynatrace-managed-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Dynatrace Managed MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "dynatrace-managed": { "command": "npx", "args": [ "-y", "@dynatrace-oss/dynatrace-managed-mcp-server" ], "env": { "DT_ENVIRONMENT_CONFIGS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DT_ENVIRONMENT_CONFIGS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Dynatrace Managed MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DT_ENVIRONMENT_CONFIGSAn escaped JSON array that defines the Dynatrace Managed environment(s) to connect to. See README file for contents of this.
Descriptions are as written by the maker.
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "dynatrace-managed": { "command": "npx", "args": [ "-y", "@dynatrace-oss/dynatrace-managed-mcp-server" ], "env": { "DT_ENVIRONMENT_CONFIGS": "your-value" } } } }Quit Claude and open it again
Try it
Use Dynatrace Managed MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Dynatrace Managed MCP or shows a Dynatrace Managed MCP tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
DT_MCP_RATE_LIMIT_MAX_CALLSMaximum number of tool calls allowed per rate limit window. Defaults to 20.DT_MCP_RATE_LIMIT_WINDOW_MSRate limit window size in milliseconds. Defaults to 20000 (20 seconds).LOG_LEVELLogging level (e.g. debug, info, warning, error)DT_MCP_ENABLE_TELEMETRYEnable telemetry
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Dynatrace Managed MCP yet
Dynatrace Managed MCP runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Dynatrace Managed MCP
- 1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- 1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
- 1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
- 1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Works with Claude Code, with some setup first
1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Dynatrace Managed MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user dynatrace-managed --env DT_ENVIRONMENT_CONFIGS=your-value -- npx -y @dynatrace-oss/dynatrace-managed-mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DT_ENVIRONMENT_CONFIGS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Dynatrace Managed MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DT_ENVIRONMENT_CONFIGSAn escaped JSON array that defines the Dynatrace Managed environment(s) to connect to. See README file for contents of this.
Descriptions are as written by the maker.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user dynatrace-managed --env DT_ENVIRONMENT_CONFIGS=your-value -- npx -y @dynatrace-oss/dynatrace-managed-mcp-serverType /mcp in Claude Code
You should see Dynatrace Managed MCP listed as connected
Try it
Use Dynatrace Managed MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Dynatrace Managed MCP or shows a Dynatrace Managed MCP tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
DT_MCP_RATE_LIMIT_MAX_CALLSMaximum number of tool calls allowed per rate limit window. Defaults to 20.DT_MCP_RATE_LIMIT_WINDOW_MSRate limit window size in milliseconds. Defaults to 20000 (20 seconds).LOG_LEVELLogging level (e.g. debug, info, warning, error)DT_MCP_ENABLE_TELEMETRYEnable telemetry
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Dynatrace Managed MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "dynatrace-managed": { "command": "npx", "args": [ "-y", "@dynatrace-oss/dynatrace-managed-mcp-server" ], "env": { "DT_ENVIRONMENT_CONFIGS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DT_ENVIRONMENT_CONFIGS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Dynatrace Managed MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DT_ENVIRONMENT_CONFIGSAn escaped JSON array that defines the Dynatrace Managed environment(s) to connect to. See README file for contents of this.
Descriptions are as written by the maker.
Fill in your key
In the Dynatrace Managed MCP settings, DT_ENVIRONMENT_CONFIGS is empty; add your key and save
Open the AI chat in Cursor in Agent mode
Try it
Use Dynatrace Managed MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Dynatrace Managed MCP or shows a Dynatrace Managed MCP tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
DT_MCP_RATE_LIMIT_MAX_CALLSMaximum number of tool calls allowed per rate limit window. Defaults to 20.DT_MCP_RATE_LIMIT_WINDOW_MSRate limit window size in milliseconds. Defaults to 20000 (20 seconds).LOG_LEVELLogging level (e.g. debug, info, warning, error)DT_MCP_ENABLE_TELEMETRYEnable telemetry
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
1 setting(s) to fill in (DT_ENVIRONMENT_CONFIGS) · Install Node.js on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Dynatrace Managed MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "dynatrace-managed": { "type": "stdio", "command": "npx", "args": [ "-y", "@dynatrace-oss/dynatrace-managed-mcp-server" ], "env": { "DT_ENVIRONMENT_CONFIGS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DT_ENVIRONMENT_CONFIGS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Dynatrace Managed MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Node.js (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
node -v- A version number such as v26.13.1 = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
node -vInstall once; it works for everything that needs Node.js
Fill in 1 setting(s)
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
DT_ENVIRONMENT_CONFIGSAn escaped JSON array that defines the Dynatrace Managed environment(s) to connect to. See README file for contents of this.
Descriptions are as written by the maker.
Fill in your key
In the Dynatrace Managed MCP settings, DT_ENVIRONMENT_CONFIGS is empty; add your key and save
Open the AI chat in VS Code in Agent mode
Try it
Use Dynatrace Managed MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Dynatrace Managed MCP or shows a Dynatrace Managed MCP tool in the answer, you are connected
4 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
DT_MCP_RATE_LIMIT_MAX_CALLSMaximum number of tool calls allowed per rate limit window. Defaults to 20.DT_MCP_RATE_LIMIT_WINDOW_MSRate limit window size in milliseconds. Defaults to 20000 (20 seconds).LOG_LEVELLogging level (e.g. debug, info, warning, error)DT_MCP_ENABLE_TELEMETRYEnable telemetry
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user dynatrace-managed --env DT_ENVIRONMENT_CONFIGS=your-value -- npx -y @dynatrace-oss/dynatrace-managed-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"dynatrace-managed": {
"command": "npx",
"args": [
"-y",
"@dynatrace-oss/dynatrace-managed-mcp-server"
],
"env": {
"DT_ENVIRONMENT_CONFIGS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"dynatrace-managed": {
"command": "npx",
"args": [
"-y",
"@dynatrace-oss/dynatrace-managed-mcp-server"
],
"env": {
"DT_ENVIRONMENT_CONFIGS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"dynatrace-managed": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dynatrace-oss/dynatrace-managed-mcp-server"
],
"env": {
"DT_ENVIRONMENT_CONFIGS": "your-value"
}
}
}
}Values you fill in
DT_MCP_RATE_LIMIT_MAX_CALLSenvMaximum number of tool calls allowed per rate limit window. Defaults to 20.DT_MCP_RATE_LIMIT_WINDOW_MSenvRate limit window size in milliseconds. Defaults to 20000 (20 seconds).DT_ENVIRONMENT_CONFIGSrequired envAn escaped JSON array that defines the Dynatrace Managed environment(s) to connect to. See README file for contents of this.LOG_LEVELenvLogging level (e.g. debug, info, warning, error)DT_MCP_ENABLE_TELEMETRYenvEnable telemetry
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account dynatrace-oss, which owns the repo
- ✓ Pass
Still maintained
Code last changed 6 days ago
- ✓ Pass
Has a licence
Uses Apache-2.0
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for @dynatrace-oss/dynatrace-managed-mcp-server@2.0.0
Checks only this package version, not every dependency · checked Nov 15, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/dynatrace-oss-dynatrace-managed-mcp)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 95% of the other 6103 servers in this category
- Published to the registry more recently than 60% of the other 6103 servers in this category
- Basic checks equal to or better than 99% of the other 6103 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Dynatrace Managed MCP safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 6 days ago, and the latest version (2.0.0) reached the registry 20 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| This one Dynatrace Managed MCP | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | Yes | No | No |
| Basic checks | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| License | Apache-2.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Dynatrace Managed MCP Server
Use cases
1. Your Dynatrace Managed environment(s) is/are the primary Observability system, containing all live data; or
2. There has been a migration from a Dynatrace Managed environment to a Dynatrace Saas environment; however, historical observability data has not been migrated and can still be accessed via a Dynatrace Managed environment.
The Dynatrace Managed MCP is used to access historical data, and a separate Dynatrace SaaS MCP is used to access live and more recent data.
Specific use cases for the Dynatrace Managed MCP include:
- Real-time observability - Fetch production-level data for early detection and proactive monitoring
- Contextual debugging - Fix issues with full context from monitored exceptions, logs, and anomalies
- Security insights - Get detailed vulnerability analysis and security problem tracking. This can include multicloud compliance assessment with evidence-based investigation.
- Natural language queries - Queries are mapped to MCP tool usage, and thus API queries, with guidance for the next step
- Multiphase incident investigation - Systematic impact assessment and troubleshooting
- Multienvironment support - Query multiple Dynatrace Managed environments from the same MCP server
Capabilities
- 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
- Metrics Analysis - Query and analyze performance metrics using V2 Metrics API
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.
This MCP server supports two modes:
- Local mode: Runs on your machine for development and testing.
- Remote mode: Connects over HTTP/SSE for distributed or production-like setups.
[!TIP]
This MCP server is specifically designed for Dynatrace Managed (self-hosted) deployments.
For Dynatrace SaaS environments, please use the Dynatrace MCP.
[!NOTE]
This open source product is supported by the community.
For feature requests, questions, or assistance, please use GitHub Issues.
Quickstart in stdio (local) mode
You can add this MCP server to your AI Assistant, such as VSCode, Claude, Cursor, Kiro, Windsurf, ChatGPT, or GitHub Copilot.
To run this MCP server, you to have to configure four things:
- _Dynatrace Managed API token_
- _Configuration file_:
dt-config.yamlordt-config.jsonfile which is responsible for defining list of environments you intend to use - _MCP Server connection configuration file:_ local mcp configuration, which is dependent on tools you are using
- Set
DT_CONFIG_FILEto the path of yourdt-config.yamlordt-config.jsonfile in the MCP server environment.
Dynatrace Managed API token
For information about creating API tokens in Managed deployments, refer to the Dynatrace Managed documentation. Your API token must include the following scopes for full functionality:
- Access problem and event feed, metrics, and topology (
DataExport) - Read entities (
entities.read) - Read events (
events.read) - Read logs (
logs.read) - Read metrics (
metrics.read) - Read problems (
problems.read) - Read security problems (
securityProblems.read) - Read SLO (
slo.read)
Configuration File
Configuration parameters
| Parameter | Required | Description | Example value |
|---|---|---|---|
| apiEndpointUrl | Yes | Base URL for Dynatrace Managed cluster API | https:// dmz123.dynatrace-managed.com |
| environmentId | Yes | ID of the managed environment | 01234567-89ab-cdef-abcd-ef0123456789 |
| alias | Yes | Human-friendly name of the environment | MyEnvironment |
| apiToken | Only in stdio mode | API token of the cluster with required scopes created using the instruction above | dt0s01.ABCDEFGHIJK0123 |
| httpProxyUrl | No | URL of proxy server for requests. Do not use with the other proxy parameter | http:// proxy.company.com:8080 |
| httpsProxyUrl | No | URL of proxy server for requests. Do not use with the other proxy parameter | https:/ /proxy.company.com:8080 |
There are two ways to configure your Dynatrace Managed environments.
Method 1: Configuration File (Recommended for Local Development)
Example: dt-config.yaml
# Production environment
- apiEndpointUrl: https://my-api.company.com/ environmentId: abc-123 alias: production
Token is injected from an environment variable at runtime
apiToken: ${DT_PROD_TOKEN}
You can also use the token directly
apiToken: dt0s01.ABCDEFGHIJK0123
Staging environment
- apiEndpointUrl: https://staging-api.company.com/ environmentId: xyz-789 alias: staging apiToken: ${DT_STAGING_TOKEN}
Example: dt-config.json
[
{ "apiEndpointUrl": "https://my-api.company.com/", "environmentId": "abc-123", "alias": "production", "apiToken": "${DT_PROD_TOKEN}" } ]
Method 2: Environment Variable (Docker/Kubernetes)
For Kubernetes deployments or if you prefer environment variables, you can set DT_ENVIRONMENT_CONFIGS with a JSON string in either your .env file or directly in MCP Server connection configuration file
DT_ENVIRONMENT_CONFIGS='[{"apiEndpointUrl":"https://api.example.com/","environmentId":"abc-123","alias":"production","apiToken":"dt0s01.ABCDEFGHIJK0123"}]'
MCP Server connection configuration file
To actually connect to the MCP server you have to configure your MCP connection in your AI Assistant
We recommend always setting it up for your current workspace instead of using it globally.
VS Code
{
"servers": { "npx-dynatrace-managed-mcp": { "command": "npx", "cwd": "${workspaceFolder}", "args": ["-y", "@dynatrace-oss/dynatrace-managed-mcp-server@latest"], "envFile": "${workspaceFolder}/.env" } } }
Alternatively, this can also be stored in user settings, and you can define env as follows:
{
"servers": { "npx-dynatrace-managed-mcp": { "command": "npx", "args": ["-y", "@dynatrace-oss/dynatrace-managed-mcp-server@latest"], "env": { "DT_PROD_TOKEN": "dt0s01.ABCDEFGHIJK0123", "DT_CONFIG_FILE": "dt-config.yaml" } } } }
Claude Code
Claude Code can install this server as a plugin, which skips the manual MCP configuration below and adds a skill covering environment selection and entity selectors. It is published through Anthropic's community plugin marketplace:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install dynatrace-managed-mcp@claude-community
[!IMPORTANT]
The community marketplace listing is pending review. Until it is approved, the install above
reports
Plugin "dynatrace-managed-mcp" not found in marketplace "claude-community"- use the
instructions under _Installing straight from this repository_ below in the meantime.
Claude Code prompts for the cluster configuration during install - either the JSON array for a single cluster, or a path to a dt-config.yaml / dt-config.json file for several. See docs/claude-code-plugin.md for details.
[!NOTE]
Third-party marketplaces do not auto-update by default. Run
/plugin marketplace update claude-communityto pick up a new plugin version.
Installing straight from this repository instead
This repository is also a plugin marketplace in its own right, which is how you install the plugin before the community listing is approved, try an unreleased change, or pin to a specific branch:
/plugin marketplace add dynatrace-oss/dynatrace-managed-mcp
/plugin install dynatrace-managed-mcp@dynatrace
To configure the server by hand instead, use the Claude Desktop snippet below - it applies to Claude Code's .mcp.json as well.
Claude Desktop
{
"mcpServers": { "dynatrace-managed-mcp": { "command": "npx", "args": ["-y", "@dynatrace-oss/dynatrace-managed-mcp-server@latest"], "env": { "DT_PROD_TOKEN": "dt0s01.ABCDEFGHIJK0123", "DT_CONFIG_FILE": "dt-config.yaml" } } } }
Kiro
{
"mcpServers": { "dynatrace-managed-mcp": { "command": "npx", "args": ["-y", "@dynatrace-oss/dynatrace-managed-mcp-server@latest"], "env": { "DT_PROD_TOKEN": "dt0s01.ABCDEFGHIJK0123", "DT_CONFIG_FILE": "dt-config.yaml" } } } }
This configuration should be stored in /.kiro/settings/mcp.json, or in user-level settings (~/.kiro/settings/mcp.json).
Google Gemini CLI
Using gemini CLI directly (recommended):
gemini extensions install https://github.com/dynatrace-oss/dynatrace-managed-mcp
export DT_ENVIRONMENT_CONFIGS="[{\"apiEndpointUrl\":\"https://my-api-endpoint.com/\",\"environmentId\":\"my-env-id-1\",\"alias\":\"alias-env\",\"apiToken\":\"my-api-token\"},{\"apiEndpointUrl\":\"https://my-api2-endpoint.com/\",\"environmentId\":\"my-env-id-2\",\"alias\":\"alias-env-2\",\"apiToken\":\"my-api-token-2\"}]"
and verify that the server is running via
gemini mcp list
Or manually