Dynatrace
Dynatrace hosts an MCP server for each environment at https://{environment}.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp over HTTP. The Dynatrace card with the Official badge asks for that environment id and fills in the URL.
Every request needs a bearer token. Dynatrace recommends a platform token, because a token generated from an OAuth client is short-lived. The MCP server does not support dynamic client registration. This card sends the platform token you paste.
The user and the token both need mcp-gateway:servers:invoke and mcp-gateway:servers:read before the server will list or run tools. A scope on the token only works when that user already has the permission. See Dynatrace MCP server.
Create a platform token
- Open My platform tokens.
- Select Platform token. Set a token name, an expiration date, and the account.
- Choose Apply to account, or leave it off and select the environments the token may call. Include the environment you will enter in Willow. Environments is unavailable when Apply to account is selected.
- Keep the token for yourself, or assign it to a service user you can use.
- Select
mcp-gateway:servers:invokeandmcp-gateway:servers:read. - Select Generate and copy the token. Dynatrace shows it once. Select Finish and exit.
Connect in Willow
- Go to MCP Servers → + Add MCP server, open the Dynatrace card with the Official badge, and click + Use.
- Enter the Dynatrace environment. It is the subdomain in
https://<environment>.apps.dynatrace.com. - Keep API key.
- Each person's own is the default. Each person pastes
Bearer, a space, then the platform token. Willow sends that text as theAuthorizationheader. - One shared pastes the token only and leaves Scheme as Bearer. Willow adds the prefix and stores the token in the vault. Everyone calls Dynatrace as that token.
- Each person's own is the default. Each person pastes
- Click Check connection. Assign groups and Publish.
Troubleshooting
The connection is rejected.
On Each person's own, the saved value has to start with Bearer . On One shared, paste the token alone and leave Scheme as Bearer. An expired platform token returns HTTP 403. Generate a new token when the old one has expired, or when it is limited to a different environment.
A call is denied, or logs come back empty.
The token or its user is missing the permission for that data. Reading logs needs storage:logs:read on both. A scope on the token does nothing unless the user already has that permission.