Skip to main content
Glama
LyuboslavLyubenov

Solodit MCP Server

retry.ts390 B
export async function withRetry<T>( fn: () => Promise<T>, maxRetries = 3, delayMs = 1000 ) { let lastError: unknown; for (let i = 0; i < maxRetries; i++) { try { return await fn(); } catch (error) { lastError = error; if (i < maxRetries - 1) { await new Promise(resolve => setTimeout(resolve, delayMs)); } } } throw lastError; }

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/LyuboslavLyubenov/search-solodit-mcp'

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