dynatrace-oss/dynatrace-managed-mcp ? reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript MCP server for Dynatrace Managed that lets an AI assistant query one or more self hosted environments. I want it to work in local stdio mode for development and in remote HTTP or SSE mode for production like setups.
The server should read a config file or environment variable for multiple environments, use a Dynatrace Managed API token, and expose tools for problems, security problems, entities, SLOs, events, logs, and metrics. Make it easy to switch between environments by alias, and include clear error handling when the config or token is missing.
Please also add a simple setup so it can be run from an AI client like Cursor or Claude, with sensible docs and examples. If you need to check the latest Dynatrace or MCP docs online, go ahead. Keep the code clean, tested, and ready to run with minimal setup.
Are you gonna build this?
make sure you review the code using coderabbit