Skip to main content
Glama

Model Context Protocol Server

by hyen43
promise.js580 B
// The return value is a mixin of `subprocess` and `Promise` export const mergePromise = (subprocess, promise) => { for (const [property, descriptor] of descriptors) { const value = descriptor.value.bind(promise); Reflect.defineProperty(subprocess, property, {...descriptor, value}); } }; // eslint-disable-next-line unicorn/prefer-top-level-await const nativePromisePrototype = (async () => {})().constructor.prototype; const descriptors = ['then', 'catch', 'finally'].map(property => [ property, Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property), ]);

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