Skip to main content
Glama
environment.js438 B
import { noop } from './utils.js'; export const is_client = typeof window !== 'undefined'; /** @type {() => number} */ export let now = is_client ? () => window.performance.now() : () => Date.now(); export let raf = is_client ? (cb) => requestAnimationFrame(cb) : noop; // used internally for testing /** @returns {void} */ export function set_now(fn) { now = fn; } /** @returns {void} */ export function set_raf(fn) { raf = fn; }

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/MatheusgVentura/Project-One'

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