We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cheffromspace/mcp-nextcloud-calendar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
// Mock implementation for calendars.js
import { jest } from '@jest/globals';
export const sanitizeError = jest.fn((error) => {
// Simple implementation that categorizes errors
const errorMsg = error instanceof Error ? error.message : String(error);
if (errorMsg.toLowerCase().includes('not found')) {
return { message: 'The requested calendar was not found.', status: 404 };
}
return { message: 'An unexpected error occurred. Please try again later.', status: 500 };
});