Skip to main content
Glama

Convex MCP server

Official
by get-convex
useEnabledDebounced.ts474 B
import { useEffect, useState } from "react"; import { useDebounce } from "react-use"; // Hook to set a boolean to false, but only after a debounced delay. export function useEnabledDebounced(enabled: boolean) { const [debounced, setDebounced] = useState(enabled); useEffect(() => { if (!debounced && enabled) { setDebounced(true); } }, [enabled, debounced]); useDebounce(() => !enabled && setDebounced(enabled), 100, [enabled]); return debounced; }

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/get-convex/convex-backend'

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