Dynatrace MCP server for DT Managed

Hi,

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

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 ?

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

@Roeir5 the MCP server for Managed is GitHub - dynatrace-oss/dynatrace-managed-mcp: An MCP server for self-hosted Dynatrace Managed platform · GitHub , 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.

Does the Dynatrace MCP server work on Dynatrace Managed (on-prem)?

TL;DR: Yes - Dynatrace Managed has its own MCP server: dynatrace-oss/dynatrace-managed-mcp. The general Dynatrace MCP server (dynatrace-oss/dynatrace-mcp) is SaaS-only - it requires a platform token and platform URL, so it can’t target a Managed / on-prem environment.

Which one do I use?

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 required scopes) · Issue #68 · dynatrace-oss/dynatrace-managed-mcp

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

Use it in good health!

Best regards,
János

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 Migrations

Thanks!

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

Followed this documentation GitHub - dynatrace-oss/dynatrace-managed-mcp: An MCP server for self-hosted Dynatrace Managed platform · GitHub and also ensured that the access token has DataExport scope but still having issues.

@madhu_muchukota can you share what issues are you having?

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?

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"}

I was finally able to resolve the issue. The root cause was that the SSL/TLS certificate presented by the Dynatrace Managed endpoint was not trusted.