Skip to main content
Glama
index.js356 B
export const withErrorHandling = (handler) => { return async (params) => { try { return await handler(params); } catch (error) { return { content: [ { type: 'text', text: `Something went wrong. Error: ${error}` }, ], }; } }; };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vadosdavos/yandex-metrika-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server