We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/donyfs/mcp-zephyr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
error-handler.js•257 B
/**
* Utility function to format errors with full response details
*/
export function formatError(error, operation) {
const errorMessage = `Error ${operation}: ${error.message}\nError Detail:\n${JSON.stringify(error, null, 2)}`;
return errorMessage;
}