We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/swax/OneNoteMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
error.ts•187 B
// Utility function to get error message
export function getErrorMessage(error: unknown): string {
if (error instanceof Error) {
return error.message;
}
return String(error);
}