Dynatrace Managed MCP Server Logo

Dynatrace Managed MCP Server

Official

Enables AI assistants to interact with self-hosted Dynatrace Managed environments to retrieve observ...

15 views
0 installs
Updated Jan 20, 2026
Not audited
Enables AI assistants to interact with self-hosted Dynatrace Managed environments to retrieve observability data, security insights, and performance metrics. It allows users to query problems, logs, events, and SLOs through natural language interfaces in both local and remote modes.
  1. Click the "Install Now" button to open the FastMCP connection interface and the MCP server install form — you will fill the environment variables there (the FastMCP UI is where the Install Now button places the values).

  2. Obtain your Dynatrace environment ID (DT_MANAGED_ENVIRONMENT)

    1. Open your Dynatrace Managed web UI in a browser.
    2. Check the URL or Account/Environment list: your environment ID is the tenant string shown in the UI URL (for Managed URLs it appears after /e/, e.g. in https://my-cluster/e/01234567-89ab-cdef-abcd-ef0123456789 the environment ID is 01234567-89ab-cdef-abcd-ef0123456789). (docs.dynatrace.com)
  3. Determine your API endpoint base URL (DT_API_ENDPOINT_URL)

    1. Identify the hostname (and port if used) of your Dynatrace Managed cluster (the cluster address you use to reach the UI / cluster APIs).
    2. In FastMCP, set DT_API_ENDPOINT_URL to the cluster base (scheme + host + optional port), for example:
  4. (Optional) Set the dashboard base URL (DT_DYNATRACE_URL)

    1. If your dashboard URL differs from the API host, copy the dashboard host (e.g., https://dmz123.dynatrace-managed.example.com) and paste it into DT_DYNATRACE_URL.
    2. If you leave DT_DYNATRACE_URL empty, the MCP will default to the value of DT_API_ENDPOINT_URL (per README).
  5. Create an API token for the Managed environment (DT_MANAGED_API_TOKEN)

    1. Log in to the Dynatrace Managed UI with an account that can create tokens.
    2. Navigate to the Access/Integration or API Tokens area (Settings → Integrations → Dynatrace API / Access tokens — look for "API", "Access tokens", or "Dynatrace API Explorer" in your environment UI). (dynatrace.com)
    3. Create a new token and give it a clear name (e.g., "MCP Server token").
    4. Select the required scopes listed in the MCP README (required for full functionality):
    • auditLogs.read
    • entities.read
    • events.read
    • logs.read
    • metrics.read
    • networkZones.read
    • problems.read
    • securityProblems.read
    • slo.read
    1. Create/generate the token and copy it immediately — Dynatrace shows the token value only once. (Paste that value into the DT_MANAGED_API_TOKEN field in the FastMCP form.)
  6. Verify the token (quick smoke test)

    1. From a terminal (or your preferred HTTP client), test a simple API call to ensure the token and endpoint work:
    • curl -H "Authorization: Api-Token <DT_MANAGED_API_TOKEN>" "<DT_API_ENDPOINT_URL>/e/<DT_MANAGED_ENVIRONMENT>/api/v2/entities?limit=1"
    1. A successful 200 response or JSON payload indicates the token and endpoint are correct. The Managed API uses the /e//api/v2 or /api/v1 path patterns for environment-scoped endpoints. (docs.dynatrace.com)
  7. Fill the FastMCP connection fields (in the Install Now / connection UI)

    • DT_MANAGED_ENVIRONMENT: paste the environment GUID (e.g., 01234567-89ab-cdef-abcd-ef0123456789)
    • DT_API_ENDPOINT_URL: paste the cluster API base (e.g., https://abc123.dynatrace-managed.example.com:9999)
    • DT_DYNATRACE_URL: paste the dashboard base if different (optional)
    • DT_MANAGED_API_TOKEN: paste the API token you generated
    • (Optional) DT_MCP_DISABLE_TELEMETRY=true if you want to opt out of MCP telemetry (per README)
  8. Save/Install and test in your AI assistant

    1. Submit the FastMCP form (Install/Save).
    2. Start the MCP or use a simple example prompt (for example, "List Dynatrace problems") to confirm connectivity.
    3. If you see authentication or permission errors, re-check the token scopes and re-run the curl test to get the exact error message to troubleshoot.

Notes / links used to prepare these steps:

  • How to locate environment ID and the environment URL pattern. (docs.dynatrace.com)
  • Where to find API token / API explorer in the Dynatrace UI. (dynatrace.com)
  • Managed environment API URL patterns (/e//api/v2 and examples). (docs.dynatrace.com)

Quick Start

View on GitHub

More for Security

View All →

More for Monitoring

View All →

Similar MCP Servers

Report Issue

Thank you! Your issue report has been submitted successfully.