Skip to main content
Glama
MIT License
27,120
19,794
  • Linux
  • Apple
sharedInstance.ts•409 B
import type { PackResult } from '../../../types.js'; import { RateLimiter } from '../../../utils/rateLimit.js'; import { RequestCache } from './cache.js'; // Create shared instances export const cache = new RequestCache<PackResult>(180); // 3 minutes cache export const rateLimiter = new RateLimiter(60_000, process.env.NODE_ENV === 'development' ? 10 : 3); // 10 requests per minute in dev, 3 in production

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/yamadashy/repomix'

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