We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dynatrace-oss/dynatrace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { HttpClient } from '@dynatrace-sdk/http-client';
import { callAppFunction } from './call-app-function';
export const getOwnershipInformation = async (dtClient: HttpClient, entityIds: string) => {
const ownershipResponse = await callAppFunction(dtClient, 'dynatrace.ownership', 'get-ownership-from-entity', {
entityIds: entityIds,
});
if (ownershipResponse.error) {
// e.g., "Not enough parameters provided"
return `Error: ${ownershipResponse.error}`;
}
if (ownershipResponse.result && ownershipResponse.result.owners && ownershipResponse.result.owners.length == 0) {
return 'No owners found - please check out how to setup owners on https://docs.dynatrace.com/docs/deliver/ownership';
}
return ownershipResponse.result;
};