We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssv445/lorem-ipsum-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
greeting-service.js•603 B
/**
* A simple service for generating greetings
*/
export class GreetingService {
/**
* Generate a greeting message
* @param name The name to greet
* @returns A greeting message
*/
static generateGreeting(name) {
return `Hello, ${name}! Welcome to the MCP Server.`;
}
/**
* Generate a farewell message
* @param name The name to bid farewell to
* @returns A farewell message
*/
static generateFarewell(name) {
return `Goodbye, ${name}! Thank you for using the MCP Server.`;
}
}
//# sourceMappingURL=greeting-service.js.map