Skip to main content
Glama

AI Consultant MCP Server

by filipkrayem
RetryConfig.ts614 B
/** * Retry configuration for axios * Provides exponential backoff and retry logic */ import axios from "axios"; import axiosRetry from "axios-retry"; /** * Configure axios with retry logic */ export function configureAxiosRetry(retries: number = 3): void { axiosRetry(axios, { retries, retryDelay: axiosRetry.exponentialDelay, retryCondition: (error) => { // Retry on network errors or 5xx server errors return ( axiosRetry.isNetworkOrIdempotentRequestError(error) || (error.response?.status !== undefined && error.response.status >= 500) ); }, }); }

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/filipkrayem/ai-consultant-mcp'

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