Skip to main content
Glama

Model Context Protocol Server

by hyen43
abort-signal.js303 B
import {once} from 'node:events'; // Combines `util.aborted()` and `events.addAbortListener()`: promise-based and cleaned up with a stop signal export const onAbortedSignal = async (mainSignal, stopSignal) => { if (!mainSignal.aborted) { await once(mainSignal, 'abort', {signal: stopSignal}); } };

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/hyen43/mcpServer'

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