Dynatrace Managed Q&A
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Dynatrace MCP server for DT Managed

Roeir5
Participant

Hi, 

I have been exploring integration of the following DT MCP server : 

https://www.dynatrace.com/hub/detail/dynatrace-mcp-server/

https://github.com/dynatrace-oss/dynatrace-mcp

 

As I was going over the requirements, I have noticed it is only available for SaaS platform (It requires Platform token and URL). 

Since I did not find a definitive statement about DT Managed environment support - 

Does the MCP server (maybe if installed locally) can be configured to work against our On Premise environment ?

 

11 REPLIES 11

Mizső
DynaMight Guru
DynaMight Guru

Hi @Roeir5,

It works with SaaS enviroments. Managed is not supported.

The open‑source MCP server (from Dynatrace OSS GitHub) is designed exclusively for Dynatrace SaaS.

Best regards,

János

 

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Julius_Loman
DynaMight Legend
DynaMight Legend

@Roeir5 the MCP server for Managed is https://github.com/dynatrace-oss/dynatrace-managed-mcp , the one you ask about is for SaaS only as @Mizső stated already.

I recommend watching the roadmap for managed from the Perform 2026 here, it includes also this MCP server with some examples.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Thanks very much @Julius_Loman !!!

During Perform 2026 DT announced that the Dynatrace MCP Server is now available for Managed environments as well. I completely missed this.

Give it a try and make the most of the AI capabilities even in Managed. Let your imagination run free and keep AI Ops in mind while experimenting.

You can find the documentation here:

GitHub - dynatrace-oss/dynatrace-managed-mcp

There’s one thing to watch out for: in the documentation is missing the DataExport token scope.

Environment validation fails with 403 when token lacks `DataExport` scope (not listed in README requ...

Once the API token scopes are correct, everything runs smoothly:

Mizs_0-1770563659098.png

Use it in good health!

Best regards,
János

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Thanks!

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

DeeMcLeish
Dynatrace Advocate
Dynatrace Advocate

We recently presented a webinar with AWS and have some live demos showing the power of the managed MCP server
Check it out No Data Left Behind: Using Model Context Protocol (MCP) for Smarter Dynatrace Managed → SaaS Migrati...

madhu_muchukota
Visitor

Hi Team, I am trying to setup Dynatrace managed MCP server and running into issues. 

Followed this documentation https://github.com/dynatrace-oss/dynatrace-managed-mcp and also ensured that the access token has DataExport scope but still having issues. 

 

 

Julius_Loman
DynaMight Legend
DynaMight Legend

@madhu_muchukota can you share what issues are you having?

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

This is my entry in the claude desktop config file:

{
"mcpServers": {
"dynatrace-managed-mcp": {
"command": "npx",
"args": ["-y", "@dynatrace-oss/dynatrace-managed-mcp-server@latest"],
"env": {
"DT_ENVIRONMENT_CONFIGS": "[{\"dynatraceUrl\":\"https://stg-dynatrace.mad.com/\",\"apiEndpointUrl\":\"https://stg-dynatrace.mad.com/\",\"environmentId\":\"d19537a9-bb92-416a-b360-678bdc9f842d\",\"alias\":\"UAT\",\"apiToken\":\"dddddddd\"}]"
}
}
}
}

 

Error:

 

2026-05-18T17:56:13.854Z [dynatrace-managed-mcp] [info] Message from server: {"jsonrpc":"2.0","id":2,"result":{"content":[{"type":"text","text":"Dynatrace Managed Cluster Information - Listing info for 1 environments:\n\n- Environment Alias: UAT\n- API URL: https://stg-dynatrace.ulinedm.com/e/d19537a9-bb92-416a-b360-678bdc9f842d\n- Dashboard URL: https://stg-dynatrace.ulinedm.com/e/d19537a9-bb92-416a-b360-678bdc9f842d\n- Valid Environment: No\n- Error message: Connection validation failed: Can't connect to environment UAT\n\n\n\nAll Dynatrace Managed Cluster Environments listed. Environment showing connection errors and environments with \"Valid environment\" set to \"No\" are invalid environments.\n\n"}]}} { metadata: undefined }
2026-05-18T17:56:19.515Z [dynatrace-managed-mcp] [info] Message from client: {"method":"tools/call","params":{"name":"dynatrace_managed_get_environments_info","arguments":{}},"jsonrpc":"2.0","id":3} { metadata: undefined }
2026-05-18T17:56:19.516Z [dynatrace-managed-mcp] [info] Message from server: {"jsonrpc":"2.0","id":3,"result":{"content":[{"type":"text","text":"Dynatrace Managed Cluster Information - Listing info for 1 environments:\n\n- Environment Alias: UAT\n- API URL: https://stg-dynatrace.mad.com/e/d19537a9-bb92-416a-b360-678bdc9f842d\n- Dashboard URL: https://stg-dynatrace.mad.com/e/d19537a9-bb92-416a-b360-678bdc9f842d\n- Valid Environment: No\n- Error message: Connection validation failed: Can't connect to environment UAT\n\n\n\nAll Dynatrace Managed Cluster Environments listed. Environment showing connection errors and environments with \"Valid environment\" set to \"No\" are invalid environments.\n\n"}]}} { metadata: undefined }

You can increate the LOG_LEVEL to get more info why the connectivity failed. Is your Dynatrace environment reachable without HTTP proxy?

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

yes, it is reachable without HTTP proxy.

I added LOG_LEVEL by setting it to debug but i dont see debugs in the log file. 

@madhu_muchukota if those URLs are really reachable, any chance this uses a system-wide proxy? Check the dynatrace-mcp-server.log in more detail. 

For example:

{"level":"info","message":"Starting Dynatrace Managed MCP","timestamp":"2026-05-19T07:00:45.539Z"}
{"level":"info","message":"Initializing Dynatrace Managed MCP Server v0.5.7...","timestamp":"2026-05-19T07:00:45.541Z"}
{"level":"info","message":"Loading configuration from DT_ENVIRONMENT_CONFIGS","timestamp":"2026-05-19T07:00:45.541Z"}
{"level":"warn","message":"Validating Environments","timestamp":"2026-05-19T07:00:45.541Z"}
{"level":"info","message":"Configuring HTTP Proxy for Axios client: proxy.acme-corp.com:3128","timestamp":"2026-05-19T07:00:45.542Z"}



Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts