Skip to main content
Glama
connectionEvents.tsâ€ĸ455 B
const connectionResetHooks = new Set<() => void>(); export function registerConnectionResetHook(hook: () => void) { connectionResetHooks.add(hook); } export function notifyConnectionResetListeners() { for (const hook of connectionResetHooks) { try { hook(); } catch { // Hooks are best-effort only; errors are intentionally swallowed } } } export function clearConnectionResetHooks() { connectionResetHooks.clear(); }

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/fr0ster/mcp-abap-adt'

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