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 sendSlackMessage = async (
dtClient: HttpClient,
connectionId: string,
channel: string,
message: string,
) => {
const response = await callAppFunction(dtClient, 'dynatrace.slack', 'slack-send-message', {
message: message,
channel: channel,
connection: connectionId,
workflowID: 'foobar-123',
executionID: 'exec-123',
executionDate: new Date().toString(),
appendToThread: false,
});
if (response.error) {
// e.g., "Not enough parameters provided"
return `Error sending message to Slack: ${response.error}`;
}
return `Message sent to Slack: ${JSON.stringify(response.result)}`;
};